#5730C6#5730C6
#5730C6 is a mid, highly saturated violet. Relative luminance 0.082; OKLCH L 45.9% C 0.215 H 286.3°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).
Color values
| HEX | #5730C6 |
|---|---|
| RGB | rgb(87, 48, 198) |
| HSL | hsl(256, 61%, 48%) |
| HSV | hsv(256, 76%, 78%) |
| CMYK | cmyk(56.1%, 75.8%, 0%, 22.4%) |
| CIE-LAB | lab(34.43, 53.89, -71.56) |
| CIE-LCH | lch(34.43, 89.58, 306.98°) |
| OKLab | oklab(45.89% 0.0603 -0.206) |
| OKLCH | oklch(45.89% 0.215 286.3) |
| XYZ | xyz(15.1774, 8.2165, 54.2013) |
| Luminance | 0.0822 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blurple
#5539CC
ΔE00 2.17
Purple Blue
#5D21D0
ΔE00 2.53
Blue With A Hint Of Purple
#533CC6
ΔE00 2.70
Bluey Purple
#6241C7
ΔE00 4.09
Burple
#6832E3
ΔE00 4.66
Purpley Blue
#5F34E7
ΔE00 4.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5730C6 #9FC630
analogous
#3054C6 #5730C6 #A230C6
triadic
#5730C6 #C65730 #30C657
tetradic
#5730C6 #C63054 #9FC630 #30C6A2
square
#5730C6 #C63054 #9FC630 #30C6A2
split-complementary
#5730C6 #C6A230 #54C630
monochromatic
#2C1863 #412495 #5730C6 #7C5CD7 #A38DE3
Accessibility & contrast
On white
7.94
#5730C6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.64
#5730C6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5730C6
7.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5730C6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5730C6 | 1.00 | 7.94 | 2.64 | 7.94 |
| #FFFFFF | 7.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0055CA
Deuteranopia (green-blind)
#004DC3
Tritanopia (blue-blind)
#235A79
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #5730c6; /* rgb */ color: rgb(87, 48, 198); /* oklch */ color: oklch(45.9% 0.215 286.3);
Tailwind
colors: {
custom: {
50: '#926dd9',
500: '#5730c6',
950: '#000000',
},
}SCSS
$custom: #5730c6; $custom-light: #926dd9; $custom-dark: #000000;
JSON
{
"hex": "#5730c6",
"rgb": {
"r": 87,
"g": 48,
"b": 198
},
"hsl": {
"h": 255.6,
"s": 60.976,
"l": 48.235
},
"oklch": {
"l": 0.45885,
"c": 0.21465,
"h": 286.3
},
"luminance": 0.08217
}Semantic roles & 50–950 ramp
primary
#5730C6
secondary
#BBCE84
accent
#E444BA
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0E0715
muted
#7E7A83