#5C26A2#5C26A2
#5C26A2 is a dark, vivid violet. Relative luminance 0.063; OKLCH L 42.0% C 0.185 H 297.5°. Best body text is #FFFFFF at 9.32:1 contrast (WCAG AA passes).
Color values
| HEX | #5C26A2 |
|---|---|
| RGB | rgb(92, 38, 162) |
| HSL | hsl(266, 62%, 39%) |
| HSV | hsv(266, 77%, 64%) |
| CMYK | cmyk(43.2%, 76.5%, 0%, 36.5%) |
| CIE-LAB | lab(30.08, 49.57, -57.25) |
| CIE-LCH | lch(30.08, 75.73, 310.88°) |
| OKLab | oklab(41.97% 0.0854 -0.1638) |
| OKLCH | oklch(41.97% 0.185 297.5) |
| XYZ | xyz(11.6266, 6.2700, 34.7731) |
| Luminance | 0.0627 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 3.86
Indigo Blue
#3A18B1
ΔE00 5.81
Violet Blue
#510AC9
ΔE00 6.01
Purple Blue
#5D21D0
ΔE00 6.23
Purple (survey)
#7E1E9C
ΔE00 6.73
Indigo
#4B0082
ΔE00 7.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5C26A2 #6CA226
analogous
#262EA2 #5C26A2 #9A26A2
triadic
#5C26A2 #A25C26 #26A25C
tetradic
#5C26A2 #A2262E #6CA226 #26A29A
square
#5C26A2 #A2262E #6CA226 #26A29A
split-complementary
#5C26A2 #A29A26 #2EA226
monochromatic
#240F3F #401A70 #5C26A2 #7935D0 #9A67DB
Accessibility & contrast
On white
9.32
#5C26A2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.25
#5C26A2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5C26A2
9.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5C26A2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5C26A2 | 1.00 | 9.32 | 2.25 | 9.32 |
| #FFFFFF | 9.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0047A5
Deuteranopia (green-blind)
#0045A0
Tritanopia (blue-blind)
#4A4763
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #5c26a2; /* rgb */ color: rgb(92, 38, 162); /* oklch */ color: oklch(42.0% 0.185 297.5);
Tailwind
colors: {
custom: {
50: '#9166bf',
500: '#5c26a2',
950: '#000000',
},
}SCSS
$custom: #5c26a2; $custom-light: #9166bf; $custom-dark: #000000;
JSON
{
"hex": "#5c26a2",
"rgb": {
"r": 92,
"g": 38,
"b": 162
},
"hsl": {
"h": 266.129,
"s": 62,
"l": 39.216
},
"oklch": {
"l": 0.41965,
"c": 0.18474,
"h": 297.5
},
"luminance": 0.0627
}Semantic roles & 50–950 ramp
primary
#5C26A2
secondary
#98C163
accent
#E5439E
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0D0612
muted
#7E7A81