#56208A#56208A

#56208A is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.5% C 0.164 H 302.3°. Best body text is #FFFFFF at 10.66:1 contrast (WCAG AA passes).

Color values

HEX#56208A
RGBrgb(86, 32, 138)
HSLhsl(271, 62%, 33%)
HSVhsv(271, 77%, 54%)
CMYKcmyk(37.7%, 76.8%, 0%, 45.9%)
CIE-LABlab(26.29, 45.10, -48.74)
CIE-LCHlch(26.29, 66.40, 312.78°)
OKLaboklab(38.49% 0.0878 -0.139)
OKLCHoklch(38.49% 0.164 302.3)
XYZxyz(8.9406, 4.8464, 24.5043)
Luminance0.0485 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56208A #548A20
analogous
#21208A #56208A #8A2089
triadic
#56208A #8A5620 #208A56
tetradic
#56208A #8A2120 #548A20 #20898A
square
#56208A #8A2120 #548A20 #20898A
split-complementary
#56208A #898A20 #208A21
monochromatic
#180927 #371458 #56208A #752CBC #934ED6

Accessibility & contrast

On white

10.66
#56208A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#56208A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #56208A
10.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56208A#FFFFFF#000000##FFFFFF
##56208A1.0010.661.9710.66
#FFFFFF10.661.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D8D
Deuteranopia (green-blind)
#003E88
Tritanopia (blue-blind)
#4B3B54
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #56208a;
/* rgb */ color: rgb(86, 32, 138);
/* oklch */ color: oklch(38.5% 0.164 302.3);
Tailwind
colors: {
  custom: {
    50: '#8b61ad',
    500: '#56208a',
    950: '#000000',
  },
}
SCSS
$custom: #56208a;
$custom-light: #8b61ad;
$custom-dark: #000000;
JSON
{
  "hex": "#56208a",
  "rgb": {
    "r": 86,
    "g": 32,
    "b": 138
  },
  "hsl": {
    "h": 270.566,
    "s": 62.353,
    "l": 33.333
  },
  "oklch": {
    "l": 0.3849,
    "c": 0.16441,
    "h": 302.3
  },
  "luminance": 0.04846
}

Semantic roles & 50–950 ramp

primary
#56208A
secondary
#82B94D
accent
#E54292
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0510
muted
#7D7A7F

Preview Lab

Preview with #56208A

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

Preview Lab → · Contrast checker → · Palette generator →

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