#562C9F#562C9F
#562C9F is a dark, vivid violet. Relative luminance 0.063; OKLCH L 41.7% C 0.174 H 294.3°. Best body text is #FFFFFF at 9.31:1 contrast (WCAG AA passes).
Color values
| HEX | #562C9F |
|---|---|
| RGB | rgb(86, 44, 159) |
| HSL | hsl(262, 57%, 40%) |
| HSV | hsv(262, 72%, 62%) |
| CMYK | cmyk(45.9%, 72.3%, 0%, 37.6%) |
| CIE-LAB | lab(30.11, 44.85, -55.41) |
| CIE-LCH | lch(30.11, 71.29, 308.99°) |
| OKLab | oklab(41.74% 0.0716 -0.1587) |
| OKLCH | oklch(41.74% 0.174 294.3) |
| XYZ | xyz(10.9947, 6.2827, 33.4276) |
| Luminance | 0.0628 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 3.82
Indigo Blue
#3A18B1
ΔE00 5.83
Violet Blue
#510AC9
ΔE00 6.70
Ocean Blue
#4F42B5
ΔE00 6.73
Darkslateblue
#483D8B
ΔE00 6.74
Purple Blue
#5D21D0
ΔE00 6.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#562C9F #759F2C
analogous
#2C3C9F #562C9F #902C9F
triadic
#562C9F #9F562C #2C9F56
tetradic
#562C9F #9F2C3C #759F2C #2C9F90
square
#562C9F #9F2C3C #759F2C #2C9F90
split-complementary
#562C9F #9F902C #3C9F2C
monochromatic
#22113F #3C1F6F #562C9F #713ECA #956ED7
Accessibility & contrast
On white
9.31
#562C9F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.26
#562C9F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #562C9F
9.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##562C9F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##562C9F | 1.00 | 9.31 | 2.26 | 9.31 |
| #FFFFFF | 9.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0048A2
Deuteranopia (green-blind)
#00459D
Tritanopia (blue-blind)
#414962
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #562c9f; /* rgb */ color: rgb(86, 44, 159); /* oklch */ color: oklch(41.7% 0.174 294.3);
Tailwind
colors: {
custom: {
50: '#8c69bc',
500: '#562c9f',
950: '#000000',
},
}SCSS
$custom: #562c9f; $custom-light: #8c69bc; $custom-dark: #000000;
JSON
{
"hex": "#562c9f",
"rgb": {
"r": 86,
"g": 44,
"b": 159
},
"hsl": {
"h": 261.913,
"s": 56.65,
"l": 39.804
},
"oklch": {
"l": 0.41744,
"c": 0.17407,
"h": 294.3
},
"luminance": 0.06283
}Semantic roles & 50–950 ramp
primary
#562C9F
secondary
#9FBE69
accent
#E048A8
background
#F9F6FB
surface
#F1EBF7
border
#CBC6D0
text
#0D0612
muted
#7E7A81