HSL(286, 65%, 25%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(286,65%,25%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(286, 65%, 25%) | color: hsl(286, 65%, 25%) | |
| HEX | #561669 | color: #561669 | |
| RGB | rgb(86, 22, 105) | color: rgb(86, 22, 105) | |
| CMYK | cmyk(18%, 79%, 0%, 59%) | — | |
| HSV | hsv(286, 79%, 41%) | — | |
| HWB | hwb(286 9% 59%) | color: hwb(286 9% 59%) | |
| OKLCH | oklch(0.3478 0.1421 317.13) | color: oklch(0.3478 0.1421 317.13) | |
| Lab | lab(22.2 41.6 -34.35) | color: lab(22.2 41.6 -34.35) | |
| LCH | lch(22.2 53.95 320.45) | color: lch(22.2 53.95 320.45) |
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)
#3A3A55 — rgb(58, 58, 85)
Deuteranopia (Green-blind)
#3E4350 — rgb(62, 67, 80)
Tritanopia (Blue-blind)
#534542 — rgb(83, 69, 66)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(286, 65%, 25%);
text
color: hsl(286, 65%, 25%);
border
border: 2px solid hsl(286, 65%, 25%);
gradient light
background: linear-gradient(to right, hsl(286, 65%, 45%), hsl(286, 65%, 25%));
gradient dark
background: linear-gradient(to right, hsl(286, 65%, 25%), hsl(286, 65%, 5%))
hex
background-color: #561669;
tailwind
bg-[hsl(286,65%,25%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(286, 65%, 25%, 0.4);
css variable
--color-primary: hsl(286, 65%, 25%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(286, 65%, 25%)?
HEX: #561669 | RGB: rgb(86, 22, 105) | CMYK: 18%, 79%, 0%, 59% | HSV: 286°, 79%, 41%. Copy any format from the conversion table above.
What colors go well with #561669?
The complementary color is HSL(106, 65%, 25%). For a triadic harmony, use hues 286°, 46°, and 166°. For analogous combinations, try hues 256° and 316°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(286, 65%, 25%) in CSS?
As HSL: color: hsl(286, 65%, 25%); — As HEX: color: #561669; — As RGB: color: rgb(86, 22, 105); — Tailwind CSS: bg-[hsl(286,65%,25%)] — CSS variable: --color-primary: hsl(286, 65%, 25%);