#56286D#56286D

#56286D is a dark, vivid purple. Relative luminance 0.046; OKLCH L 37.3% C 0.121 H 312.8°. Best body text is #FFFFFF at 10.94:1 contrast (WCAG AA passes).

Color values

HEX#56286D
RGBrgb(86, 40, 109)
HSLhsl(280, 46%, 29%)
HSVhsv(280, 63%, 43%)
CMYKcmyk(21.1%, 63.3%, 0%, 57.3%)
CIE-LABlab(25.56, 33.93, -31.55)
CIE-LCHlch(25.56, 46.33, 317.08°)
OKLaboklab(37.28% 0.082 -0.0886)
OKLCHoklch(37.28% 0.121 312.8)
XYZxyz(7.3564, 4.6003, 14.9655)
Luminance0.0460 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56286D #3F6D28
analogous
#34286D #56286D #6D2862
triadic
#56286D #6D5628 #286D56
tetradic
#56286D #6D3428 #3F6D28 #28626D
square
#56286D #6D3428 #3F6D28 #28626D
split-complementary
#56286D #626D28 #286D34
monochromatic
#120816 #331840 #56286D #79389A #9A50BF

Accessibility & contrast

On white

10.94
#56286D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#56286D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #56286D
10.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56286D#FFFFFF#000000##FFFFFF
##56286D1.0010.941.9210.94
#FFFFFF10.941.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#103A6F
Deuteranopia (green-blind)
#243E6B
Tritanopia (blue-blind)
#543546
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #56286d;
/* rgb */ color: rgb(86, 40, 109);
/* oklch */ color: oklch(37.3% 0.121 312.8);
Tailwind
colors: {
  custom: {
    50: '#886597',
    500: '#56286d',
    950: '#000000',
  },
}
SCSS
$custom: #56286d;
$custom-light: #886597;
$custom-dark: #000000;
JSON
{
  "hex": "#56286d",
  "rgb": {
    "r": 86,
    "g": 40,
    "b": 109
  },
  "hsl": {
    "h": 280,
    "s": 46.309,
    "l": 29.216
  },
  "oklch": {
    "l": 0.37284,
    "c": 0.12071,
    "h": 312.8
  },
  "luminance": 0.046
}

Semantic roles & 50–950 ramp

primary
#56286D
secondary
#6B9F51
accent
#D6527E
background
#F8F6F9
surface
#F0EBF2
border
#CBC6CC
text
#0C060D
muted
#7D7A7E

Preview Lab

Preview with #56286D

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

Preview Lab → · Contrast checker → · Palette generator →

#56286D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva