#56207F#56207F

#56207F is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.6% C 0.153 H 306.2°. Best body text is #FFFFFF at 11.00:1 contrast (WCAG AA passes).

Color values

HEX#56207F
RGBrgb(86, 32, 127)
HSLhsl(274, 60%, 31%)
HSVhsv(274, 75%, 50%)
CMYKcmyk(32.3%, 74.8%, 0%, 50.2%)
CIE-LABlab(25.39, 42.37, -43.30)
CIE-LCHlch(25.39, 60.58, 314.38°)
OKLaboklab(37.57% 0.0901 -0.123)
OKLCHoklch(37.57% 0.153 306.2)
XYZxyz(8.1842, 4.5438, 20.5205)
Luminance0.0454 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56207F #497F20
analogous
#26207F #56207F #7F2078
triadic
#56207F #7F5620 #207F56
tetradic
#56207F #7F2620 #497F20 #20787F
square
#56207F #7F2620 #497F20 #20787F
split-complementary
#56207F #787F20 #207F26
monochromatic
#14071D #35144E #56207F #772CB0 #9648D1

Accessibility & contrast

On white

11.00
#56207F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#56207F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #56207F
11.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56207F#FFFFFF#000000##FFFFFF
##56207F1.0011.001.9111.00
#FFFFFF11.001.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.001.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #56207f;
/* rgb */ color: rgb(86, 32, 127);
/* oklch */ color: oklch(37.6% 0.153 306.2);
Tailwind
colors: {
  custom: {
    50: '#8a61a5',
    500: '#56207f',
    950: '#000000',
  },
}
SCSS
$custom: #56207f;
$custom-light: #8a61a5;
$custom-dark: #000000;
JSON
{
  "hex": "#56207f",
  "rgb": {
    "r": 86,
    "g": 32,
    "b": 127
  },
  "hsl": {
    "h": 274.105,
    "s": 59.748,
    "l": 31.176
  },
  "oklch": {
    "l": 0.37573,
    "c": 0.15251,
    "h": 306.2
  },
  "luminance": 0.04544
}

Semantic roles & 50–950 ramp

primary
#56207F
secondary
#76B249
accent
#E34589
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C050F
muted
#7D797F

Preview Lab

Preview with #56207F

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

Preview Lab → · Contrast checker → · Palette generator →

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