#5C259B#5C259B
#5C259B is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.2% C 0.178 H 299.6°. Best body text is #FFFFFF at 9.58:1 contrast (WCAG AA passes).
Color values
| HEX | #5C259B |
|---|---|
| RGB | rgb(92, 37, 155) |
| HSL | hsl(268, 61%, 38%) |
| HSV | hsv(268, 76%, 61%) |
| CMYK | cmyk(40.6%, 76.1%, 0%, 39.2%) |
| CIE-LAB | lab(29.32, 48.23, -54.24) |
| CIE-LCH | lch(29.32, 72.58, 311.64°) |
| OKLab | oklab(41.25% 0.088 -0.155) |
| OKLCH | oklch(41.25% 0.178 299.6) |
| XYZ | xyz(10.9901, 5.9649, 31.5763) |
| Luminance | 0.0597 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 3.61
Indigo Blue
#3A18B1
ΔE00 6.36
Purple (survey)
#7E1E9C
ΔE00 6.43
Indigo
#4B0082
ΔE00 6.68
Violet Blue
#510AC9
ΔE00 6.91
Purple Blue
#5D21D0
ΔE00 7.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5C259B #649B25
analogous
#25299B #5C259B #97259B
triadic
#5C259B #9B5C25 #259B5C
tetradic
#5C259B #9B2529 #649B25 #259B97
square
#5C259B #9B2529 #649B25 #259B97
split-complementary
#5C259B #9B9725 #299B25
monochromatic
#210D38 #3F196A #5C259B #7931CC #9961D9
Accessibility & contrast
On white
9.58
#5C259B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.19
#5C259B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5C259B
9.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5C259B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5C259B | 1.00 | 9.58 | 2.19 | 9.58 |
| #FFFFFF | 9.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00459E
Deuteranopia (green-blind)
#004499
Tritanopia (blue-blind)
#4D445E
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #5c259b; /* rgb */ color: rgb(92, 37, 155); /* oklch */ color: oklch(41.2% 0.178 299.6);
Tailwind
colors: {
custom: {
50: '#9065b9',
500: '#5c259b',
950: '#000000',
},
}SCSS
$custom: #5c259b; $custom-light: #9065b9; $custom-dark: #000000;
JSON
{
"hex": "#5c259b",
"rgb": {
"r": 92,
"g": 37,
"b": 155
},
"hsl": {
"h": 267.966,
"s": 61.458,
"l": 37.647
},
"oklch": {
"l": 0.41245,
"c": 0.17823,
"h": 299.6
},
"luminance": 0.05965
}Semantic roles & 50–950 ramp
primary
#5C259B
secondary
#91BF5D
accent
#E54399
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0D0612
muted
#7E7A81