#56206D#56206D

#56206D is a dark, vivid purple. Relative luminance 0.041; OKLCH L 36.2% C 0.133 H 314.0°. Best body text is #FFFFFF at 11.52:1 contrast (WCAG AA passes).

Color values

HEX#56206D
RGBrgb(86, 32, 109)
HSLhsl(282, 55%, 28%)
HSVhsv(282, 71%, 43%)
CMYKcmyk(21.1%, 70.6%, 0%, 57.3%)
CIE-LABlab(24.05, 38.08, -33.98)
CIE-LCHlch(24.05, 51.04, 318.26°)
OKLaboklab(36.19% 0.0925 -0.0956)
OKLCHoklch(36.19% 0.133 314)
XYZxyz(7.1141, 4.1158, 14.8847)
Luminance0.0412 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56206D #376D20
analogous
#2F206D #56206D #6D205D
triadic
#56206D #6D5620 #206D56
tetradic
#56206D #6D2F20 #376D20 #205D6D
square
#56206D #6D2F20 #376D20 #205D6D
split-complementary
#56206D #5D6D20 #206D2F
monochromatic
#130718 #31123E #56206D #7B2E9C #9F40C7

Accessibility & contrast

On white

11.52
#56206D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#56206D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #56206D
11.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56206D#FFFFFF#000000##FFFFFF
##56206D1.0011.521.8211.52
#FFFFFF11.521.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00366F
Deuteranopia (green-blind)
#1C3B6B
Tritanopia (blue-blind)
#542F43
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #56206d;
/* rgb */ color: rgb(86, 32, 109);
/* oklch */ color: oklch(36.2% 0.133 314.0);
Tailwind
colors: {
  custom: {
    50: '#886097',
    500: '#56206d',
    950: '#000000',
  },
}
SCSS
$custom: #56206d;
$custom-light: #886097;
$custom-dark: #000000;
JSON
{
  "hex": "#56206d",
  "rgb": {
    "r": 86,
    "g": 32,
    "b": 109
  },
  "hsl": {
    "h": 282.078,
    "s": 54.61,
    "l": 27.647
  },
  "oklch": {
    "l": 0.3619,
    "c": 0.13305,
    "h": 314
  },
  "luminance": 0.04116
}

Semantic roles & 50–950 ramp

primary
#56206D
secondary
#62A148
accent
#DE4A76
background
#F8F5F9
surface
#F0EAF2
border
#CBC6CC
text
#0C050D
muted
#7D797E

Preview Lab

Preview with #56206D

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

Preview Lab → · Contrast checker → · Palette generator →

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