#56286A#56286A

#56286A is a dark, moderate purple. Relative luminance 0.045; OKLCH L 37.1% C 0.117 H 314.3°. Best body text is #FFFFFF at 11.01:1 contrast (WCAG AA passes).

Color values

HEX#56286A
RGBrgb(86, 40, 106)
HSLhsl(282, 45%, 29%)
HSVhsv(282, 62%, 42%)
CMYKcmyk(18.9%, 62.3%, 0%, 58.4%)
CIE-LABlab(25.37, 33.21, -29.92)
CIE-LCHlch(25.37, 44.70, 317.98°)
OKLaboklab(37.08% 0.0819 -0.0838)
OKLCHoklch(37.08% 0.117 314.3)
XYZxyz(7.1976, 4.5368, 14.1294)
Luminance0.0454 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56286A #3C6A28
analogous
#35286A #56286A #6A285D
triadic
#56286A #6A5628 #286A56
tetradic
#56286A #6A3528 #3C6A28 #285D6A
square
#56286A #6A3528 #3C6A28 #285D6A
split-complementary
#56286A #5D6A28 #286A35
monochromatic
#120816 #32173E #56286A #7A3996 #9C50BD

Accessibility & contrast

On white

11.01
#56286A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#56286A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #56286A
11.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56286A#FFFFFF#000000##FFFFFF
##56286A1.0011.011.9111.01
#FFFFFF11.011.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#143A6C
Deuteranopia (green-blind)
#263D68
Tritanopia (blue-blind)
#543445
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #56286a;
/* rgb */ color: rgb(86, 40, 106);
/* oklch */ color: oklch(37.1% 0.117 314.3);
Tailwind
colors: {
  custom: {
    50: '#886595',
    500: '#56286a',
    950: '#000000',
  },
}
SCSS
$custom: #56286a;
$custom-light: #886595;
$custom-dark: #000000;
JSON
{
  "hex": "#56286a",
  "rgb": {
    "r": 86,
    "g": 40,
    "b": 106
  },
  "hsl": {
    "h": 281.818,
    "s": 45.205,
    "l": 28.627
  },
  "oklch": {
    "l": 0.37082,
    "c": 0.11723,
    "h": 314.3
  },
  "luminance": 0.04537
}

Semantic roles & 50–950 ramp

primary
#56286A
secondary
#689D51
accent
#D5537A
background
#F8F6F9
surface
#F0EBF1
border
#CBC6CB
text
#0C060D
muted
#7D7A7E

Preview Lab

Preview with #56286A

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

Preview Lab → · Contrast checker → · Palette generator →

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