#562CD3#562CD3
#562CD3 is a mid, highly saturated violet. Relative luminance 0.085; OKLCH L 46.6% C 0.233 H 284.3°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).
Color values
| HEX | #562CD3 |
|---|---|
| RGB | rgb(86, 44, 211) |
| HSL | hsl(255, 65%, 50%) |
| HSV | hsv(255, 79%, 83%) |
| CMYK | cmyk(59.2%, 79.1%, 0%, 17.3%) |
| CIE-LAB | lab(34.97, 59.20, -78.24) |
| CIE-LCH | lch(34.97, 98.11, 307.11°) |
| OKLab | oklab(46.62% 0.0576 -0.2255) |
| OKLCH | oklch(46.62% 0.233 284.3) |
| XYZ | xyz(16.4927, 8.4819, 62.3835) |
| Luminance | 0.0848 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple Blue
#5D21D0
ΔE00 1.90
Blurple
#5539CC
ΔE00 2.54
Blue With A Hint Of Purple
#533CC6
ΔE00 3.46
Purpley Blue
#5F34E7
ΔE00 3.58
Burple
#6832E3
ΔE00 3.71
Blue Violet
#5D06E9
ΔE00 3.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#562CD3 #A9D32C
analogous
#2C55D3 #562CD3 #AA2CD3
triadic
#562CD3 #D3562C #2CD356
tetradic
#562CD3 #D32C55 #A9D32C #2CD3AA
square
#562CD3 #D32C55 #A9D32C #2CD3AA
split-complementary
#562CD3 #D3AA2C #55D32C
monochromatic
#2D176E #4121A0 #562CD3 #7F5FDE #A791E8
Accessibility & contrast
On white
7.79
#562CD3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.70
#562CD3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #562CD3
7.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##562CD3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##562CD3 | 1.00 | 7.79 | 2.70 | 7.79 |
| #FFFFFF | 7.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0057D8
Deuteranopia (green-blind)
#004DD0
Tritanopia (blue-blind)
#005E80
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #562cd3; /* rgb */ color: rgb(86, 44, 211); /* oklch */ color: oklch(46.6% 0.233 284.3);
Tailwind
colors: {
custom: {
50: '#946ce2',
500: '#562cd3',
950: '#000000',
},
}SCSS
$custom: #562cd3; $custom-light: #946ce2; $custom-dark: #000000;
JSON
{
"hex": "#562cd3",
"rgb": {
"r": 86,
"g": 44,
"b": 211
},
"hsl": {
"h": 255.09,
"s": 65.49,
"l": 50
},
"oklch": {
"l": 0.46617,
"c": 0.23275,
"h": 284.3
},
"luminance": 0.08483
}Semantic roles & 50–950 ramp
primary
#562CD3
secondary
#C0D388
accent
#E83FBE
background
#F9F6FE
surface
#F2ECFC
border
#CCC7D5
text
#0F0716
muted
#7E7A84