#5C269F#5C269F
#5C269F is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.7% C 0.181 H 298.3°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).
Color values
| HEX | #5C269F |
|---|---|
| RGB | rgb(92, 38, 159) |
| HSL | hsl(267, 61%, 39%) |
| HSV | hsv(267, 76%, 62%) |
| CMYK | cmyk(42.1%, 76.1%, 0%, 37.6%) |
| CIE-LAB | lab(29.82, 48.80, -55.86) |
| CIE-LCH | lch(29.82, 74.17, 311.14°) |
| OKLab | oklab(41.7% 0.0861 -0.1597) |
| OKLCH | oklch(41.7% 0.181 298.3) |
| XYZ | xyz(11.3631, 6.1646, 33.3854) |
| Luminance | 0.0617 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 3.66
Indigo Blue
#3A18B1
ΔE00 6.05
Violet Blue
#510AC9
ΔE00 6.41
Purple (survey)
#7E1E9C
ΔE00 6.59
Purple Blue
#5D21D0
ΔE00 6.69
Indigo
#4B0082
ΔE00 7.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5C269F #699F26
analogous
#262C9F #5C269F #98269F
triadic
#5C269F #9F5C26 #269F5C
tetradic
#5C269F #9F262C #699F26 #269F98
square
#5C269F #9F262C #699F26 #269F98
split-complementary
#5C269F #9F9826 #2C9F26
monochromatic
#230E3C #3F1A6E #5C269F #7934CE #9965DA
Accessibility & contrast
On white
9.40
#5C269F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.23
#5C269F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5C269F
9.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5C269F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5C269F | 1.00 | 9.40 | 2.23 | 9.40 |
| #FFFFFF | 9.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0046A2
Deuteranopia (green-blind)
#00459D
Tritanopia (blue-blind)
#4B4661
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #5c269f; /* rgb */ color: rgb(92, 38, 159); /* oklch */ color: oklch(41.7% 0.181 298.3);
Tailwind
colors: {
custom: {
50: '#9166bc',
500: '#5c269f',
950: '#000000',
},
}SCSS
$custom: #5c269f; $custom-light: #9166bc; $custom-dark: #000000;
JSON
{
"hex": "#5c269f",
"rgb": {
"r": 92,
"g": 38,
"b": 159
},
"hsl": {
"h": 266.777,
"s": 61.421,
"l": 38.627
},
"oklch": {
"l": 0.41703,
"c": 0.18148,
"h": 298.3
},
"luminance": 0.06165
}Semantic roles & 50–950 ramp
primary
#5C269F
secondary
#96C061
accent
#E5439D
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0D0612
muted
#7E7A81