#5A2BB0#5A2BB0
#5A2BB0 is a dark, vivid violet. Relative luminance 0.070; OKLCH L 43.6% C 0.195 H 292.5°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).
Color values
| HEX | #5A2BB0 |
|---|---|
| RGB | rgb(90, 43, 176) |
| HSL | hsl(261, 61%, 43%) |
| HSV | hsv(261, 76%, 69%) |
| CMYK | cmyk(48.9%, 75.6%, 0%, 31%) |
| CIE-LAB | lab(31.89, 50.64, -62.73) |
| CIE-LCH | lch(31.89, 80.62, 308.91°) |
| OKLab | oklab(43.56% 0.0744 -0.18) |
| OKLCH | oklch(43.56% 0.195 292.5) |
| XYZ | xyz(12.9146, 7.0355, 41.7434) |
| Luminance | 0.0704 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple Blue
#5D21D0
ΔE00 4.26
Violet Blue
#510AC9
ΔE00 4.88
Rebeccapurple
#663399
ΔE00 4.97
Blurple
#5539CC
ΔE00 5.17
Blue With A Hint Of Purple
#533CC6
ΔE00 5.18
Indigo Blue
#3A18B1
ΔE00 5.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A2BB0 #81B02B
analogous
#2B3EB0 #5A2BB0 #9C2BB0
triadic
#5A2BB0 #B05A2B #2BB05A
tetradic
#5A2BB0 #B02B3E #81B02B #2BB09C
square
#5A2BB0 #B02B3E #81B02B #2BB09C
split-complementary
#5A2BB0 #B09C2B #3EB02B
monochromatic
#28134E #411F7F #5A2BB0 #7846D2 #9C78DE
Accessibility & contrast
On white
8.72
#5A2BB0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.41
#5A2BB0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5A2BB0
8.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A2BB0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A2BB0 | 1.00 | 8.72 | 2.41 | 8.72 |
| #FFFFFF | 8.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004DB4
Deuteranopia (green-blind)
#0048AD
Tritanopia (blue-blind)
#3E4F6C
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #5a2bb0; /* rgb */ color: rgb(90, 43, 176); /* oklch */ color: oklch(43.6% 0.195 292.5);
Tailwind
colors: {
custom: {
50: '#9169c9',
500: '#5a2bb0',
950: '#000000',
},
}SCSS
$custom: #5a2bb0; $custom-light: #9169c9; $custom-dark: #000000;
JSON
{
"hex": "#5a2bb0",
"rgb": {
"r": 90,
"g": 43,
"b": 176
},
"hsl": {
"h": 261.203,
"s": 60.731,
"l": 42.941
},
"oklch": {
"l": 0.43559,
"c": 0.19479,
"h": 292.5
},
"luminance": 0.07036
}Semantic roles & 50–950 ramp
primary
#5A2BB0
secondary
#A8C671
accent
#E444AB
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0713
muted
#7E7A82