#5B269E#5B269E
#5B269E is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.5% C 0.180 H 298.1°. Best body text is #FFFFFF at 9.48:1 contrast (WCAG AA passes).
Color values
| HEX | #5B269E |
|---|---|
| RGB | rgb(91, 38, 158) |
| HSL | hsl(267, 61%, 38%) |
| HSV | hsv(267, 76%, 62%) |
| CMYK | cmyk(42.4%, 75.9%, 0%, 38%) |
| CIE-LAB | lab(29.61, 48.37, -55.60) |
| CIE-LCH | lch(29.61, 73.70, 311.02°) |
| OKLab | oklab(41.5% 0.0849 -0.159) |
| OKLCH | oklch(41.5% 0.18 298.1) |
| XYZ | xyz(11.1775, 6.0788, 32.9256) |
| Luminance | 0.0608 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 3.72
Indigo Blue
#3A18B1
ΔE00 5.99
Violet Blue
#510AC9
ΔE00 6.49
Purple (survey)
#7E1E9C
ΔE00 6.73
Purple Blue
#5D21D0
ΔE00 6.82
Indigo
#4B0082
ΔE00 7.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B269E #699E26
analogous
#262D9E #5B269E #97269E
triadic
#5B269E #9E5B26 #269E5B
tetradic
#5B269E #9E262D #699E26 #269E97
square
#5B269E #9E262D #699E26 #269E97
split-complementary
#5B269E #9E9726 #2D9E26
monochromatic
#220E3B #3F1A6D #5B269E #7833CE #9865DA
Accessibility & contrast
On white
9.48
#5B269E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.22
#5B269E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5B269E
9.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B269E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B269E | 1.00 | 9.48 | 2.22 | 9.48 |
| #FFFFFF | 9.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0046A1
Deuteranopia (green-blind)
#00449C
Tritanopia (blue-blind)
#4A4560
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #5b269e; /* rgb */ color: rgb(91, 38, 158); /* oklch */ color: oklch(41.5% 0.180 298.1);
Tailwind
colors: {
custom: {
50: '#9066bc',
500: '#5b269e',
950: '#000000',
},
}SCSS
$custom: #5b269e; $custom-light: #9066bc; $custom-dark: #000000;
JSON
{
"hex": "#5b269e",
"rgb": {
"r": 91,
"g": 38,
"b": 158
},
"hsl": {
"h": 266.5,
"s": 61.224,
"l": 38.431
},
"oklch": {
"l": 0.41498,
"c": 0.18027,
"h": 298.1
},
"luminance": 0.06079
}Semantic roles & 50–950 ramp
primary
#5B269E
secondary
#95C060
accent
#E4439D
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0D0612
muted
#7E7A81