#5F269B#5F269B
#5F269B is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.7% C 0.178 H 301.0°. Best body text is #FFFFFF at 9.39:1 contrast (WCAG AA passes).
Color values
| HEX | #5F269B |
|---|---|
| RGB | rgb(95, 38, 155) |
| HSL | hsl(269, 61%, 38%) |
| HSV | hsv(269, 75%, 61%) |
| CMYK | cmyk(38.7%, 75.5%, 0%, 39.2%) |
| CIE-LAB | lab(29.88, 48.31, -53.32) |
| CIE-LCH | lch(29.88, 71.95, 312.18°) |
| OKLab | oklab(41.72% 0.0916 -0.1522) |
| OKLCH | oklch(41.72% 0.178 301) |
| XYZ | xyz(11.3274, 6.1856, 31.6012) |
| Luminance | 0.0619 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 3.13
Purple (survey)
#7E1E9C
ΔE00 5.89
Indigo Blue
#3A18B1
ΔE00 6.89
Indigo
#4B0082
ΔE00 7.02
Violet Blue
#510AC9
ΔE00 7.18
Purple Blue
#5D21D0
ΔE00 7.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F269B #629B26
analogous
#26279B #5F269B #9A269B
triadic
#5F269B #9B5F26 #269B5F
tetradic
#5F269B #9B2627 #629B26 #269B9A
square
#5F269B #9B2627 #629B26 #269B9A
split-complementary
#5F269B #9B9A26 #279B26
monochromatic
#230E39 #411A6A #5F269B #7D32CC #9C63D9
Accessibility & contrast
On white
9.39
#5F269B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.24
#5F269B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5F269B
9.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F269B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F269B | 1.00 | 9.39 | 2.24 | 9.39 |
| #FFFFFF | 9.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00469E
Deuteranopia (green-blind)
#004699
Tritanopia (blue-blind)
#52445F
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #5f269b; /* rgb */ color: rgb(95, 38, 155); /* oklch */ color: oklch(41.7% 0.178 301.0);
Tailwind
colors: {
custom: {
50: '#9266b9',
500: '#5f269b',
950: '#000000',
},
}SCSS
$custom: #5f269b; $custom-light: #9266b9; $custom-dark: #000000;
JSON
{
"hex": "#5f269b",
"rgb": {
"r": 95,
"g": 38,
"b": 155
},
"hsl": {
"h": 269.231,
"s": 60.622,
"l": 37.843
},
"oklch": {
"l": 0.4172,
"c": 0.17761,
"h": 301
},
"luminance": 0.06186
}Semantic roles & 50–950 ramp
primary
#5F269B
secondary
#90BE5F
accent
#E44496
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0612
muted
#7E7A81