#562A51#562A51

#562A51 is a dark, moderate purple. Relative luminance 0.042; OKLCH L 35.9% C 0.086 H 331.6°. Best body text is #FFFFFF at 11.38:1 contrast (WCAG AA passes).

Color values

HEX#562A51
RGBrgb(86, 42, 81)
HSLhsl(307, 34%, 25%)
HSVhsv(307, 51%, 34%)
CMYKcmyk(0%, 51.2%, 5.8%, 66.3%)
CIE-LABlab(24.41, 26.54, -15.04)
CIE-LCHlch(24.41, 30.51, 330.47°)
OKLaboklab(35.92% 0.0755 -0.0409)
OKLCHoklch(35.92% 0.086 331.6)
XYZxyz(6.1509, 4.2288, 8.2752)
Luminance0.0423 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562A51 #2A562F
analogous
#452A56 #562A51 #562A3B
triadic
#562A51 #51562A #2A5156
tetradic
#562A51 #56452A #2A562F #2A3B56
square
#562A51 #56452A #2A562F #2A3B56
split-complementary
#562A51 #3B562A #2A5645
monochromatic
#150A13 #2D162A #562A51 #7F3E78 #A8529E

Accessibility & contrast

On white

11.38
#562A51 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #562A51
11.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562A51#FFFFFF#000000##FFFFFF
##562A511.0011.381.8511.38
#FFFFFF11.381.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#283652
Deuteranopia (green-blind)
#353C50
Tritanopia (blue-blind)
#592D39
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #562a51;
/* rgb */ color: rgb(86, 42, 81);
/* oklch */ color: oklch(35.9% 0.086 331.6);
Tailwind
colors: {
  custom: {
    50: '#876582',
    500: '#562a51',
    950: '#000000',
  },
}
SCSS
$custom: #562a51;
$custom-light: #876582;
$custom-dark: #000000;
JSON
{
  "hex": "#562a51",
  "rgb": {
    "r": 86,
    "g": 42,
    "b": 81
  },
  "hsl": {
    "h": 306.818,
    "s": 34.375,
    "l": 25.098
  },
  "oklch": {
    "l": 0.35924,
    "c": 0.08584,
    "h": 331.6
  },
  "luminance": 0.04228
}

Semantic roles & 50–950 ramp

primary
#562A51
secondary
#538859
accent
#CA6A5D
background
#F8F6F7
surface
#F0EBEE
border
#CBC6C9
text
#0B060A
muted
#7C7A7C

Preview Lab

Preview with #562A51

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

Preview Lab → · Contrast checker → · Palette generator →

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