#5C2AAF#5C2AAF
#5C2AAF is a dark, vivid violet. Relative luminance 0.070; OKLCH L 43.6% C 0.195 H 293.8°. Best body text is #FFFFFF at 8.73:1 contrast (WCAG AA passes).
Color values
| HEX | #5C2AAF |
|---|---|
| RGB | rgb(92, 42, 175) |
| HSL | hsl(263, 61%, 43%) |
| HSV | hsv(263, 76%, 69%) |
| CMYK | cmyk(47.4%, 76%, 0%, 31.4%) |
| CIE-LAB | lab(31.87, 51.15, -62.16) |
| CIE-LCH | lch(31.87, 80.49, 309.45°) |
| OKLab | oklab(43.57% 0.0785 -0.1783) |
| OKLCH | oklch(43.57% 0.195 293.8) |
| XYZ | xyz(12.9773, 7.0260, 41.2215) |
| Luminance | 0.0703 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple Blue
#5D21D0
ΔE00 4.37
Rebeccapurple
#663399
ΔE00 4.73
Violet Blue
#510AC9
ΔE00 4.95
Blurple
#5539CC
ΔE00 5.47
Blue With A Hint Of Purple
#533CC6
ΔE00 5.51
Indigo Blue
#3A18B1
ΔE00 5.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5C2AAF #7DAF2A
analogous
#2A3BAF #5C2AAF #9E2AAF
triadic
#5C2AAF #AF5C2A #2AAF5C
tetradic
#5C2AAF #AF2A3B #7DAF2A #2AAF9E
square
#5C2AAF #AF2A3B #7DAF2A #2AAF9E
split-complementary
#5C2AAF #AF9E2A #3BAF2A
monochromatic
#28124C #421E7E #5C2AAF #7944D2 #9D75DE
Accessibility & contrast
On white
8.73
#5C2AAF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.41
#5C2AAF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5C2AAF
8.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5C2AAF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5C2AAF | 1.00 | 8.73 | 2.41 | 8.73 |
| #FFFFFF | 8.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004CB3
Deuteranopia (green-blind)
#0049AC
Tritanopia (blue-blind)
#434E6B
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #5c2aaf; /* rgb */ color: rgb(92, 42, 175); /* oklch */ color: oklch(43.6% 0.195 293.8);
Tailwind
colors: {
custom: {
50: '#9269c8',
500: '#5c2aaf',
950: '#000000',
},
}SCSS
$custom: #5c2aaf; $custom-light: #9269c8; $custom-dark: #000000;
JSON
{
"hex": "#5c2aaf",
"rgb": {
"r": 92,
"g": 42,
"b": 175
},
"hsl": {
"h": 262.556,
"s": 61.29,
"l": 42.549
},
"oklch": {
"l": 0.43569,
"c": 0.19479,
"h": 293.8
},
"luminance": 0.07026
}Semantic roles & 50–950 ramp
primary
#5C2AAF
secondary
#A5C66F
accent
#E443A8
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0713
muted
#7E7A82