HSL(262, 30%, 43%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(262,30%,43%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(262, 30%, 43%) | color: hsl(262, 30%, 43%) | |
| HEX | #654D8F | color: #654D8F | |
| RGB | rgb(101, 77, 143) | color: rgb(101, 77, 143) | |
| CMYK | cmyk(29%, 46%, 0%, 44%) | — | |
| HSV | hsv(262, 46%, 56%) | — | |
| HWB | hwb(262 30% 44%) | color: hwb(262 30% 44%) | |
| OKLCH | oklch(0.4752 0.1059 299.11) | color: oklch(0.4752 0.1059 299.11) | |
| Lab | lab(37.95 24.94 -33.01) | color: lab(37.95 24.94 -33.01) | |
| LCH | lch(37.95 41.37 307.07) | color: lch(37.95 41.37 307.07) |
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)
#5B5A7F — rgb(91, 90, 127)
Deuteranopia (Green-blind)
#5C5E7B — rgb(92, 94, 123)
Tritanopia (Blue-blind)
#647270 — rgb(100, 114, 112)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(262, 30%, 43%);
text
color: hsl(262, 30%, 43%);
border
border: 2px solid hsl(262, 30%, 43%);
gradient light
background: linear-gradient(to right, hsl(262, 30%, 63%), hsl(262, 30%, 43%));
gradient dark
background: linear-gradient(to right, hsl(262, 30%, 43%), hsl(262, 30%, 23%))
hex
background-color: #654D8F;
tailwind
bg-[hsl(262,30%,43%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(262, 30%, 43%, 0.4);
css variable
--color-primary: hsl(262, 30%, 43%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(262, 30%, 43%)?
HEX: #654D8F | RGB: rgb(101, 77, 143) | CMYK: 29%, 46%, 0%, 44% | HSV: 262°, 46%, 56%. Copy any format from the conversion table above.
What colors go well with #654D8F?
The complementary color is HSL(82, 30%, 43%). For a triadic harmony, use hues 262°, 22°, and 142°. For analogous combinations, try hues 232° and 292°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(262, 30%, 43%) in CSS?
As HSL: color: hsl(262, 30%, 43%); — As HEX: color: #654D8F; — As RGB: color: rgb(101, 77, 143); — Tailwind CSS: bg-[hsl(262,30%,43%)] — CSS variable: --color-primary: hsl(262, 30%, 43%);