#562571#562571

#562571 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.1% C 0.130 H 311.4°. Best body text is #FFFFFF at 11.06:1 contrast (WCAG AA passes).

Color values

HEX#562571
RGBrgb(86, 37, 113)
HSLhsl(279, 51%, 29%)
HSVhsv(279, 67%, 44%)
CMYKcmyk(23.9%, 67.3%, 0%, 55.7%)
CIE-LABlab(25.24, 36.50, -34.64)
CIE-LCHlch(25.24, 50.32, 316.50°)
OKLaboklab(37.14% 0.0859 -0.0976)
OKLCHoklch(37.14% 0.13 311.4)
XYZxyz(7.4794, 4.4940, 16.0930)
Luminance0.0449 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562571 #407125
analogous
#302571 #562571 #712566
triadic
#562571 #715625 #257156
tetradic
#562571 #713025 #407125 #256671
square
#562571 #713025 #407125 #256671
split-complementary
#562571 #667125 #257130
monochromatic
#120817 #331643 #562571 #79349F #9A4CC4

Accessibility & contrast

On white

11.06
#562571 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#562571 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##562571#FFFFFF#000000##FFFFFF
##5625711.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)
#003973
Deuteranopia (green-blind)
#1D3D6F
Tritanopia (blue-blind)
#533447
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #562571;
/* rgb */ color: rgb(86, 37, 113);
/* oklch */ color: oklch(37.1% 0.130 311.4);
Tailwind
colors: {
  custom: {
    50: '#88639a',
    500: '#562571',
    950: '#000000',
  },
}
SCSS
$custom: #562571;
$custom-light: #88639a;
$custom-dark: #000000;
JSON
{
  "hex": "#562571",
  "rgb": {
    "r": 86,
    "g": 37,
    "b": 113
  },
  "hsl": {
    "h": 278.684,
    "s": 50.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.37136,
    "c": 0.13004,
    "h": 311.4
  },
  "luminance": 0.04494
}

Semantic roles & 50–950 ramp

primary
#562571
secondary
#6CA44E
accent
#DA4E80
background
#F8F6F9
surface
#F0EBF2
border
#CBC6CC
text
#0C050E
muted
#7D7A7E

Preview Lab

Preview with #562571

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

Preview Lab → · Contrast checker → · Palette generator →

#562571 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva