#562FBF#562FBF
#562FBF is a mid, highly saturated violet. Relative luminance 0.078; OKLCH L 45.0% C 0.208 H 287.2°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).
Color values
| HEX | #562FBF |
|---|---|
| RGB | rgb(86, 47, 191) |
| HSL | hsl(256, 61%, 47%) |
| HSV | hsv(256, 75%, 75%) |
| CMYK | cmyk(55%, 75.4%, 0%, 25.1%) |
| CIE-LAB | lab(33.50, 52.27, -68.98) |
| CIE-LCH | lch(33.50, 86.55, 307.16°) |
| OKLab | oklab(45.01% 0.0614 -0.1985) |
| OKLCH | oklch(45.01% 0.208 287.2) |
| XYZ | xyz(14.2554, 7.7723, 50.0292) |
| Luminance | 0.0777 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple Blue
#5D21D0
ΔE00 2.92
Blurple
#5539CC
ΔE00 2.92
Blue With A Hint Of Purple
#533CC6
ΔE00 3.16
Bluey Purple
#6241C7
ΔE00 4.60
Violet Blue
#510AC9
ΔE00 4.65
Ocean Blue
#4F42B5
ΔE00 4.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#562FBF #98BF2F
analogous
#2F50BF #562FBF #9E2FBF
triadic
#562FBF #BF562F #2FBF56
tetradic
#562FBF #BF2F50 #98BF2F #2FBF9E
square
#562FBF #BF2F50 #98BF2F #2FBF9E
split-complementary
#562FBF #BF9E2F #50BF2F
monochromatic
#2A175D #40238E #562FBF #7856D5 #9F87E1
Accessibility & contrast
On white
8.22
#562FBF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.55
#562FBF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #562FBF
8.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##562FBF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##562FBF | 1.00 | 8.22 | 2.55 | 8.22 |
| #FFFFFF | 8.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0052C3
Deuteranopia (green-blind)
#004BBC
Tritanopia (blue-blind)
#285775
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #562fbf; /* rgb */ color: rgb(86, 47, 191); /* oklch */ color: oklch(45.0% 0.208 287.2);
Tailwind
colors: {
custom: {
50: '#916cd4',
500: '#562fbf',
950: '#000000',
},
}SCSS
$custom: #562fbf; $custom-light: #916cd4; $custom-dark: #000000;
JSON
{
"hex": "#562fbf",
"rgb": {
"r": 86,
"g": 47,
"b": 191
},
"hsl": {
"h": 256.25,
"s": 60.504,
"l": 46.667
},
"oklch": {
"l": 0.45013,
"c": 0.20775,
"h": 287.2
},
"luminance": 0.07773
}Semantic roles & 50–950 ramp
primary
#562FBF
secondary
#B6CB7F
accent
#E444B8
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0714
muted
#7E7A83