HSL(290, 70%, 23%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(290,70%,23%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(290, 70%, 23%) | color: hsl(290, 70%, 23%) | |
| HEX | #561264 | color: #561264 | |
| RGB | rgb(86, 18, 100) | color: rgb(86, 18, 100) | |
| CMYK | cmyk(14%, 82%, 0%, 61%) | — | |
| HSV | hsv(290, 82%, 39%) | — | |
| HWB | hwb(290 7% 61%) | color: hwb(290 7% 61%) | |
| OKLCH | oklch(0.3404 0.1419 320) | color: oklch(0.3404 0.1419 320) | |
| Lab | lab(21.33 42.04 -32.49) | color: lab(21.33 42.04 -32.49) | |
| LCH | lch(21.33 53.13 322.3) | color: lch(21.33 53.13 322.3) |
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)
#393850 — rgb(57, 56, 80)
Deuteranopia (Green-blind)
#3D424B — rgb(61, 66, 75)
Tritanopia (Blue-blind)
#53403D — rgb(83, 64, 61)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(290, 70%, 23%);
text
color: hsl(290, 70%, 23%);
border
border: 2px solid hsl(290, 70%, 23%);
gradient light
background: linear-gradient(to right, hsl(290, 70%, 43%), hsl(290, 70%, 23%));
gradient dark
background: linear-gradient(to right, hsl(290, 70%, 23%), hsl(290, 70%, 3%))
hex
background-color: #561264;
tailwind
bg-[hsl(290,70%,23%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(290, 70%, 23%, 0.4);
css variable
--color-primary: hsl(290, 70%, 23%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(290, 70%, 23%)?
HEX: #561264 | RGB: rgb(86, 18, 100) | CMYK: 14%, 82%, 0%, 61% | HSV: 290°, 82%, 39%. Copy any format from the conversion table above.
What colors go well with #561264?
The complementary color is HSL(110, 70%, 23%). For a triadic harmony, use hues 290°, 50°, and 170°. For analogous combinations, try hues 260° and 320°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(290, 70%, 23%) in CSS?
As HSL: color: hsl(290, 70%, 23%); — As HEX: color: #561264; — As RGB: color: rgb(86, 18, 100); — Tailwind CSS: bg-[hsl(290,70%,23%)] — CSS variable: --color-primary: hsl(290, 70%, 23%);