HSL(257, 61%, 43%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(257,61%,43%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(257, 61%, 43%) | color: hsl(257, 61%, 43%) | |
| HEX | #512BB1 | color: #512BB1 | |
| RGB | rgb(81, 43, 177) | color: rgb(81, 43, 177) | |
| CMYK | cmyk(54%, 76%, 0%, 31%) | — | |
| HSV | hsv(257, 76%, 69%) | — | |
| HWB | hwb(257 17% 31%) | color: hwb(257 17% 31%) | |
| OKLCH | oklch(0.4273 0.196 288.01) | color: oklch(0.4273 0.196 288.01) | |
| Lab | lab(31 49.58 -64.82) | color: lab(31 49.58 -64.82) | |
| LCH | lch(31 81.61 307.41) | color: lch(31 81.61 307.41) |
Color Theory
Accessibility (WCAG)
White text on color
Black text on color
Colored text
Contrast Ratios
AA Normal (4.5:1)
AA Large (3:1)
AAA Normal (7:1)
Best text on this color: white
Color Blindness Simulation
Protanopia (Red-blind)
#414091 — rgb(65, 64, 145)
Deuteranopia (Green-blind)
#434689 — rgb(67, 70, 137)
Tritanopia (Blue-blind)
#4F7771 — rgb(79, 119, 113)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(257, 61%, 43%);
text
color: hsl(257, 61%, 43%);
border
border: 2px solid hsl(257, 61%, 43%);
gradient light
background: linear-gradient(to right, hsl(257, 61%, 63%), hsl(257, 61%, 43%));
gradient dark
background: linear-gradient(to right, hsl(257, 61%, 43%), hsl(257, 61%, 23%))
hex
background-color: #512BB1;
tailwind
bg-[hsl(257,61%,43%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(257, 61%, 43%, 0.4);
css variable
--color-primary: hsl(257, 61%, 43%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(257, 61%, 43%)?
HEX: #512BB1 | RGB: rgb(81, 43, 177) | CMYK: 54%, 76%, 0%, 31% | HSV: 257°, 76%, 69%. Copy any format from the conversion table above.
What colors go well with #512BB1?
The complementary color is HSL(77, 61%, 43%). For a triadic harmony, use hues 257°, 17°, and 137°. For analogous combinations, try hues 227° and 287°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(257, 61%, 43%) in CSS?
As HSL: color: hsl(257, 61%, 43%); — As HEX: color: #512BB1; — As RGB: color: rgb(81, 43, 177); — Tailwind CSS: bg-[hsl(257,61%,43%)] — CSS variable: --color-primary: hsl(257, 61%, 43%);