#5730C9#5730C9
#5730C9 is a mid, highly saturated violet. Relative luminance 0.084; OKLCH L 46.2% C 0.218 H 285.8°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).
Color values
| HEX | #5730C9 |
|---|---|
| RGB | rgb(87, 48, 201) |
| HSL | hsl(255, 61%, 49%) |
| HSV | hsv(255, 76%, 79%) |
| CMYK | cmyk(56.7%, 76.1%, 0%, 21.2%) |
| CIE-LAB | lab(34.71, 54.73, -72.84) |
| CIE-LCH | lch(34.71, 91.11, 306.92°) |
| OKLab | oklab(46.17% 0.0595 -0.2098) |
| OKLCH | oklch(46.17% 0.218 285.8) |
| XYZ | xyz(15.5269, 8.3563, 56.0418) |
| Luminance | 0.0836 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blurple
#5539CC
ΔE00 1.99
Purple Blue
#5D21D0
ΔE00 2.42
Blue With A Hint Of Purple
#533CC6
ΔE00 2.65
Bluey Purple
#6241C7
ΔE00 4.03
Purpley Blue
#5F34E7
ΔE00 4.31
Burple
#6832E3
ΔE00 4.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5730C9 #A2C930
analogous
#3056C9 #5730C9 #A430C9
triadic
#5730C9 #C95730 #30C957
tetradic
#5730C9 #C93056 #A2C930 #30C9A4
square
#5730C9 #C93056 #A2C930 #30C9A4
split-complementary
#5730C9 #C9A430 #56C930
monochromatic
#2C1866 #422498 #5730C9 #7D5ED8 #A58FE4
Accessibility & contrast
On white
7.86
#5730C9 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.67
#5730C9 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5730C9
7.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5730C9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5730C9 | 1.00 | 7.86 | 2.67 | 7.86 |
| #FFFFFF | 7.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0056CD
Deuteranopia (green-blind)
#004DC6
Tritanopia (blue-blind)
#1E5C7B
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #5730c9; /* rgb */ color: rgb(87, 48, 201); /* oklch */ color: oklch(46.2% 0.218 285.8);
Tailwind
colors: {
custom: {
50: '#936ddb',
500: '#5730c9',
950: '#000000',
},
}SCSS
$custom: #5730c9; $custom-light: #936ddb; $custom-dark: #000000;
JSON
{
"hex": "#5730c9",
"rgb": {
"r": 87,
"g": 48,
"b": 201
},
"hsl": {
"h": 255.294,
"s": 61.446,
"l": 48.824
},
"oklch": {
"l": 0.4617,
"c": 0.21803,
"h": 285.8
},
"luminance": 0.08357
}Semantic roles & 50–950 ramp
primary
#5730C9
secondary
#BCCF86
accent
#E543BB
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0E0715
muted
#7E7A83