#5C259C#5C259C
#5C259C is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.3% C 0.179 H 299.3°. Best body text is #FFFFFF at 9.55:1 contrast (WCAG AA passes).
Color values
| HEX | #5C259C |
|---|---|
| RGB | rgb(92, 37, 156) |
| HSL | hsl(268, 62%, 38%) |
| HSV | hsv(268, 76%, 61%) |
| CMYK | cmyk(41%, 76.3%, 0%, 38.8%) |
| CIE-LAB | lab(29.41, 48.48, -54.71) |
| CIE-LCH | lch(29.41, 73.10, 311.55°) |
| OKLab | oklab(41.33% 0.0878 -0.1564) |
| OKLCH | oklch(41.33% 0.179 299.3) |
| XYZ | xyz(11.0744, 5.9986, 32.0204) |
| Luminance | 0.0600 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 3.65
Indigo Blue
#3A18B1
ΔE00 6.26
Purple (survey)
#7E1E9C
ΔE00 6.46
Indigo
#4B0082
ΔE00 6.76
Violet Blue
#510AC9
ΔE00 6.76
Purple Blue
#5D21D0
ΔE00 7.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5C259C #659C25
analogous
#252A9C #5C259C #97259C
triadic
#5C259C #9C5C25 #259C5C
tetradic
#5C259C #9C252A #659C25 #259C97
square
#5C259C #9C252A #659C25 #259C97
split-complementary
#5C259C #9C9725 #2A9C25
monochromatic
#220E39 #3F196B #5C259C #7931CD #9962DA
Accessibility & contrast
On white
9.55
#5C259C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.20
#5C259C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5C259C
9.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5C259C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5C259C | 1.00 | 9.55 | 2.20 | 9.55 |
| #FFFFFF | 9.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00459F
Deuteranopia (green-blind)
#00449A
Tritanopia (blue-blind)
#4D445F
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #5c259c; /* rgb */ color: rgb(92, 37, 156); /* oklch */ color: oklch(41.3% 0.179 299.3);
Tailwind
colors: {
custom: {
50: '#9065ba',
500: '#5c259c',
950: '#000000',
},
}SCSS
$custom: #5c259c; $custom-light: #9065ba; $custom-dark: #000000;
JSON
{
"hex": "#5c259c",
"rgb": {
"r": 92,
"g": 37,
"b": 156
},
"hsl": {
"h": 267.731,
"s": 61.658,
"l": 37.843
},
"oklch": {
"l": 0.41332,
"c": 0.17932,
"h": 299.3
},
"luminance": 0.05999
}Semantic roles & 50–950 ramp
primary
#5C259C
secondary
#92BF5E
accent
#E5439A
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0D0612
muted
#7E7A81