#5F269F#5F269F
#5F269F is a dark, vivid violet. Relative luminance 0.063; OKLCH L 42.1% C 0.182 H 299.9°. Best body text is #FFFFFF at 9.27:1 contrast (WCAG AA passes).
Color values
| HEX | #5F269F |
|---|---|
| RGB | rgb(95, 38, 159) |
| HSL | hsl(268, 61%, 39%) |
| HSV | hsv(268, 76%, 62%) |
| CMYK | cmyk(40.3%, 76.1%, 0%, 37.6%) |
| CIE-LAB | lab(30.21, 49.32, -55.21) |
| CIE-LCH | lch(30.21, 74.03, 311.77°) |
| OKLab | oklab(42.06% 0.0906 -0.1577) |
| OKLCH | oklch(42.06% 0.182 299.9) |
| XYZ | xyz(11.6689, 6.3222, 33.3997) |
| Luminance | 0.0632 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 3.34
Purple (survey)
#7E1E9C
ΔE00 6.06
Indigo Blue
#3A18B1
ΔE00 6.51
Violet Blue
#510AC9
ΔE00 6.62
Purple Blue
#5D21D0
ΔE00 6.76
Indigo
#4B0082
ΔE00 7.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F269F #669F26
analogous
#262A9F #5F269F #9B269F
triadic
#5F269F #9F5F26 #269F5F
tetradic
#5F269F #9F262A #669F26 #269F9B
square
#5F269F #9F262A #669F26 #269F9B
split-complementary
#5F269F #9F9B26 #2A9F26
monochromatic
#240E3C #411A6E #5F269F #7D34CE #9C65DA
Accessibility & contrast
On white
9.27
#5F269F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.26
#5F269F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5F269F
9.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F269F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F269F | 1.00 | 9.27 | 2.26 | 9.27 |
| #FFFFFF | 9.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0047A2
Deuteranopia (green-blind)
#00469D
Tritanopia (blue-blind)
#504561
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #5f269f; /* rgb */ color: rgb(95, 38, 159); /* oklch */ color: oklch(42.1% 0.182 299.9);
Tailwind
colors: {
custom: {
50: '#9366bc',
500: '#5f269f',
950: '#000000',
},
}SCSS
$custom: #5f269f; $custom-light: #9366bc; $custom-dark: #000000;
JSON
{
"hex": "#5f269f",
"rgb": {
"r": 95,
"g": 38,
"b": 159
},
"hsl": {
"h": 268.264,
"s": 61.421,
"l": 38.627
},
"oklch": {
"l": 0.4206,
"c": 0.1819,
"h": 299.9
},
"luminance": 0.06322
}Semantic roles & 50–950 ramp
primary
#5F269F
secondary
#93C061
accent
#E54399
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0612
muted
#7E7A81