#56207C#56207C

#56207C is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.3% C 0.149 H 307.4°. Best body text is #FFFFFF at 11.09:1 contrast (WCAG AA passes).

Color values

HEX#56207C
RGBrgb(86, 32, 124)
HSLhsl(275, 59%, 31%)
HSVhsv(275, 74%, 49%)
CMYKcmyk(30.6%, 74.2%, 0%, 51.4%)
CIE-LABlab(25.16, 41.64, -41.78)
CIE-LCHlch(25.16, 58.99, 314.90°)
OKLaboklab(37.33% 0.0907 -0.1186)
OKLCHoklch(37.33% 0.149 307.4)
XYZxyz(7.9916, 4.4668, 19.5061)
Luminance0.0447 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56207C #467C20
analogous
#28207C #56207C #7C2074
triadic
#56207C #7C5620 #207C56
tetradic
#56207C #7C2820 #467C20 #20747C
square
#56207C #7C2820 #467C20 #20747C
split-complementary
#56207C #747C20 #207C28
monochromatic
#13071B #34134B #56207C #782DAD #9747CF

Accessibility & contrast

On white

11.09
#56207C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #56207C
11.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56207C#FFFFFF#000000##FFFFFF
##56207C1.0011.091.8911.09
#FFFFFF11.091.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A7F
Deuteranopia (green-blind)
#023C7A
Tritanopia (blue-blind)
#50354C
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #56207c;
/* rgb */ color: rgb(86, 32, 124);
/* oklch */ color: oklch(37.3% 0.149 307.4);
Tailwind
colors: {
  custom: {
    50: '#8a61a3',
    500: '#56207c',
    950: '#000000',
  },
}
SCSS
$custom: #56207c;
$custom-light: #8a61a3;
$custom-dark: #000000;
JSON
{
  "hex": "#56207c",
  "rgb": {
    "r": 86,
    "g": 32,
    "b": 124
  },
  "hsl": {
    "h": 275.217,
    "s": 58.974,
    "l": 30.588
  },
  "oklch": {
    "l": 0.37332,
    "c": 0.14926,
    "h": 307.4
  },
  "luminance": 0.04467
}

Semantic roles & 50–950 ramp

primary
#56207C
secondary
#73AF49
accent
#E24686
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C050F
muted
#7D797F

Preview Lab

Preview with #56207C

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

Preview Lab → · Contrast checker → · Palette generator →

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