#5A2BB7#5A2BB7
#5A2BB7 is a dark, highly saturated violet. Relative luminance 0.073; OKLCH L 44.2% C 0.203 H 291.0°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).
Color values
| HEX | #5A2BB7 |
|---|---|
| RGB | rgb(90, 43, 183) |
| HSL | hsl(260, 62%, 44%) |
| HSV | hsv(260, 77%, 72%) |
| CMYK | cmyk(50.8%, 76.5%, 0%, 28.2%) |
| CIE-LAB | lab(32.52, 52.52, -65.85) |
| CIE-LCH | lch(32.52, 84.23, 308.58°) |
| OKLab | oklab(44.2% 0.0725 -0.1892) |
| OKLCH | oklch(44.2% 0.203 291) |
| XYZ | xyz(13.6251, 7.3198, 45.4855) |
| Luminance | 0.0732 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple Blue
#5D21D0
ΔE00 3.34
Blurple
#5539CC
ΔE00 4.38
Violet Blue
#510AC9
ΔE00 4.39
Blue With A Hint Of Purple
#533CC6
ΔE00 4.53
Indigo Blue
#3A18B1
ΔE00 5.49
Bluey Purple
#6241C7
ΔE00 5.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A2BB7 #88B72B
analogous
#2B42B7 #5A2BB7 #A02BB7
triadic
#5A2BB7 #B75A2B #2BB75A
tetradic
#5A2BB7 #B72B42 #88B72B #2BB7A0
square
#5A2BB7 #B72B42 #88B72B #2BB7A0
split-complementary
#5A2BB7 #B7A02B #42B72B
monochromatic
#291454 #421F85 #5A2BB7 #794BD5 #9E7CE0
Accessibility & contrast
On white
8.52
#5A2BB7 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.46
#5A2BB7 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5A2BB7
8.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A2BB7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A2BB7 | 1.00 | 8.52 | 2.46 | 8.52 |
| #FFFFFF | 8.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004FBB
Deuteranopia (green-blind)
#0049B4
Tritanopia (blue-blind)
#3A5270
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #5a2bb7; /* rgb */ color: rgb(90, 43, 183); /* oklch */ color: oklch(44.2% 0.203 291.0);
Tailwind
colors: {
custom: {
50: '#926ace',
500: '#5a2bb7',
950: '#000000',
},
}SCSS
$custom: #5a2bb7; $custom-light: #926ace; $custom-dark: #000000;
JSON
{
"hex": "#5a2bb7",
"rgb": {
"r": 90,
"g": 43,
"b": 183
},
"hsl": {
"h": 260.143,
"s": 61.947,
"l": 44.314
},
"oklch": {
"l": 0.44199,
"c": 0.20259,
"h": 291
},
"luminance": 0.0732
}Semantic roles & 50–950 ramp
primary
#5A2BB7
secondary
#ADC975
accent
#E543AF
background
#F9F6FC
surface
#F2EBF9
border
#CCC6D2
text
#0E0714
muted
#7E7A82