#5B5382#5B5382
#5B5382 is a mid, moderate violet. Relative luminance 0.100; OKLCH L 47.0% C 0.075 H 291.0°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).
Color values
| HEX | #5B5382 |
|---|---|
| RGB | rgb(91, 83, 130) |
| HSL | hsl(250, 22%, 42%) |
| HSV | hsv(250, 36%, 51%) |
| CMYK | cmyk(30%, 36.2%, 0%, 49%) |
| CIE-LAB | lab(37.88, 14.59, -25.25) |
| CIE-LCH | lch(37.88, 29.16, 300.02°) |
| OKLab | oklab(47.02% 0.027 -0.0703) |
| OKLCH | oklch(47.02% 0.075 291) |
| XYZ | xyz(11.4359, 10.0222, 22.4467) |
| Luminance | 0.1002 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Dusk
#4E5481
ΔE00 4.17
Twilight
#4E518B
ΔE00 4.73
Darkslateblue
#483D8B
ΔE00 9.14
Blueberry
#464196
ΔE00 9.60
Dusky Blue
#475F94
ΔE00 9.69
Royal Purple
#7851A9
ΔE00 9.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B5382 #7A8253
analogous
#536382 #5B5382 #735382
triadic
#5B5382 #825B53 #53825B
tetradic
#5B5382 #825363 #7A8253 #538273
square
#5B5382 #825363 #7A8253 #538273
split-complementary
#5B5382 #827353 #638253
monochromatic
#272337 #413B5D #5B5382 #786FA3 #9B94BB
Accessibility & contrast
On white
6.99
#5B5382 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.00
#5B5382 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5B5382
6.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B5382 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B5382 | 1.00 | 6.99 | 3.00 | 6.99 |
| #FFFFFF | 6.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#465A84
Deuteranopia (green-blind)
#465881
Tritanopia (blue-blind)
#525B64
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #5b5382; /* rgb */ color: rgb(91, 83, 130); /* oklch */ color: oklch(47.0% 0.075 291.0);
Tailwind
colors: {
custom: {
50: '#8a83a6',
500: '#5b5382',
950: '#000000',
},
}SCSS
$custom: #5b5382; $custom-light: #8a83a6; $custom-dark: #000000;
JSON
{
"hex": "#5b5382",
"rgb": {
"r": 91,
"g": 83,
"b": 130
},
"hsl": {
"h": 250.213,
"s": 22.066,
"l": 41.765
},
"oklch": {
"l": 0.47017,
"c": 0.0753,
"h": 291
},
"luminance": 0.10022
}Semantic roles & 50–950 ramp
primary
#5B5382
secondary
#A3A889
accent
#BF69B0
background
#F8F8FA
surface
#F0EFF4
border
#CBCACE
text
#0C0A0F
muted
#7D7C7F