#56208B#56208B

#56208B is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.6% C 0.165 H 301.9°. Best body text is #FFFFFF at 10.63:1 contrast (WCAG AA passes).

Color values

HEX#56208B
RGBrgb(86, 32, 139)
HSLhsl(270, 63%, 34%)
HSVhsv(270, 77%, 55%)
CMYKcmyk(38.1%, 77%, 0%, 45.5%)
CIE-LABlab(26.38, 45.35, -49.22)
CIE-LCHlch(26.38, 66.93, 312.66°)
OKLaboklab(38.57% 0.0876 -0.1404)
OKLCHoklch(38.57% 0.165 301.9)
XYZxyz(9.0133, 4.8755, 24.8873)
Luminance0.0488 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56208B #558B20
analogous
#20208B #56208B #8B208A
triadic
#56208B #8B5620 #208B56
tetradic
#56208B #8B2020 #558B20 #208A8B
square
#56208B #8B2020 #558B20 #208A8B
split-complementary
#56208B #8A8B20 #208B20
monochromatic
#180928 #371559 #56208B #752BBD #934FD6

Accessibility & contrast

On white

10.63
#56208B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #56208B
10.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56208B#FFFFFF#000000##FFFFFF
##56208B1.0010.631.9810.63
#FFFFFF10.631.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.631.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #56208b;
/* rgb */ color: rgb(86, 32, 139);
/* oklch */ color: oklch(38.6% 0.165 301.9);
Tailwind
colors: {
  custom: {
    50: '#8b61ae',
    500: '#56208b',
    950: '#000000',
  },
}
SCSS
$custom: #56208b;
$custom-light: #8b61ae;
$custom-dark: #000000;
JSON
{
  "hex": "#56208b",
  "rgb": {
    "r": 86,
    "g": 32,
    "b": 139
  },
  "hsl": {
    "h": 270.28,
    "s": 62.573,
    "l": 33.529
  },
  "oklch": {
    "l": 0.38575,
    "c": 0.16549,
    "h": 301.9
  },
  "luminance": 0.04876
}

Semantic roles & 50–950 ramp

primary
#56208B
secondary
#83BA4D
accent
#E64293
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0510
muted
#7D7A7F

Preview Lab

Preview with #56208B

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

Preview Lab → · Contrast checker → · Palette generator →

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