HSL(257, 79%, 55%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(257,79%,55%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(257, 79%, 55%) | color: hsl(257, 79%, 55%) | |
| HEX | #6532E7 | color: #6532E7 | |
| RGB | rgb(101, 50, 231) | color: rgb(101, 50, 231) | |
| CMYK | cmyk(56%, 78%, 0%, 9%) | — | |
| HSV | hsv(257, 78%, 91%) | — | |
| HWB | hwb(257 20% 9%) | color: hwb(257 20% 9%) | |
| OKLCH | oklch(0.5054 0.2479 286.43) | color: oklch(0.5054 0.2479 286.43) | |
| Lab | lab(39.27 63.69 -82.56) | color: lab(39.27 63.69 -82.56) | |
| LCH | lch(39.27 104.27 307.65) | color: lch(39.27 104.27 307.65) |
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)
#4F4EBB — rgb(79, 78, 187)
Deuteranopia (Green-blind)
#5256B1 — rgb(82, 86, 177)
Tritanopia (Blue-blind)
#629991 — rgb(98, 153, 145)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(257, 79%, 55%);
text
color: hsl(257, 79%, 55%);
border
border: 2px solid hsl(257, 79%, 55%);
gradient light
background: linear-gradient(to right, hsl(257, 79%, 75%), hsl(257, 79%, 55%));
gradient dark
background: linear-gradient(to right, hsl(257, 79%, 55%), hsl(257, 79%, 35%))
hex
background-color: #6532E7;
tailwind
bg-[hsl(257,79%,55%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(257, 79%, 55%, 0.4);
css variable
--color-primary: hsl(257, 79%, 55%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(257, 79%, 55%)?
HEX: #6532E7 | RGB: rgb(101, 50, 231) | CMYK: 56%, 78%, 0%, 9% | HSV: 257°, 78%, 91%. Copy any format from the conversion table above.
What colors go well with #6532E7?
The complementary color is HSL(77, 79%, 55%). 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, 79%, 55%) in CSS?
As HSL: color: hsl(257, 79%, 55%); — As HEX: color: #6532E7; — As RGB: color: rgb(101, 50, 231); — Tailwind CSS: bg-[hsl(257,79%,55%)] — CSS variable: --color-primary: hsl(257, 79%, 55%);