#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
RGBrgb(86, 72, 127)
HSLhsl(255, 28%, 39%)
HSVhsv(255, 43%, 50%)
CMYKcmyk(32.3%, 43.3%, 0%, 50.2%)
CIE-LABlab(34.28, 19.18, -29.08)
CIE-LCHlch(34.28, 34.84, 303.41°)
OKLaboklab(44.11% 0.0365 -0.0815)
OKLCHoklch(44.11% 0.089 294.1)
XYZxyz(9.9849, 8.1453, 21.1207)
Luminance0.0814 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

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
##56487F1.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.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

Preview Lab

Preview with #56487F

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#56487F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva