#56207B#56207B

#56207B is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.3% C 0.148 H 307.8°. Best body text is #FFFFFF at 11.12:1 contrast (WCAG AA passes).

Color values

HEX#56207B
RGBrgb(86, 32, 123)
HSLhsl(276, 59%, 30%)
HSVhsv(276, 74%, 48%)
CMYKcmyk(30.1%, 74%, 0%, 51.8%)
CIE-LABlab(25.08, 41.40, -41.27)
CIE-LCHlch(25.08, 58.46, 315.09°)
OKLaboklab(37.25% 0.0908 -0.1171)
OKLCHoklch(37.25% 0.148 307.8)
XYZxyz(7.9287, 4.4416, 19.1747)
Luminance0.0444 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56207B #457B20
analogous
#28207B #56207B #7B2073
triadic
#56207B #7B5620 #207B56
tetradic
#56207B #7B2820 #457B20 #20737B
square
#56207B #7B2820 #457B20 #20737B
split-complementary
#56207B #737B20 #207B28
monochromatic
#12071A #34134A #56207B #782DAC #9746CF

Accessibility & contrast

On white

11.12
#56207B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#56207B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #56207B
11.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56207B#FFFFFF#000000##FFFFFF
##56207B1.0011.121.8911.12
#FFFFFF11.121.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A7E
Deuteranopia (green-blind)
#053C79
Tritanopia (blue-blind)
#50354B
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #56207b;
/* rgb */ color: rgb(86, 32, 123);
/* oklch */ color: oklch(37.3% 0.148 307.8);
Tailwind
colors: {
  custom: {
    50: '#8961a2',
    500: '#56207b',
    950: '#000000',
  },
}
SCSS
$custom: #56207b;
$custom-light: #8961a2;
$custom-dark: #000000;
JSON
{
  "hex": "#56207b",
  "rgb": {
    "r": 86,
    "g": 32,
    "b": 123
  },
  "hsl": {
    "h": 275.604,
    "s": 58.71,
    "l": 30.392
  },
  "oklch": {
    "l": 0.37253,
    "c": 0.14817,
    "h": 307.8
  },
  "luminance": 0.04442
}

Semantic roles & 50–950 ramp

primary
#56207B
secondary
#72AE49
accent
#E24685
background
#F8F5FA
surface
#F0EAF3
border
#CBC6CD
text
#0C050F
muted
#7D797F

Preview Lab

Preview with #56207B

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

Preview Lab → · Contrast checker → · Palette generator →

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