#5C259E#5C259E
#5C259E is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.5% C 0.181 H 298.7°. Best body text is #FFFFFF at 9.49:1 contrast (WCAG AA passes).
Color values
| HEX | #5C259E |
|---|---|
| RGB | rgb(92, 37, 158) |
| HSL | hsl(267, 62%, 38%) |
| HSV | hsv(267, 77%, 62%) |
| CMYK | cmyk(41.8%, 76.6%, 0%, 38%) |
| CIE-LAB | lab(29.58, 48.99, -55.65) |
| CIE-LCH | lch(29.58, 74.14, 311.36°) |
| OKLab | oklab(41.51% 0.0873 -0.1591) |
| OKLCH | oklch(41.51% 0.181 298.7) |
| XYZ | xyz(11.2452, 6.0669, 32.9197) |
| Luminance | 0.0607 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 3.74
Indigo Blue
#3A18B1
ΔE00 6.07
Violet Blue
#510AC9
ΔE00 6.48
Purple (survey)
#7E1E9C
ΔE00 6.54
Purple Blue
#5D21D0
ΔE00 6.84
Indigo
#4B0082
ΔE00 6.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5C259E #679E25
analogous
#252A9E #5C259E #98259E
triadic
#5C259E #9E5C25 #259E5C
tetradic
#5C259E #9E252A #679E25 #259E98
square
#5C259E #9E252A #679E25 #259E98
split-complementary
#5C259E #9E9825 #2A9E25
monochromatic
#220E3B #3F196C #5C259E #7931CF #9963DA
Accessibility & contrast
On white
9.49
#5C259E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.21
#5C259E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5C259E
9.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5C259E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5C259E | 1.00 | 9.49 | 2.21 | 9.49 |
| #FFFFFF | 9.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0046A1
Deuteranopia (green-blind)
#00449C
Tritanopia (blue-blind)
#4C4560
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #5c259e; /* rgb */ color: rgb(92, 37, 158); /* oklch */ color: oklch(41.5% 0.181 298.7);
Tailwind
colors: {
custom: {
50: '#9166bc',
500: '#5c259e',
950: '#000000',
},
}SCSS
$custom: #5c259e; $custom-light: #9166bc; $custom-dark: #000000;
JSON
{
"hex": "#5c259e",
"rgb": {
"r": 92,
"g": 37,
"b": 158
},
"hsl": {
"h": 267.273,
"s": 62.051,
"l": 38.235
},
"oklch": {
"l": 0.41505,
"c": 0.18148,
"h": 298.7
},
"luminance": 0.06067
}Semantic roles & 50–950 ramp
primary
#5C259E
secondary
#94C05F
accent
#E5439B
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0D0612
muted
#7E7A81