HSL(265, 65%, 37%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(265,65%,37%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(265, 65%, 37%) | color: hsl(265, 65%, 37%) | |
| HEX | #54219C | color: #54219C | |
| RGB | rgb(84, 33, 156) | color: rgb(84, 33, 156) | |
| CMYK | cmyk(46%, 79%, 0%, 39%) | — | |
| HSV | hsv(265, 79%, 61%) | — | |
| HWB | hwb(265 13% 39%) | color: hwb(265 13% 39%) | |
| OKLCH | oklch(0.3996 0.1826 295.64) | color: oklch(0.3996 0.1826 295.64) | |
| Lab | lab(27.77 48.93 -57.43) | color: lab(27.77 48.93 -57.43) | |
| LCH | lch(27.77 75.45 310.43) | color: lch(27.77 75.45 310.43) |
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)
#3E3D7E — rgb(62, 61, 126)
Deuteranopia (Green-blind)
#414577 — rgb(65, 69, 119)
Tritanopia (Blue-blind)
#516762 — rgb(81, 103, 98)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(265, 65%, 37%);
text
color: hsl(265, 65%, 37%);
border
border: 2px solid hsl(265, 65%, 37%);
gradient light
background: linear-gradient(to right, hsl(265, 65%, 57%), hsl(265, 65%, 37%));
gradient dark
background: linear-gradient(to right, hsl(265, 65%, 37%), hsl(265, 65%, 17%))
hex
background-color: #54219C;
tailwind
bg-[hsl(265,65%,37%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(265, 65%, 37%, 0.4);
css variable
--color-primary: hsl(265, 65%, 37%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(265, 65%, 37%)?
HEX: #54219C | RGB: rgb(84, 33, 156) | CMYK: 46%, 79%, 0%, 39% | HSV: 265°, 79%, 61%. Copy any format from the conversion table above.
What colors go well with #54219C?
The complementary color is HSL(85, 65%, 37%). For a triadic harmony, use hues 265°, 25°, and 145°. For analogous combinations, try hues 235° and 295°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(265, 65%, 37%) in CSS?
As HSL: color: hsl(265, 65%, 37%); — As HEX: color: #54219C; — As RGB: color: rgb(84, 33, 156); — Tailwind CSS: bg-[hsl(265,65%,37%)] — CSS variable: --color-primary: hsl(265, 65%, 37%);