#5D528F#5D528F
#5D528F is a mid, moderate violet. Relative luminance 0.103; OKLCH L 47.7% C 0.097 H 290.5°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).
Color values
| HEX | #5D528F |
|---|---|
| RGB | rgb(93, 82, 143) |
| HSL | hsl(251, 27%, 44%) |
| HSV | hsv(251, 43%, 56%) |
| CMYK | cmyk(35%, 42.7%, 0%, 43.9%) |
| CIE-LAB | lab(38.45, 19.47, -32.26) |
| CIE-LCH | lch(38.45, 37.68, 301.12°) |
| OKLab | oklab(47.71% 0.0339 -0.0906) |
| OKLCH | oklch(47.71% 0.097 290.5) |
| XYZ | xyz(12.4881, 10.3446, 27.3200) |
| Luminance | 0.1035 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Twilight
#4E518B
ΔE00 3.75
Dusk
#4E5481
ΔE00 5.12
Royal Purple
#7851A9
ΔE00 7.30
Darkslateblue
#483D8B
ΔE00 7.35
Blueberry
#464196
ΔE00 7.36
Dusky Blue
#475F94
ΔE00 9.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5D528F #848F52
analogous
#52668F #5D528F #7C528F
triadic
#5D528F #8F5D52 #528F5D
tetradic
#5D528F #8F5266 #848F52 #528F7C
square
#5D528F #8F5266 #848F52 #528F7C
split-complementary
#5D528F #8F7C52 #668F52
monochromatic
#2A2541 #443C68 #5D528F #7C71AD #A098C4
Accessibility & contrast
On white
6.84
#5D528F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.07
#5D528F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5D528F
6.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5D528F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5D528F | 1.00 | 6.84 | 3.07 | 6.84 |
| #FFFFFF | 6.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F5C91
Deuteranopia (green-blind)
#3F598E
Tritanopia (blue-blind)
#515D69
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #5d528f; /* rgb */ color: rgb(93, 82, 143); /* oklch */ color: oklch(47.7% 0.097 290.5);
Tailwind
colors: {
custom: {
50: '#8d82b0',
500: '#5d528f',
950: '#000000',
},
}SCSS
$custom: #5d528f; $custom-light: #8d82b0; $custom-dark: #000000;
JSON
{
"hex": "#5d528f",
"rgb": {
"r": 93,
"g": 82,
"b": 143
},
"hsl": {
"h": 250.82,
"s": 27.111,
"l": 44.118
},
"oklch": {
"l": 0.47713,
"c": 0.0967,
"h": 290.5
},
"luminance": 0.10345
}Semantic roles & 50–950 ramp
primary
#5D528F
secondary
#AAB18C
accent
#C364B2
background
#F8F7FA
surface
#F0EEF5
border
#CBC9CF
text
#0C0A10
muted
#7D7C7F