#56269F#56269F
#56269F is a dark, vivid violet. Relative luminance 0.059; OKLCH L 41.0% C 0.181 H 295.2°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).
Color values
| HEX | #56269F |
|---|---|
| RGB | rgb(86, 38, 159) |
| HSL | hsl(264, 61%, 39%) |
| HSV | hsv(264, 76%, 62%) |
| CMYK | cmyk(45.9%, 76.1%, 0%, 37.6%) |
| CIE-LAB | lab(29.08, 47.79, -57.11) |
| CIE-LCH | lch(29.08, 74.47, 309.92°) |
| OKLab | oklab(41.01% 0.0771 -0.1636) |
| OKLCH | oklch(41.01% 0.181 295.2) |
| XYZ | xyz(10.7872, 5.8676, 33.3584) |
| Luminance | 0.0587 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 4.42
Indigo Blue
#3A18B1
ΔE00 5.19
Violet Blue
#510AC9
ΔE00 6.12
Purple Blue
#5D21D0
ΔE00 6.66
Indigo
#4B0082
ΔE00 6.93
Blue With A Hint Of Purple
#533CC6
ΔE00 7.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#56269F #6F9F26
analogous
#26329F #56269F #92269F
triadic
#56269F #9F5626 #269F56
tetradic
#56269F #9F2632 #6F9F26 #269F92
square
#56269F #9F2632 #6F9F26 #269F92
split-complementary
#56269F #9F9226 #329F26
monochromatic
#210E3C #3B1A6E #56269F #7134CE #9465DA
Accessibility & contrast
On white
9.66
#56269F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.17
#56269F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #56269F
9.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##56269F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##56269F | 1.00 | 9.66 | 2.17 | 9.66 |
| #FFFFFF | 9.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0045A2
Deuteranopia (green-blind)
#00439D
Tritanopia (blue-blind)
#414661
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #56269f; /* rgb */ color: rgb(86, 38, 159); /* oklch */ color: oklch(41.0% 0.181 295.2);
Tailwind
colors: {
custom: {
50: '#8d66bc',
500: '#56269f',
950: '#000000',
},
}SCSS
$custom: #56269f; $custom-light: #8d66bc; $custom-dark: #000000;
JSON
{
"hex": "#56269f",
"rgb": {
"r": 86,
"g": 38,
"b": 159
},
"hsl": {
"h": 263.802,
"s": 61.421,
"l": 38.627
},
"oklch": {
"l": 0.4101,
"c": 0.18088,
"h": 295.2
},
"luminance": 0.05868
}Semantic roles & 50–950 ramp
primary
#56269F
secondary
#9AC061
accent
#E543A5
background
#F9F6FB
surface
#F1EBF7
border
#CBC6D0
text
#0D0612
muted
#7E7A81