#56209D#56209D

#56209D is a dark, vivid violet. Relative luminance 0.054; OKLCH L 40.2% C 0.185 H 296.5°. Best body text is #FFFFFF at 10.05:1 contrast (WCAG AA passes).

Color values

HEX#56209D
RGBrgb(86, 32, 157)
HSLhsl(266, 66%, 37%)
HSVhsv(266, 80%, 62%)
CMYKcmyk(45.2%, 79.6%, 0%, 38.4%)
CIE-LABlab(27.97, 49.93, -57.71)
CIE-LCHlch(27.97, 76.31, 310.86°)
OKLaboklab(40.18% 0.0826 -0.1653)
OKLCHoklch(40.18% 0.185 296.5)
XYZxyz(10.4384, 5.4455, 32.3929)
Luminance0.0545 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56209D #679D20
analogous
#20289D #56209D #95209D
triadic
#56209D #9D5620 #209D56
tetradic
#56209D #9D2028 #679D20 #209D95
square
#56209D #9D2028 #679D20 #209D95
split-complementary
#56209D #9D9520 #289D20
monochromatic
#1E0B37 #3A166A #56209D #722AD0 #935ADD

Accessibility & contrast

On white

10.05
#56209D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#56209D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #56209D
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56209D#FFFFFF#000000##FFFFFF
##56209D1.0010.052.0910.05
#FFFFFF10.051.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A0
Deuteranopia (green-blind)
#00409B
Tritanopia (blue-blind)
#43435E
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #56209d;
/* rgb */ color: rgb(86, 32, 157);
/* oklch */ color: oklch(40.2% 0.185 296.5);
Tailwind
colors: {
  custom: {
    50: '#8d62bb',
    500: '#56209d',
    950: '#000000',
  },
}
SCSS
$custom: #56209d;
$custom-light: #8d62bb;
$custom-dark: #000000;
JSON
{
  "hex": "#56209d",
  "rgb": {
    "r": 86,
    "g": 32,
    "b": 157
  },
  "hsl": {
    "h": 265.92,
    "s": 66.138,
    "l": 37.059
  },
  "oklch": {
    "l": 0.4018,
    "c": 0.18483,
    "h": 296.5
  },
  "luminance": 0.05446
}

Semantic roles & 50–950 ramp

primary
#56209D
secondary
#94C157
accent
#E93F9F
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0512
muted
#7E7A81

Preview Lab

Preview with #56209D

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

Preview Lab → · Contrast checker → · Palette generator →

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