#562A52#562A52

#562A52 is a dark, moderate purple. Relative luminance 0.042; OKLCH L 36.0% C 0.087 H 330.7°. Best body text is #FFFFFF at 11.36:1 contrast (WCAG AA passes).

Color values

HEX#562A52
RGBrgb(86, 42, 82)
HSLhsl(305, 34%, 25%)
HSVhsv(305, 51%, 34%)
CMYKcmyk(0%, 51.2%, 4.7%, 66.3%)
CIE-LABlab(24.46, 26.75, -15.63)
CIE-LCHlch(24.46, 30.98, 329.70°)
OKLaboklab(35.98% 0.0757 -0.0426)
OKLCHoklch(35.98% 0.087 330.7)
XYZxyz(6.1886, 4.2439, 8.4742)
Luminance0.0424 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562A52 #2A562E
analogous
#442A56 #562A52 #562A3C
triadic
#562A52 #52562A #2A5256
tetradic
#562A52 #56442A #2A562E #2A3C56
square
#562A52 #56442A #2A562E #2A3C56
split-complementary
#562A52 #3C562A #2A5644
monochromatic
#150A14 #2D162B #562A52 #7F3E79 #A852A0

Accessibility & contrast

On white

11.36
#562A52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#562A52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562A52
11.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562A52#FFFFFF#000000##FFFFFF
##562A521.0011.361.8511.36
#FFFFFF11.361.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#283653
Deuteranopia (green-blind)
#343C51
Tritanopia (blue-blind)
#592D3A
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #562a52;
/* rgb */ color: rgb(86, 42, 82);
/* oklch */ color: oklch(36.0% 0.087 330.7);
Tailwind
colors: {
  custom: {
    50: '#876582',
    500: '#562a52',
    950: '#000000',
  },
}
SCSS
$custom: #562a52;
$custom-light: #876582;
$custom-dark: #000000;
JSON
{
  "hex": "#562a52",
  "rgb": {
    "r": 86,
    "g": 42,
    "b": 82
  },
  "hsl": {
    "h": 305.455,
    "s": 34.375,
    "l": 25.098
  },
  "oklch": {
    "l": 0.35975,
    "c": 0.08686,
    "h": 330.7
  },
  "luminance": 0.04244
}

Semantic roles & 50–950 ramp

primary
#562A52
secondary
#538858
accent
#CA675D
background
#F8F6F8
surface
#F0EBEF
border
#CBC6CA
text
#0B060A
muted
#7C7A7C

Preview Lab

Preview with #562A52

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

Preview Lab → · Contrast checker → · Palette generator →

#562A52 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva