#562156#562156

#562156 is a dark, moderate purple. Relative luminance 0.037; OKLCH L 34.8% C 0.107 H 327.6°. Best body text is #FFFFFF at 12.02:1 contrast (WCAG AA passes).

Color values

HEX#562156
RGBrgb(86, 33, 86)
HSLhsl(300, 45%, 23%)
HSVhsv(300, 62%, 34%)
CMYKcmyk(0%, 61.6%, 0%, 66.3%)
CIE-LABlab(22.79, 32.58, -20.90)
CIE-LCHlch(22.79, 38.70, 327.31°)
OKLaboklab(34.81% 0.0907 -0.0576)
OKLCHoklch(34.81% 0.107 327.6)
XYZxyz(6.0612, 3.7384, 9.2046)
Luminance0.0374 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562156 #215621
analogous
#3B2156 #562156 #56213B
triadic
#562156 #565621 #215656
tetradic
#562156 #563B21 #215621 #213B56
square
#562156 #563B21 #215621 #213B56
split-complementary
#562156 #3B5621 #21563B
monochromatic
#160816 #2A102A #562156 #823282 #AE43AE

Accessibility & contrast

On white

12.02
#562156 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#562156 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562156
12.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562156#FFFFFF#000000##FFFFFF
##5621561.0012.021.7512.02
#FFFFFF12.021.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B3258
Deuteranopia (green-blind)
#2D3954
Tritanopia (blue-blind)
#592738
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #562156;
/* rgb */ color: rgb(86, 33, 86);
/* oklch */ color: oklch(34.8% 0.107 327.6);
Tailwind
colors: {
  custom: {
    50: '#876086',
    500: '#562156',
    950: '#000000',
  },
}
SCSS
$custom: #562156;
$custom-light: #876086;
$custom-dark: #000000;
JSON
{
  "hex": "#562156",
  "rgb": {
    "r": 86,
    "g": 33,
    "b": 86
  },
  "hsl": {
    "h": 300,
    "s": 44.538,
    "l": 23.333
  },
  "oklch": {
    "l": 0.34808,
    "c": 0.1074,
    "h": 327.6
  },
  "luminance": 0.03738
}

Semantic roles & 50–950 ramp

primary
#562156
secondary
#498A49
accent
#D45454
background
#F8F5F8
surface
#F0EAEF
border
#CBC6CA
text
#0B050B
muted
#7C797C

Preview Lab

Preview with #562156

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

Preview Lab → · Contrast checker → · Palette generator →

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