#562152#562152

#562152 is a dark, moderate purple. Relative luminance 0.037; OKLCH L 34.6% C 0.103 H 330.5°. Best body text is #FFFFFF at 12.10:1 contrast (WCAG AA passes).

Color values

HEX#562152
RGBrgb(86, 33, 82)
HSLhsl(305, 45%, 23%)
HSVhsv(305, 62%, 34%)
CMYKcmyk(0%, 61.6%, 4.7%, 66.3%)
CIE-LABlab(22.57, 31.78, -18.57)
CIE-LCHlch(22.57, 36.81, 329.70°)
OKLaboklab(34.58% 0.0901 -0.0509)
OKLCHoklch(34.58% 0.103 330.5)
XYZxyz(5.9046, 3.6757, 8.3795)
Luminance0.0367 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562152 #215625
analogous
#3F2156 #562152 #562137
triadic
#562152 #525621 #215256
tetradic
#562152 #563F21 #215625 #213756
square
#562152 #563F21 #215625 #213756
split-complementary
#562152 #375621 #21563F
monochromatic
#160815 #2A1028 #562152 #82327C #AE43A6

Accessibility & contrast

On white

12.10
#562152 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#562152 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562152
12.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562152#FFFFFF#000000##FFFFFF
##5621521.0012.101.7412.10
#FFFFFF12.101.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E3154
Deuteranopia (green-blind)
#2F3951
Tritanopia (blue-blind)
#592636
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #562152;
/* rgb */ color: rgb(86, 33, 82);
/* oklch */ color: oklch(34.6% 0.103 330.5);
Tailwind
colors: {
  custom: {
    50: '#876083',
    500: '#562152',
    950: '#000000',
  },
}
SCSS
$custom: #562152;
$custom-light: #876083;
$custom-dark: #000000;
JSON
{
  "hex": "#562152",
  "rgb": {
    "r": 86,
    "g": 33,
    "b": 82
  },
  "hsl": {
    "h": 304.528,
    "s": 44.538,
    "l": 23.333
  },
  "oklch": {
    "l": 0.34577,
    "c": 0.10347,
    "h": 330.5
  },
  "luminance": 0.03675
}

Semantic roles & 50–950 ramp

primary
#562152
secondary
#498A4D
accent
#D45D54
background
#F8F5F8
surface
#F0E9EF
border
#CBC5CA
text
#0B050A
muted
#7C797C

Preview Lab

Preview with #562152

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

Preview Lab → · Contrast checker → · Palette generator →

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