#56207A#56207A

#56207A is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.2% C 0.147 H 308.2°. Best body text is #FFFFFF at 11.15:1 contrast (WCAG AA passes).

Color values

HEX#56207A
RGBrgb(86, 32, 122)
HSLhsl(276, 58%, 30%)
HSVhsv(276, 74%, 48%)
CMYKcmyk(29.5%, 73.8%, 0%, 52.2%)
CIE-LABlab(25.00, 41.16, -40.76)
CIE-LCHlch(25.00, 57.93, 315.27°)
OKLaboklab(37.17% 0.091 -0.1156)
OKLCHoklch(37.17% 0.147 308.2)
XYZxyz(7.8664, 4.4167, 18.8467)
Luminance0.0442 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56207A #447A20
analogous
#29207A #56207A #7A2071
triadic
#56207A #7A5620 #207A56
tetradic
#56207A #7A2920 #447A20 #20717A
square
#56207A #7A2920 #447A20 #20717A
split-complementary
#56207A #717A20 #207A29
monochromatic
#120719 #34134A #56207A #782DAA #9846CE

Accessibility & contrast

On white

11.15
#56207A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#56207A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #56207A
11.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56207A#FFFFFF#000000##FFFFFF
##56207A1.0011.151.8811.15
#FFFFFF11.151.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00397D
Deuteranopia (green-blind)
#073C78
Tritanopia (blue-blind)
#50344B
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #56207a;
/* rgb */ color: rgb(86, 32, 122);
/* oklch */ color: oklch(37.2% 0.147 308.2);
Tailwind
colors: {
  custom: {
    50: '#8961a1',
    500: '#56207a',
    950: '#000000',
  },
}
SCSS
$custom: #56207a;
$custom-light: #8961a1;
$custom-dark: #000000;
JSON
{
  "hex": "#56207a",
  "rgb": {
    "r": 86,
    "g": 32,
    "b": 122
  },
  "hsl": {
    "h": 276,
    "s": 58.442,
    "l": 30.196
  },
  "oklch": {
    "l": 0.37174,
    "c": 0.14709,
    "h": 308.2
  },
  "luminance": 0.04417
}

Semantic roles & 50–950 ramp

primary
#56207A
secondary
#71AD49
accent
#E24684
background
#F8F5FA
surface
#F0EAF3
border
#CBC6CD
text
#0C050F
muted
#7D797F

Preview Lab

Preview with #56207A

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

Preview Lab → · Contrast checker → · Palette generator →

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