#5630C2#5630C2
#5630C2 is a mid, highly saturated violet. Relative luminance 0.080; OKLCH L 45.4% C 0.210 H 286.5°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).
Color values
| HEX | #5630C2 |
|---|---|
| RGB | rgb(86, 48, 194) |
| HSL | hsl(256, 60%, 47%) |
| HSV | hsv(256, 75%, 76%) |
| CMYK | cmyk(55.7%, 75.3%, 0%, 23.9%) |
| CIE-LAB | lab(33.95, 52.63, -70.00) |
| CIE-LCH | lch(33.95, 87.58, 306.94°) |
| OKLab | oklab(45.42% 0.0599 -0.2015) |
| OKLCH | oklch(45.42% 0.21 286.5) |
| XYZ | xyz(14.6294, 7.9866, 51.7992) |
| Luminance | 0.0799 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blurple
#5539CC
ΔE00 2.48
Blue With A Hint Of Purple
#533CC6
ΔE00 2.81
Purple Blue
#5D21D0
ΔE00 2.81
Bluey Purple
#6241C7
ΔE00 4.29
Violet Blue
#510AC9
ΔE00 4.81
Ocean Blue
#4F42B5
ΔE00 4.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5630C2 #9CC230
analogous
#3053C2 #5630C2 #9F30C2
triadic
#5630C2 #C25630 #30C256
tetradic
#5630C2 #C23053 #9CC230 #30C29F
square
#5630C2 #C23053 #9CC230 #30C29F
split-complementary
#5630C2 #C29F30 #53C230
monochromatic
#2B1860 #402491 #5630C2 #7A59D6 #A18AE2
Accessibility & contrast
On white
8.09
#5630C2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.60
#5630C2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5630C2
8.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5630C2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5630C2 | 1.00 | 8.09 | 2.60 | 8.09 |
| #FFFFFF | 8.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0053C6
Deuteranopia (green-blind)
#004CBF
Tritanopia (blue-blind)
#255977
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #5630c2; /* rgb */ color: rgb(86, 48, 194); /* oklch */ color: oklch(45.4% 0.210 286.5);
Tailwind
colors: {
custom: {
50: '#916dd6',
500: '#5630c2',
950: '#000000',
},
}SCSS
$custom: #5630c2; $custom-light: #916dd6; $custom-dark: #000000;
JSON
{
"hex": "#5630c2",
"rgb": {
"r": 86,
"g": 48,
"b": 194
},
"hsl": {
"h": 255.616,
"s": 60.331,
"l": 47.451
},
"oklch": {
"l": 0.45415,
"c": 0.21018,
"h": 286.5
},
"luminance": 0.07987
}Semantic roles & 50–950 ramp
primary
#5630C2
secondary
#B9CC82
accent
#E344BA
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0714
muted
#7E7A83