#56207D#56207D

#56207D is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.4% C 0.150 H 307.0°. Best body text is #FFFFFF at 11.06:1 contrast (WCAG AA passes).

Color values

HEX#56207D
RGBrgb(86, 32, 125)
HSLhsl(275, 59%, 31%)
HSVhsv(275, 74%, 49%)
CMYKcmyk(31.2%, 74.4%, 0%, 51%)
CIE-LABlab(25.24, 41.88, -42.29)
CIE-LCHlch(25.24, 59.52, 314.72°)
OKLaboklab(37.41% 0.0905 -0.1201)
OKLCHoklch(37.41% 0.15 307)
XYZxyz(8.0551, 4.4922, 19.8408)
Luminance0.0449 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56207D #477D20
analogous
#27207D #56207D #7D2075
triadic
#56207D #7D5620 #207D56
tetradic
#56207D #7D2720 #477D20 #20757D
square
#56207D #7D2720 #477D20 #20757D
split-complementary
#56207D #757D20 #207D27
monochromatic
#13071C #34144C #56207D #782CAE #9747D0

Accessibility & contrast

On white

11.06
#56207D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#56207D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #56207D
11.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56207D#FFFFFF#000000##FFFFFF
##56207D1.0011.061.9011.06
#FFFFFF11.061.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A80
Deuteranopia (green-blind)
#003C7B
Tritanopia (blue-blind)
#4F364C
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #56207d;
/* rgb */ color: rgb(86, 32, 125);
/* oklch */ color: oklch(37.4% 0.150 307.0);
Tailwind
colors: {
  custom: {
    50: '#8a61a3',
    500: '#56207d',
    950: '#000000',
  },
}
SCSS
$custom: #56207d;
$custom-light: #8a61a3;
$custom-dark: #000000;
JSON
{
  "hex": "#56207d",
  "rgb": {
    "r": 86,
    "g": 32,
    "b": 125
  },
  "hsl": {
    "h": 274.839,
    "s": 59.236,
    "l": 30.784
  },
  "oklch": {
    "l": 0.37412,
    "c": 0.15034,
    "h": 307
  },
  "luminance": 0.04492
}

Semantic roles & 50–950 ramp

primary
#56207D
secondary
#74B049
accent
#E24587
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C050F
muted
#7D797F

Preview Lab

Preview with #56207D

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

Preview Lab → · Contrast checker → · Palette generator →

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