#56209A#56209A

#56209A is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.9% C 0.182 H 297.4°. Best body text is #FFFFFF at 10.15:1 contrast (WCAG AA passes).

Color values

HEX#56209A
RGBrgb(86, 32, 154)
HSLhsl(267, 66%, 36%)
HSVhsv(267, 79%, 60%)
CMYKcmyk(44.2%, 79.2%, 0%, 39.6%)
CIE-LABlab(27.69, 49.16, -56.32)
CIE-LCHlch(27.69, 74.76, 311.11°)
OKLaboklab(39.91% 0.0835 -0.1613)
OKLCHoklch(39.91% 0.182 297.4)
XYZxyz(10.1855, 5.3444, 31.0605)
Luminance0.0534 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56209A #649A20
analogous
#20279A #56209A #93209A
triadic
#56209A #9A5620 #209A56
tetradic
#56209A #9A2027 #649A20 #209A93
square
#56209A #9A2027 #649A20 #209A93
split-complementary
#56209A #9A9320 #279A20
monochromatic
#1D0B35 #3A1567 #56209A #722BCD #9358DC

Accessibility & contrast

On white

10.15
#56209A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#56209A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #56209A
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56209A#FFFFFF#000000##FFFFFF
##56209A1.0010.152.0710.15
#FFFFFF10.151.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00429D
Deuteranopia (green-blind)
#004098
Tritanopia (blue-blind)
#44425D
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #56209a;
/* rgb */ color: rgb(86, 32, 154);
/* oklch */ color: oklch(39.9% 0.182 297.4);
Tailwind
colors: {
  custom: {
    50: '#8d62b9',
    500: '#56209a',
    950: '#000000',
  },
}
SCSS
$custom: #56209a;
$custom-light: #8d62b9;
$custom-dark: #000000;
JSON
{
  "hex": "#56209a",
  "rgb": {
    "r": 86,
    "g": 32,
    "b": 154
  },
  "hsl": {
    "h": 266.557,
    "s": 65.591,
    "l": 36.471
  },
  "oklch": {
    "l": 0.39905,
    "c": 0.18162,
    "h": 297.4
  },
  "luminance": 0.05345
}

Semantic roles & 50–950 ramp

primary
#56209A
secondary
#91C056
accent
#E93F9E
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0512
muted
#7E7A81

Preview Lab

Preview with #56209A

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

Preview Lab → · Contrast checker → · Palette generator →

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