#562170#562170

#562170 is a dark, vivid purple. Relative luminance 0.042; OKLCH L 36.5% C 0.135 H 312.5°. Best body text is #FFFFFF at 11.37:1 contrast (WCAG AA passes).

Color values

HEX#562170
RGBrgb(86, 33, 112)
HSLhsl(280, 54%, 28%)
HSVhsv(280, 71%, 44%)
CMYKcmyk(23.2%, 70.5%, 0%, 56.1%)
CIE-LABlab(24.44, 38.29, -35.29)
CIE-LCHlch(24.44, 52.07, 317.34°)
OKLaboklab(36.54% 0.091 -0.0995)
OKLCHoklch(36.54% 0.135 312.5)
XYZxyz(7.3057, 4.2362, 15.7589)
Luminance0.0424 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562170 #3B7021
analogous
#2E2170 #562170 #702162
triadic
#562170 #705621 #217056
tetradic
#562170 #702E21 #3B7021 #216270
square
#562170 #702E21 #3B7021 #216270
split-complementary
#562170 #627021 #21702E
monochromatic
#120718 #321341 #562170 #7A2F9F #9C44C8

Accessibility & contrast

On white

11.37
#562170 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#562170 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562170
11.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562170#FFFFFF#000000##FFFFFF
##5621701.0011.371.8511.37
#FFFFFF11.371.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003772
Deuteranopia (green-blind)
#1A3B6E
Tritanopia (blue-blind)
#533145
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #562170;
/* rgb */ color: rgb(86, 33, 112);
/* oklch */ color: oklch(36.5% 0.135 312.5);
Tailwind
colors: {
  custom: {
    50: '#896199',
    500: '#562170',
    950: '#000000',
  },
}
SCSS
$custom: #562170;
$custom-light: #896199;
$custom-dark: #000000;
JSON
{
  "hex": "#562170",
  "rgb": {
    "r": 86,
    "g": 33,
    "b": 112
  },
  "hsl": {
    "h": 280.253,
    "s": 54.483,
    "l": 28.431
  },
  "oklch": {
    "l": 0.36535,
    "c": 0.13486,
    "h": 312.5
  },
  "luminance": 0.04236
}

Semantic roles & 50–950 ramp

primary
#562170
secondary
#67A449
accent
#DE4A7B
background
#F8F5F9
surface
#F0EAF2
border
#CBC6CC
text
#0C050E
muted
#7D797E

Preview Lab

Preview with #562170

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

Preview Lab → · Contrast checker → · Palette generator →

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