#5F2CAD#5F2CAD
#5F2CAD is a dark, vivid violet. Relative luminance 0.073; OKLCH L 44.0% C 0.191 H 295.4°. Best body text is #FFFFFF at 8.57:1 contrast (WCAG AA passes).
Color values
| HEX | #5F2CAD |
|---|---|
| RGB | rgb(95, 44, 173) |
| HSL | hsl(264, 59%, 43%) |
| HSV | hsv(264, 75%, 68%) |
| CMYK | cmyk(45.1%, 74.6%, 0%, 32.2%) |
| CIE-LAB | lab(32.37, 50.17, -60.12) |
| CIE-LCH | lch(32.37, 78.30, 309.85°) |
| OKLab | oklab(43.95% 0.0818 -0.1722) |
| OKLCH | oklch(43.95% 0.191 295.4) |
| XYZ | xyz(13.1608, 7.2511, 40.2332) |
| Luminance | 0.0725 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 4.08
Purple Blue
#5D21D0
ΔE00 4.77
Violet Blue
#510AC9
ΔE00 5.58
Blue With A Hint Of Purple
#533CC6
ΔE00 5.62
Blurple
#5539CC
ΔE00 5.62
Bluey Purple
#6241C7
ΔE00 6.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F2CAD #7AAD2C
analogous
#2C39AD #5F2CAD #A02CAD
triadic
#5F2CAD #AD5F2C #2CAD5F
tetradic
#5F2CAD #AD2C39 #7AAD2C #2CADA0
square
#5F2CAD #AD2C39 #7AAD2C #2CADA0
split-complementary
#5F2CAD #ADA02C #39AD2C
monochromatic
#29134B #44207C #5F2CAD #7D46D0 #9F77DC
Accessibility & contrast
On white
8.57
#5F2CAD on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.45
#5F2CAD on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5F2CAD
8.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F2CAD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F2CAD | 1.00 | 8.57 | 2.45 | 8.57 |
| #FFFFFF | 8.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004DB1
Deuteranopia (green-blind)
#004AAB
Tritanopia (blue-blind)
#494E6A
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #5f2cad; /* rgb */ color: rgb(95, 44, 173); /* oklch */ color: oklch(44.0% 0.191 295.4);
Tailwind
colors: {
custom: {
50: '#946ac6',
500: '#5f2cad',
950: '#000000',
},
}SCSS
$custom: #5f2cad; $custom-light: #946ac6; $custom-dark: #000000;
JSON
{
"hex": "#5f2cad",
"rgb": {
"r": 95,
"g": 44,
"b": 173
},
"hsl": {
"h": 263.721,
"s": 59.447,
"l": 42.549
},
"oklch": {
"l": 0.43951,
"c": 0.19063,
"h": 295.4
},
"luminance": 0.07251
}Semantic roles & 50–950 ramp
primary
#5F2CAD
secondary
#A3C471
accent
#E345A4
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0713
muted
#7E7A82