#56487F#56487F
#56487F is a dark, moderate violet. Relative luminance 0.081; OKLCH L 44.1% C 0.089 H 294.1°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).
Color values
| HEX | #56487F |
|---|---|
| RGB | rgb(86, 72, 127) |
| HSL | hsl(255, 28%, 39%) |
| HSV | hsv(255, 43%, 50%) |
| CMYK | cmyk(32.3%, 43.3%, 0%, 50.2%) |
| CIE-LAB | lab(34.28, 19.18, -29.08) |
| CIE-LCH | lch(34.28, 34.84, 303.41°) |
| OKLab | oklab(44.11% 0.0365 -0.0815) |
| OKLCH | oklch(44.11% 0.089 294.1) |
| XYZ | xyz(9.9849, 8.1453, 21.1207) |
| Luminance | 0.0814 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Twilight
#4E518B
ΔE00 5.23
Darkslateblue
#483D8B
ΔE00 6.06
Dusk
#4E5481
ΔE00 6.07
Blueberry
#464196
ΔE00 7.25
Rebeccapurple
#663399
ΔE00 9.50
Royal Purple
#7851A9
ΔE00 9.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#56487F #717F48
analogous
#48567F #56487F #72487F
triadic
#56487F #7F5648 #487F56
tetradic
#56487F #7F4856 #717F48 #487F72
square
#56487F #7F4856 #717F48 #487F72
split-complementary
#56487F #7F7248 #567F48
monochromatic
#211C31 #3C3258 #56487F #7160A5 #9487BB
Accessibility & contrast
On white
7.99
#56487F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.63
#56487F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #56487F
7.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##56487F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##56487F | 1.00 | 7.99 | 2.63 | 7.99 |
| #FFFFFF | 7.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#385181
Deuteranopia (green-blind)
#39507E
Tritanopia (blue-blind)
#4D525D
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #56487f; /* rgb */ color: rgb(86, 72, 127); /* oklch */ color: oklch(44.1% 0.089 294.1);
Tailwind
colors: {
custom: {
50: '#877ba4',
500: '#56487f',
950: '#000000',
},
}SCSS
$custom: #56487f; $custom-light: #877ba4; $custom-dark: #000000;
JSON
{
"hex": "#56487f",
"rgb": {
"r": 86,
"g": 72,
"b": 127
},
"hsl": {
"h": 255.273,
"s": 27.638,
"l": 39.02
},
"oklch": {
"l": 0.44112,
"c": 0.08929,
"h": 294.1
},
"luminance": 0.08145
}Semantic roles & 50–950 ramp
primary
#56487F
secondary
#9CA77C
accent
#C464AB
background
#F8F7FA
surface
#F0EDF4
border
#CBC8CE
text
#0B090F
muted
#7C7B7F