#56206F#56206F

#56206F is a dark, vivid purple. Relative luminance 0.042; OKLCH L 36.3% C 0.135 H 313.1°. Best body text is #FFFFFF at 11.46:1 contrast (WCAG AA passes).

Color values

HEX#56206F
RGBrgb(86, 32, 111)
HSLhsl(281, 55%, 28%)
HSVhsv(281, 71%, 44%)
CMYKcmyk(22.5%, 71.2%, 0%, 56.5%)
CIE-LABlab(24.19, 38.55, -35.04)
CIE-LCHlch(24.19, 52.09, 317.73°)
OKLaboklab(36.34% 0.0923 -0.0988)
OKLCHoklch(36.34% 0.135 313.1)
XYZxyz(7.2230, 4.1594, 15.4582)
Luminance0.0416 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56206F #396F20
analogous
#2E206F #56206F #6F2060
triadic
#56206F #6F5620 #206F56
tetradic
#56206F #6F2E20 #396F20 #20606F
square
#56206F #6F2E20 #396F20 #20606F
split-complementary
#56206F #606F20 #206F2E
monochromatic
#120718 #31123F #56206F #7B2E9F #9E41C8

Accessibility & contrast

On white

11.46
#56206F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#56206F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #56206F
11.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56206F#FFFFFF#000000##FFFFFF
##56206F1.0011.461.8311.46
#FFFFFF11.461.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003771
Deuteranopia (green-blind)
#1A3B6D
Tritanopia (blue-blind)
#533045
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #56206f;
/* rgb */ color: rgb(86, 32, 111);
/* oklch */ color: oklch(36.3% 0.135 313.1);
Tailwind
colors: {
  custom: {
    50: '#896099',
    500: '#56206f',
    950: '#000000',
  },
}
SCSS
$custom: #56206f;
$custom-light: #896099;
$custom-dark: #000000;
JSON
{
  "hex": "#56206f",
  "rgb": {
    "r": 86,
    "g": 32,
    "b": 111
  },
  "hsl": {
    "h": 281.013,
    "s": 55.245,
    "l": 28.039
  },
  "oklch": {
    "l": 0.36336,
    "c": 0.1352,
    "h": 313.1
  },
  "luminance": 0.04159
}

Semantic roles & 50–950 ramp

primary
#56206F
secondary
#65A348
accent
#DF4978
background
#F8F5F9
surface
#F0EAF2
border
#CBC6CC
text
#0C050E
muted
#7D797E

Preview Lab

Preview with #56206F

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

Preview Lab → · Contrast checker → · Palette generator →

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