HSL(267, 31%, 33%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(267,31%,33%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(267, 31%, 33%) | color: hsl(267, 31%, 33%) | |
| HEX | #523A6E | color: #523A6E | |
| RGB | rgb(82, 58, 110) | color: rgb(82, 58, 110) | |
| CMYK | cmyk(25%, 47%, 0%, 57%) | — | |
| HSV | hsv(268, 47%, 43%) | — | |
| HWB | hwb(268 23% 57%) | color: hwb(268 23% 57%) | |
| OKLCH | oklch(0.3993 0.0887 303.96) | color: oklch(0.3993 0.0887 303.96) | |
| Lab | lab(29.28 22.19 -26.33) | color: lab(29.28 22.19 -26.33) | |
| LCH | lch(29.28 34.43 310.12) | color: lch(29.28 34.43 310.12) |
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)
#484761 — rgb(72, 71, 97)
Deuteranopia (Green-blind)
#494B5E — rgb(73, 75, 94)
Tritanopia (Blue-blind)
#515755 — rgb(81, 87, 85)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(267, 31%, 33%);
text
color: hsl(267, 31%, 33%);
border
border: 2px solid hsl(267, 31%, 33%);
gradient light
background: linear-gradient(to right, hsl(267, 31%, 53%), hsl(267, 31%, 33%));
gradient dark
background: linear-gradient(to right, hsl(267, 31%, 33%), hsl(267, 31%, 13%))
hex
background-color: #523A6E;
tailwind
bg-[hsl(267,31%,33%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(267, 31%, 33%, 0.4);
css variable
--color-primary: hsl(267, 31%, 33%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(267, 31%, 33%)?
HEX: #523A6E | RGB: rgb(82, 58, 110) | CMYK: 25%, 47%, 0%, 57% | HSV: 268°, 47%, 43%. Copy any format from the conversion table above.
What colors go well with #523A6E?
The complementary color is HSL(87, 31%, 33%). 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, 31%, 33%) in CSS?
As HSL: color: hsl(267, 31%, 33%); — As HEX: color: #523A6E; — As RGB: color: rgb(82, 58, 110); — Tailwind CSS: bg-[hsl(267,31%,33%)] — CSS variable: --color-primary: hsl(267, 31%, 33%);