#56207E#56207E

#56207E is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.5% C 0.151 H 306.6°. Best body text is #FFFFFF at 11.03:1 contrast (WCAG AA passes).

Color values

HEX#56207E
RGBrgb(86, 32, 126)
HSLhsl(274, 59%, 31%)
HSVhsv(274, 75%, 49%)
CMYKcmyk(31.7%, 74.6%, 0%, 50.6%)
CIE-LABlab(25.31, 42.13, -42.80)
CIE-LCHlch(25.31, 60.05, 314.55°)
OKLaboklab(37.49% 0.0903 -0.1215)
OKLCHoklch(37.49% 0.151 306.6)
XYZxyz(8.1193, 4.5179, 20.1789)
Luminance0.0452 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56207E #487E20
analogous
#27207E #56207E #7E2077
triadic
#56207E #7E5620 #207E56
tetradic
#56207E #7E2720 #487E20 #20777E
square
#56207E #7E2720 #487E20 #20777E
split-complementary
#56207E #777E20 #207E27
monochromatic
#13071C #35144D #56207E #772CAF #9648D0

Accessibility & contrast

On white

11.03
#56207E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #56207E
11.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56207E#FFFFFF#000000##FFFFFF
##56207E1.0011.031.9011.03
#FFFFFF11.031.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A81
Deuteranopia (green-blind)
#003C7C
Tritanopia (blue-blind)
#4F364D
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #56207e;
/* rgb */ color: rgb(86, 32, 126);
/* oklch */ color: oklch(37.5% 0.151 306.6);
Tailwind
colors: {
  custom: {
    50: '#8a61a4',
    500: '#56207e',
    950: '#000000',
  },
}
SCSS
$custom: #56207e;
$custom-light: #8a61a4;
$custom-dark: #000000;
JSON
{
  "hex": "#56207e",
  "rgb": {
    "r": 86,
    "g": 32,
    "b": 126
  },
  "hsl": {
    "h": 274.468,
    "s": 59.494,
    "l": 30.98
  },
  "oklch": {
    "l": 0.37492,
    "c": 0.15143,
    "h": 306.6
  },
  "luminance": 0.04518
}

Semantic roles & 50–950 ramp

primary
#56207E
secondary
#75B149
accent
#E34588
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C050F
muted
#7D797F

Preview Lab

Preview with #56207E

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

Preview Lab → · Contrast checker → · Palette generator →

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