#56208D#56208D

#56208D is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.7% C 0.168 H 301.3°. Best body text is #FFFFFF at 10.57:1 contrast (WCAG AA passes).

Color values

HEX#56208D
RGBrgb(86, 32, 141)
HSLhsl(270, 63%, 34%)
HSVhsv(270, 77%, 55%)
CMYKcmyk(39%, 77.3%, 0%, 44.7%)
CIE-LABlab(26.55, 45.85, -50.19)
CIE-LCHlch(26.55, 67.98, 312.42°)
OKLaboklab(38.75% 0.0871 -0.1433)
OKLCHoklch(38.75% 0.168 301.3)
XYZxyz(9.1608, 4.9345, 25.6640)
Luminance0.0493 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56208D #578D20
analogous
#20208D #56208D #8D208D
triadic
#56208D #8D5620 #208D56
tetradic
#56208D #8D2020 #578D20 #208D8D
square
#56208D #8D2020 #578D20 #208D8D
split-complementary
#56208D #8D8D20 #208D20
monochromatic
#190929 #38155B #56208D #742BBF #9350D7

Accessibility & contrast

On white

10.57
#56208D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#56208D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #56208D
10.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56208D#FFFFFF#000000##FFFFFF
##56208D1.0010.571.9910.57
#FFFFFF10.571.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E90
Deuteranopia (green-blind)
#003E8B
Tritanopia (blue-blind)
#4A3C55
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #56208d;
/* rgb */ color: rgb(86, 32, 141);
/* oklch */ color: oklch(38.7% 0.168 301.3);
Tailwind
colors: {
  custom: {
    50: '#8b62af',
    500: '#56208d',
    950: '#000000',
  },
}
SCSS
$custom: #56208d;
$custom-light: #8b62af;
$custom-dark: #000000;
JSON
{
  "hex": "#56208d",
  "rgb": {
    "r": 86,
    "g": 32,
    "b": 141
  },
  "hsl": {
    "h": 269.725,
    "s": 63.006,
    "l": 33.922
  },
  "oklch": {
    "l": 0.38748,
    "c": 0.16764,
    "h": 301.3
  },
  "luminance": 0.04935
}

Semantic roles & 50–950 ramp

primary
#56208D
secondary
#85BA4E
accent
#E64295
background
#F8F6FA
surface
#F0EBF5
border
#CBC6CF
text
#0D0510
muted
#7D7A7F

Preview Lab

Preview with #56208D

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

Preview Lab → · Contrast checker → · Palette generator →

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