HSL(267, 22%, 60%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(267,22%,60%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(267, 22%, 60%) | color: hsl(267, 22%, 60%) | |
| HEX | #9783AF | color: #9783AF | |
| RGB | rgb(151, 131, 175) | color: rgb(151, 131, 175) | |
| CMYK | cmyk(14%, 25%, 0%, 31%) | — | |
| HSV | hsv(267, 25%, 69%) | — | |
| HWB | hwb(267 52% 31%) | color: hwb(267 52% 31%) | |
| OKLCH | oklch(0.6438 0.0682 305.27) | color: oklch(0.6438 0.0682 305.27) | |
| Lab | lab(57.95 16.37 -20.41) | color: lab(57.95 16.37 -20.41) | |
| LCH | lch(57.95 26.16 308.73) | color: lch(57.95 26.16 308.73) |
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: black
Color Blindness Simulation
Protanopia (Red-blind)
#8E8EA4 — rgb(142, 142, 164)
Deuteranopia (Green-blind)
#9091A2 — rgb(144, 145, 162)
Tritanopia (Blue-blind)
#969C9A — rgb(150, 156, 154)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(267, 22%, 60%);
text
color: hsl(267, 22%, 60%);
border
border: 2px solid hsl(267, 22%, 60%);
gradient light
background: linear-gradient(to right, hsl(267, 22%, 80%), hsl(267, 22%, 60%));
gradient dark
background: linear-gradient(to right, hsl(267, 22%, 60%), hsl(267, 22%, 40%))
hex
background-color: #9783AF;
tailwind
bg-[hsl(267,22%,60%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(267, 22%, 60%, 0.4);
css variable
--color-primary: hsl(267, 22%, 60%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(267, 22%, 60%)?
HEX: #9783AF | RGB: rgb(151, 131, 175) | CMYK: 14%, 25%, 0%, 31% | HSV: 267°, 25%, 69%. Copy any format from the conversion table above.
What colors go well with #9783AF?
The complementary color is HSL(87, 22%, 60%). For a triadic harmony, use hues 267°, 27°, and 147°. For analogous combinations, try hues 237° and 297°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(267, 22%, 60%) in CSS?
As HSL: color: hsl(267, 22%, 60%); — As HEX: color: #9783AF; — As RGB: color: rgb(151, 131, 175); — Tailwind CSS: bg-[hsl(267,22%,60%)] — CSS variable: --color-primary: hsl(267, 22%, 60%);