#523CB3#523CB3
#523CB3 is a mid, vivid violet. Relative luminance 0.083; OKLCH L 45.3% C 0.179 H 285.2°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).
Color values
| HEX | #523CB3 |
|---|---|
| RGB | rgb(82, 60, 179) |
| HSL | hsl(251, 50%, 47%) |
| HSV | hsv(251, 66%, 70%) |
| CMYK | cmyk(54.2%, 66.5%, 0%, 29.8%) |
| CIE-LAB | lab(34.56, 41.20, -60.18) |
| CIE-LCH | lch(34.56, 72.93, 304.40°) |
| OKLab | oklab(45.35% 0.047 -0.1729) |
| OKLCH | oklch(45.35% 0.179 285.2) |
| XYZ | xyz(13.2298, 8.2795, 43.5401) |
| Luminance | 0.0828 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Ocean Blue
#4F42B5
ΔE00 1.81
Blue With A Hint Of Purple
#533CC6
ΔE00 2.66
Blurple
#5539CC
ΔE00 3.51
Bluey Purple
#6241C7
ΔE00 3.94
Blueberry
#464196
ΔE00 5.41
Purple Blue
#5D21D0
ΔE00 6.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#523CB3 #9DB33C
analogous
#3C62B3 #523CB3 #8D3CB3
triadic
#523CB3 #B3523C #3CB352
tetradic
#523CB3 #B33C62 #9DB33C #3CB38D
square
#523CB3 #B33C62 #9DB33C #3CB38D
split-complementary
#523CB3 #B38D3C #62B33C
monochromatic
#281D57 #3D2D85 #523CB3 #7562CA #9D90DA
Accessibility & contrast
On white
7.91
#523CB3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.66
#523CB3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #523CB3
7.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##523CB3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##523CB3 | 1.00 | 7.91 | 2.66 | 7.91 |
| #FFFFFF | 7.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0055B7
Deuteranopia (green-blind)
#004EB1
Tritanopia (blue-blind)
#295A72
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #523cb3; /* rgb */ color: rgb(82, 60, 179); /* oklch */ color: oklch(45.3% 0.179 285.2);
Tailwind
colors: {
custom: {
50: '#8c73cb',
500: '#523cb3',
950: '#000000',
},
}SCSS
$custom: #523cb3; $custom-light: #8c73cb; $custom-dark: #000000;
JSON
{
"hex": "#523cb3",
"rgb": {
"r": 82,
"g": 60,
"b": 179
},
"hsl": {
"h": 251.092,
"s": 49.791,
"l": 46.863
},
"oklch": {
"l": 0.45348,
"c": 0.17914,
"h": 285.2
},
"luminance": 0.0828
}Semantic roles & 50–950 ramp
primary
#523CB3
secondary
#B9C586
accent
#D94EC0
background
#F9F7FC
surface
#F1EDF9
border
#CBC8D2
text
#0D0813
muted
#7E7B82