#523CB1#523CB1
#523CB1 is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.2% C 0.177 H 285.5°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).
Color values
| HEX | #523CB1 |
|---|---|
| RGB | rgb(82, 60, 177) |
| HSL | hsl(251, 49%, 46%) |
| HSV | hsv(251, 66%, 69%) |
| CMYK | cmyk(53.7%, 66.1%, 0%, 30.6%) |
| CIE-LAB | lab(34.39, 40.59, -59.26) |
| CIE-LCH | lch(34.39, 71.83, 304.41°) |
| OKLab | oklab(45.18% 0.0473 -0.1702) |
| OKLCH | oklch(45.18% 0.177 285.5) |
| XYZ | xyz(13.0290, 8.1992, 42.4825) |
| Luminance | 0.0820 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Ocean Blue
#4F42B5
ΔE00 1.89
Blue With A Hint Of Purple
#533CC6
ΔE00 2.95
Blurple
#5539CC
ΔE00 3.79
Bluey Purple
#6241C7
ΔE00 4.15
Blueberry
#464196
ΔE00 5.18
Sapphire (survey)
#2138AB
ΔE00 6.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#523CB1 #9BB13C
analogous
#3C61B1 #523CB1 #8D3CB1
triadic
#523CB1 #B1523C #3CB152
tetradic
#523CB1 #B13C61 #9BB13C #3CB18D
square
#523CB1 #B13C61 #9BB13C #3CB18D
split-complementary
#523CB1 #B18D3C #61B13C
monochromatic
#281D56 #3D2D83 #523CB1 #7461C9 #9D8FD9
Accessibility & contrast
On white
7.95
#523CB1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.64
#523CB1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #523CB1
7.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##523CB1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##523CB1 | 1.00 | 7.95 | 2.64 | 7.95 |
| #FFFFFF | 7.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0054B5
Deuteranopia (green-blind)
#004DAF
Tritanopia (blue-blind)
#2B5971
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #523cb1; /* rgb */ color: rgb(82, 60, 177); /* oklch */ color: oklch(45.2% 0.177 285.5);
Tailwind
colors: {
custom: {
50: '#8c73c9',
500: '#523cb1',
950: '#000000',
},
}SCSS
$custom: #523cb1; $custom-light: #8c73c9; $custom-dark: #000000;
JSON
{
"hex": "#523cb1",
"rgb": {
"r": 82,
"g": 60,
"b": 177
},
"hsl": {
"h": 251.282,
"s": 49.367,
"l": 46.471
},
"oklch": {
"l": 0.45178,
"c": 0.17661,
"h": 285.5
},
"luminance": 0.082
}Semantic roles & 50–950 ramp
primary
#523CB1
secondary
#B8C485
accent
#D94FBF
background
#F9F7FC
surface
#F1EDF8
border
#CBC8D1
text
#0D0813
muted
#7E7B82