#56208C#56208C

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

Color values

HEX#56208C
RGBrgb(86, 32, 140)
HSLhsl(270, 63%, 34%)
HSVhsv(270, 77%, 55%)
CMYKcmyk(38.6%, 77.1%, 0%, 45.1%)
CIE-LABlab(26.46, 45.60, -49.70)
CIE-LCHlch(26.46, 67.45, 312.53°)
OKLaboklab(38.66% 0.0873 -0.1418)
OKLCHoklch(38.66% 0.167 301.6)
XYZxyz(9.0867, 4.9049, 25.2739)
Luminance0.0491 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56208C #568C20
analogous
#20208C #56208C #8C208C
triadic
#56208C #8C5620 #208C56
tetradic
#56208C #8C2020 #568C20 #208C8C
square
#56208C #8C2020 #568C20 #208C8C
split-complementary
#56208C #8C8C20 #208C20
monochromatic
#190928 #37155A #56208C #752BBE #9350D7

Accessibility & contrast

On white

10.60
#56208C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#56208C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #56208C
10.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56208C#FFFFFF#000000##FFFFFF
##56208C1.0010.601.9810.60
#FFFFFF10.601.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.601.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #56208c;
/* rgb */ color: rgb(86, 32, 140);
/* oklch */ color: oklch(38.7% 0.167 301.6);
Tailwind
colors: {
  custom: {
    50: '#8b61ae',
    500: '#56208c',
    950: '#000000',
  },
}
SCSS
$custom: #56208c;
$custom-light: #8b61ae;
$custom-dark: #000000;
JSON
{
  "hex": "#56208c",
  "rgb": {
    "r": 86,
    "g": 32,
    "b": 140
  },
  "hsl": {
    "h": 270,
    "s": 62.791,
    "l": 33.725
  },
  "oklch": {
    "l": 0.38662,
    "c": 0.16657,
    "h": 301.6
  },
  "luminance": 0.04905
}

Semantic roles & 50–950 ramp

primary
#56208C
secondary
#84BA4E
accent
#E64294
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0510
muted
#7D7A7F

Preview Lab

Preview with #56208C

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

Preview Lab → · Contrast checker → · Palette generator →

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