#5C26A5#5C26A5
#5C26A5 is a dark, vivid violet. Relative luminance 0.064; OKLCH L 42.2% C 0.188 H 296.7°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).
Color values
| HEX | #5C26A5 |
|---|---|
| RGB | rgb(92, 38, 165) |
| HSL | hsl(266, 63%, 40%) |
| HSV | hsv(266, 77%, 65%) |
| CMYK | cmyk(44.2%, 77%, 0%, 35.3%) |
| CIE-LAB | lab(30.35, 50.34, -58.64) |
| CIE-LCH | lch(30.35, 77.28, 310.65°) |
| OKLab | oklab(42.23% 0.0846 -0.1679) |
| OKLCH | oklch(42.23% 0.188 296.7) |
| XYZ | xyz(11.8965, 6.3779, 36.1943) |
| Luminance | 0.0638 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 4.10
Indigo Blue
#3A18B1
ΔE00 5.60
Violet Blue
#510AC9
ΔE00 5.62
Purple Blue
#5D21D0
ΔE00 5.78
Purple (survey)
#7E1E9C
ΔE00 6.89
Blue With A Hint Of Purple
#533CC6
ΔE00 7.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5C26A5 #6FA526
analogous
#262FA5 #5C26A5 #9C26A5
triadic
#5C26A5 #A55C26 #26A55C
tetradic
#5C26A5 #A5262F #6FA526 #26A59C
square
#5C26A5 #A5262F #6FA526 #26A59C
split-complementary
#5C26A5 #A59C26 #2FA526
monochromatic
#250F42 #401B73 #5C26A5 #7937D1 #9A69DC
Accessibility & contrast
On white
9.23
#5C26A5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.28
#5C26A5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5C26A5
9.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5C26A5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5C26A5 | 1.00 | 9.23 | 2.28 | 9.23 |
| #FFFFFF | 9.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0048A9
Deuteranopia (green-blind)
#0046A3
Tritanopia (blue-blind)
#484864
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #5c26a5; /* rgb */ color: rgb(92, 38, 165); /* oklch */ color: oklch(42.2% 0.188 296.7);
Tailwind
colors: {
custom: {
50: '#9166c1',
500: '#5c26a5',
950: '#000000',
},
}SCSS
$custom: #5c26a5; $custom-light: #9166c1; $custom-dark: #000000;
JSON
{
"hex": "#5c26a5",
"rgb": {
"r": 92,
"g": 38,
"b": 165
},
"hsl": {
"h": 265.512,
"s": 62.562,
"l": 39.804
},
"oklch": {
"l": 0.42231,
"c": 0.188,
"h": 296.7
},
"luminance": 0.06378
}Semantic roles & 50–950 ramp
primary
#5C26A5
secondary
#9AC364
accent
#E642A0
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0612
muted
#7E7A81