#5930C2#5930C2
#5930C2 is a mid, highly saturated violet. Relative luminance 0.081; OKLCH L 45.7% C 0.210 H 287.8°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).
Color values
| HEX | #5930C2 |
|---|---|
| RGB | rgb(89, 48, 194) |
| HSL | hsl(257, 60%, 47%) |
| HSV | hsv(257, 75%, 76%) |
| CMYK | cmyk(54.1%, 75.3%, 0%, 23.9%) |
| CIE-LAB | lab(34.26, 53.05, -69.49) |
| CIE-LCH | lch(34.26, 87.43, 307.36°) |
| OKLab | oklab(45.7% 0.0643 -0.1999) |
| OKLCH | oklch(45.7% 0.21 287.8) |
| XYZ | xyz(14.9115, 8.1320, 51.8124) |
| Luminance | 0.0813 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blurple
#5539CC
ΔE00 2.53
Purple Blue
#5D21D0
ΔE00 2.70
Blue With A Hint Of Purple
#533CC6
ΔE00 2.91
Bluey Purple
#6241C7
ΔE00 4.12
Violet Blue
#510AC9
ΔE00 4.90
Ocean Blue
#4F42B5
ΔE00 4.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5930C2 #99C230
analogous
#3050C2 #5930C2 #A230C2
triadic
#5930C2 #C25930 #30C259
tetradic
#5930C2 #C23050 #99C230 #30C2A2
square
#5930C2 #C23050 #99C230 #30C2A2
split-complementary
#5930C2 #C2A230 #50C230
monochromatic
#2C1860 #422491 #5930C2 #7C59D6 #A38AE2
Accessibility & contrast
On white
8.00
#5930C2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.63
#5930C2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5930C2
8.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5930C2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5930C2 | 1.00 | 8.00 | 2.63 | 8.00 |
| #FFFFFF | 8.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0054C6
Deuteranopia (green-blind)
#004DBF
Tritanopia (blue-blind)
#2D5977
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #5930c2; /* rgb */ color: rgb(89, 48, 194); /* oklch */ color: oklch(45.7% 0.210 287.8);
Tailwind
colors: {
custom: {
50: '#936dd6',
500: '#5930c2',
950: '#000000',
},
}SCSS
$custom: #5930c2; $custom-light: #936dd6; $custom-dark: #000000;
JSON
{
"hex": "#5930c2",
"rgb": {
"r": 89,
"g": 48,
"b": 194
},
"hsl": {
"h": 256.849,
"s": 60.331,
"l": 47.451
},
"oklch": {
"l": 0.45698,
"c": 0.20999,
"h": 287.8
},
"luminance": 0.08133
}Semantic roles & 50–950 ramp
primary
#5930C2
secondary
#B7CC82
accent
#E344B7
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0714
muted
#7E7A83