#562CD4#562CD4
#562CD4 is a mid, highly saturated violet. Relative luminance 0.085; OKLCH L 46.7% C 0.234 H 284.2°. Best body text is #FFFFFF at 7.76:1 contrast (WCAG AA passes).
Color values
| HEX | #562CD4 |
|---|---|
| RGB | rgb(86, 44, 212) |
| HSL | hsl(255, 66%, 50%) |
| HSV | hsv(255, 79%, 83%) |
| CMYK | cmyk(59.4%, 79.2%, 0%, 16.9%) |
| CIE-LAB | lab(35.07, 59.47, -78.65) |
| CIE-LCH | lch(35.07, 98.60, 307.09°) |
| OKLab | oklab(46.72% 0.0573 -0.2267) |
| OKLCH | oklch(46.72% 0.234 284.2) |
| XYZ | xyz(16.6184, 8.5322, 63.0458) |
| Luminance | 0.0853 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple Blue
#5D21D0
ΔE00 1.95
Blurple
#5539CC
ΔE00 2.56
Purpley Blue
#5F34E7
ΔE00 3.47
Blue With A Hint Of Purple
#533CC6
ΔE00 3.49
Burple
#6832E3
ΔE00 3.62
Blue Violet
#5D06E9
ΔE00 3.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#562CD4 #AAD42C
analogous
#2C56D4 #562CD4 #AA2CD4
triadic
#562CD4 #D4562C #2CD456
tetradic
#562CD4 #D42C56 #AAD42C #2CD4AA
square
#562CD4 #D42C56 #AAD42C #2CD4AA
split-complementary
#562CD4 #D4AA2C #56D42C
monochromatic
#2D176F #4121A2 #562CD4 #7F5FDE #A792E9
Accessibility & contrast
On white
7.76
#562CD4 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.71
#562CD4 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #562CD4
7.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##562CD4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##562CD4 | 1.00 | 7.76 | 2.71 | 7.76 |
| #FFFFFF | 7.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0057D9
Deuteranopia (green-blind)
#004DD1
Tritanopia (blue-blind)
#005F81
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #562cd4; /* rgb */ color: rgb(86, 44, 212); /* oklch */ color: oklch(46.7% 0.234 284.2);
Tailwind
colors: {
custom: {
50: '#946ce3',
500: '#562cd4',
950: '#000000',
},
}SCSS
$custom: #562cd4; $custom-light: #946ce3; $custom-dark: #000000;
JSON
{
"hex": "#562cd4",
"rgb": {
"r": 86,
"g": 44,
"b": 212
},
"hsl": {
"h": 255,
"s": 66.142,
"l": 50.196
},
"oklch": {
"l": 0.46716,
"c": 0.23384,
"h": 284.2
},
"luminance": 0.08533
}Semantic roles & 50–950 ramp
primary
#562CD4
secondary
#C1D388
accent
#E93FBE
background
#FAF6FE
surface
#F3ECFC
border
#CDC7D5
text
#0F0716
muted
#7F7A84