#523E8A#523E8A
#523E8A is a dark, vivid violet. Relative luminance 0.071; OKLCH L 42.5% C 0.122 H 292.6°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).
Color values
| HEX | #523E8A |
|---|---|
| RGB | rgb(82, 62, 138) |
| HSL | hsl(256, 38%, 39%) |
| HSV | hsv(256, 55%, 54%) |
| CMYK | cmyk(40.6%, 55.1%, 0%, 45.9%) |
| CIE-LAB | lab(31.97, 27.58, -39.57) |
| CIE-LCH | lch(31.97, 48.24, 304.87°) |
| OKLab | oklab(42.5% 0.0467 -0.1123) |
| OKLCH | oklch(42.5% 0.122 292.6) |
| XYZ | xyz(9.7885, 7.0738, 24.8895) |
| Luminance | 0.0707 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 2.26
Blueberry
#464196
ΔE00 3.96
Rebeccapurple
#663399
ΔE00 5.87
Twilight
#4E518B
ΔE00 7.10
Ocean Blue
#4F42B5
ΔE00 7.37
Dusk
#4E5481
ΔE00 9.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#523E8A #768A3E
analogous
#3E508A #523E8A #783E8A
triadic
#523E8A #8A523E #3E8A52
tetradic
#523E8A #8A3E50 #768A3E #3E8A78
square
#523E8A #8A3E50 #768A3E #3E8A78
split-complementary
#523E8A #8A783E #508A3E
monochromatic
#201836 #392B60 #523E8A #6C53B2 #907EC5
Accessibility & contrast
On white
8.70
#523E8A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.41
#523E8A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #523E8A
8.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##523E8A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##523E8A | 1.00 | 8.70 | 2.41 | 8.70 |
| #FFFFFF | 8.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1C4C8D
Deuteranopia (green-blind)
#204A88
Tritanopia (blue-blind)
#434E5E
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #523e8a; /* rgb */ color: rgb(82, 62, 138); /* oklch */ color: oklch(42.5% 0.122 292.6);
Tailwind
colors: {
custom: {
50: '#8674ad',
500: '#523e8a',
950: '#000000',
},
}SCSS
$custom: #523e8a; $custom-light: #8674ad; $custom-dark: #000000;
JSON
{
"hex": "#523e8a",
"rgb": {
"r": 82,
"g": 62,
"b": 138
},
"hsl": {
"h": 255.789,
"s": 38,
"l": 39.216
},
"oklch": {
"l": 0.42496,
"c": 0.12163,
"h": 292.6
},
"luminance": 0.07074
}Semantic roles & 50–950 ramp
primary
#523E8A
secondary
#A0AF75
accent
#CE5AAF
background
#F8F7FA
surface
#F0EDF4
border
#CBC8CE
text
#0B0810
muted
#7C7B7F