#56209B#56209B

#56209B is a dark, vivid violet. Relative luminance 0.054; OKLCH L 40.0% C 0.183 H 297.1°. Best body text is #FFFFFF at 10.12:1 contrast (WCAG AA passes).

Color values

HEX#56209B
RGBrgb(86, 32, 155)
HSLhsl(266, 66%, 37%)
HSVhsv(266, 79%, 61%)
CMYKcmyk(44.5%, 79.4%, 0%, 39.2%)
CIE-LABlab(27.79, 49.41, -56.79)
CIE-LCHlch(27.79, 75.27, 311.03°)
OKLaboklab(40% 0.0832 -0.1626)
OKLCHoklch(40% 0.183 297.1)
XYZxyz(10.2691, 5.3778, 31.5010)
Luminance0.0538 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56209B #659B20
analogous
#20289B #56209B #94209B
triadic
#56209B #9B5620 #209B56
tetradic
#56209B #9B2028 #659B20 #209B94
square
#56209B #9B2028 #659B20 #209B94
split-complementary
#56209B #9B9420 #289B20
monochromatic
#1E0B36 #3A1668 #56209B #722ACE #9359DD

Accessibility & contrast

On white

10.12
#56209B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#56209B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #56209B
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56209B#FFFFFF#000000##FFFFFF
##56209B1.0010.122.0810.12
#FFFFFF10.121.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00429E
Deuteranopia (green-blind)
#004099
Tritanopia (blue-blind)
#44425D
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #56209b;
/* rgb */ color: rgb(86, 32, 155);
/* oklch */ color: oklch(40.0% 0.183 297.1);
Tailwind
colors: {
  custom: {
    50: '#8d62b9',
    500: '#56209b',
    950: '#000000',
  },
}
SCSS
$custom: #56209b;
$custom-light: #8d62b9;
$custom-dark: #000000;
JSON
{
  "hex": "#56209b",
  "rgb": {
    "r": 86,
    "g": 32,
    "b": 155
  },
  "hsl": {
    "h": 266.341,
    "s": 65.775,
    "l": 36.667
  },
  "oklch": {
    "l": 0.39996,
    "c": 0.18269,
    "h": 297.1
  },
  "luminance": 0.05378
}

Semantic roles & 50–950 ramp

primary
#56209B
secondary
#92C156
accent
#E93F9E
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0512
muted
#7E7A81

Preview Lab

Preview with #56209B

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

Preview Lab → · Contrast checker → · Palette generator →

#56209B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva