#5C279F#5C279F
#5C279F is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.8% C 0.180 H 298.2°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).
Color values
| HEX | #5C279F |
|---|---|
| RGB | rgb(92, 39, 159) |
| HSL | hsl(267, 61%, 39%) |
| HSV | hsv(267, 75%, 62%) |
| CMYK | cmyk(42.1%, 75.5%, 0%, 37.6%) |
| CIE-LAB | lab(29.98, 48.34, -55.60) |
| CIE-LCH | lch(29.98, 73.67, 311.01°) |
| OKLab | oklab(41.82% 0.0852 -0.159) |
| OKLCH | oklch(41.82% 0.18 298.2) |
| XYZ | xyz(11.3955, 6.2294, 33.3962) |
| Luminance | 0.0623 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 3.53
Indigo Blue
#3A18B1
ΔE00 6.13
Violet Blue
#510AC9
ΔE00 6.49
Purple (survey)
#7E1E9C
ΔE00 6.61
Purple Blue
#5D21D0
ΔE00 6.69
Indigo
#4B0082
ΔE00 7.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5C279F #6A9F27
analogous
#272E9F #5C279F #98279F
triadic
#5C279F #9F5C27 #279F5C
tetradic
#5C279F #9F272E #6A9F27 #279F98
square
#5C279F #9F272E #6A9F27 #279F98
split-complementary
#5C279F #9F9827 #2E9F27
monochromatic
#230F3D #401B6E #5C279F #7936CE #9967DA
Accessibility & contrast
On white
9.35
#5C279F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.25
#5C279F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5C279F
9.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5C279F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5C279F | 1.00 | 9.35 | 2.25 | 9.35 |
| #FFFFFF | 9.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0047A2
Deuteranopia (green-blind)
#00459D
Tritanopia (blue-blind)
#4B4661
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #5c279f; /* rgb */ color: rgb(92, 39, 159); /* oklch */ color: oklch(41.8% 0.180 298.2);
Tailwind
colors: {
custom: {
50: '#9167bc',
500: '#5c279f',
950: '#000000',
},
}SCSS
$custom: #5c279f; $custom-light: #9167bc; $custom-dark: #000000;
JSON
{
"hex": "#5c279f",
"rgb": {
"r": 92,
"g": 39,
"b": 159
},
"hsl": {
"h": 266.5,
"s": 60.606,
"l": 38.824
},
"oklch": {
"l": 0.41815,
"c": 0.18039,
"h": 298.2
},
"luminance": 0.0623
}Semantic roles & 50–950 ramp
primary
#5C279F
secondary
#96C062
accent
#E4449D
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0D0612
muted
#7E7A81