HSL(267, 90%, 61%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(267,90%,61%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(267, 90%, 61%) | color: hsl(267, 90%, 61%) | |
| HEX | #9342F5 | color: #9342F5 | |
| RGB | rgb(147, 66, 245) | color: rgb(147, 66, 245) | |
| CMYK | cmyk(40%, 73%, 0%, 4%) | — | |
| HSV | hsv(267, 73%, 96%) | — | |
| HWB | hwb(267 26% 4%) | color: hwb(267 26% 4%) | |
| OKLCH | oklch(0.5806 0.2487 298.93) | color: oklch(0.5806 0.2487 298.93) | |
| Lab | lab(47.87 66.86 -76.17) | color: lab(47.87 66.86 -76.17) | |
| LCH | lch(47.87 101.35 311.28) | color: lch(47.87 101.35 311.28) |
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)
#706FCA — rgb(112, 111, 202)
Deuteranopia (Green-blind)
#757BBF — rgb(117, 123, 191)
Tritanopia (Blue-blind)
#8FA7A0 — rgb(143, 167, 160)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(267, 90%, 61%);
text
color: hsl(267, 90%, 61%);
border
border: 2px solid hsl(267, 90%, 61%);
gradient light
background: linear-gradient(to right, hsl(267, 90%, 81%), hsl(267, 90%, 61%));
gradient dark
background: linear-gradient(to right, hsl(267, 90%, 61%), hsl(267, 90%, 41%))
hex
background-color: #9342F5;
tailwind
bg-[hsl(267,90%,61%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(267, 90%, 61%, 0.4);
css variable
--color-primary: hsl(267, 90%, 61%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(267, 90%, 61%)?
HEX: #9342F5 | RGB: rgb(147, 66, 245) | CMYK: 40%, 73%, 0%, 4% | HSV: 267°, 73%, 96%. Copy any format from the conversion table above.
What colors go well with #9342F5?
The complementary color is HSL(87, 90%, 61%). 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, 90%, 61%) in CSS?
As HSL: color: hsl(267, 90%, 61%); — As HEX: color: #9342F5; — As RGB: color: rgb(147, 66, 245); — Tailwind CSS: bg-[hsl(267,90%,61%)] — CSS variable: --color-primary: hsl(267, 90%, 61%);