#523B83#523B83
#523B83 is a dark, moderate violet. Relative luminance 0.066; OKLCH L 41.5% C 0.117 H 295.6°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).
Color values
| HEX | #523B83 |
|---|---|
| RGB | rgb(82, 59, 131) |
| HSL | hsl(259, 38%, 37%) |
| HSV | hsv(259, 55%, 51%) |
| CMYK | cmyk(37.4%, 55%, 0%, 48.6%) |
| CIE-LAB | lab(30.78, 27.41, -37.15) |
| CIE-LCH | lch(30.78, 46.16, 306.42°) |
| OKLab | oklab(41.47% 0.0504 -0.1052) |
| OKLCH | oklch(41.47% 0.117 295.6) |
| XYZ | xyz(9.1393, 6.5603, 22.2531) |
| Luminance | 0.0656 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 3.25
Blueberry
#464196
ΔE00 5.33
Rebeccapurple
#663399
ΔE00 5.95
Twilight
#4E518B
ΔE00 8.05
Ocean Blue
#4F42B5
ΔE00 8.79
Dusk
#4E5481
ΔE00 9.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#523B83 #6C833B
analogous
#3B4883 #523B83 #763B83
triadic
#523B83 #83523B #3B8352
tetradic
#523B83 #833B48 #6C833B #3B8376
square
#523B83 #833B48 #6C833B #3B8376
split-complementary
#523B83 #83763B #48833B
monochromatic
#1D152F #382859 #523B83 #6C4EAD #8F77C2
Accessibility & contrast
On white
9.08
#523B83 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.31
#523B83 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #523B83
9.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##523B83 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##523B83 | 1.00 | 9.08 | 2.31 | 9.08 |
| #FFFFFF | 9.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1D4985
Deuteranopia (green-blind)
#234781
Tritanopia (blue-blind)
#464A59
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #523b83; /* rgb */ color: rgb(82, 59, 131); /* oklch */ color: oklch(41.5% 0.117 295.6);
Tailwind
colors: {
custom: {
50: '#8671a7',
500: '#523b83',
950: '#000000',
},
}SCSS
$custom: #523b83; $custom-light: #8671a7; $custom-dark: #000000;
JSON
{
"hex": "#523b83",
"rgb": {
"r": 82,
"g": 59,
"b": 131
},
"hsl": {
"h": 259.167,
"s": 37.895,
"l": 37.255
},
"oklch": {
"l": 0.41467,
"c": 0.11663,
"h": 295.6
},
"luminance": 0.0656
}Semantic roles & 50–950 ramp
primary
#523B83
secondary
#98AB6F
accent
#CE5AA9
background
#F8F6FA
surface
#F0ECF4
border
#CBC7CE
text
#0B080F
muted
#7C7B7F