#562A57#562A57

#562A57 is a dark, moderate purple. Relative luminance 0.043; OKLCH L 36.2% C 0.092 H 326.4°. Best body text is #FFFFFF at 11.26:1 contrast (WCAG AA passes).

Color values

HEX#562A57
RGBrgb(86, 42, 87)
HSLhsl(299, 35%, 25%)
HSVhsv(299, 52%, 34%)
CMYKcmyk(1.1%, 51.7%, 0%, 65.9%)
CIE-LABlab(24.71, 27.79, -18.55)
CIE-LCHlch(24.71, 33.41, 326.27°)
OKLaboklab(36.24% 0.0768 -0.0509)
OKLCHoklch(36.24% 0.092 326.4)
XYZxyz(6.3859, 4.3228, 9.5130)
Luminance0.0432 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562A57 #2B572A
analogous
#3F2A57 #562A57 #572A41
triadic
#562A57 #57562A #2A5756
tetradic
#562A57 #573F2A #2B572A #2A4157
square
#562A57 #573F2A #2B572A #2A4157
split-complementary
#562A57 #41572A #2A573F
monochromatic
#140A15 #2D162E #562A57 #7F3E80 #A852AA

Accessibility & contrast

On white

11.26
#562A57 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#562A57 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562A57
11.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562A57#FFFFFF#000000##FFFFFF
##562A571.0011.261.8611.26
#FFFFFF11.261.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#263759
Deuteranopia (green-blind)
#323D56
Tritanopia (blue-blind)
#582F3C
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #562a57;
/* rgb */ color: rgb(86, 42, 87);
/* oklch */ color: oklch(36.2% 0.092 326.4);
Tailwind
colors: {
  custom: {
    50: '#876586',
    500: '#562a57',
    950: '#000000',
  },
}
SCSS
$custom: #562a57;
$custom-light: #876586;
$custom-dark: #000000;
JSON
{
  "hex": "#562a57",
  "rgb": {
    "r": 86,
    "g": 42,
    "b": 87
  },
  "hsl": {
    "h": 298.667,
    "s": 34.884,
    "l": 25.294
  },
  "oklch": {
    "l": 0.36242,
    "c": 0.09213,
    "h": 326.4
  },
  "luminance": 0.04322
}

Semantic roles & 50–950 ramp

primary
#562A57
secondary
#558953
accent
#CB5D5F
background
#F8F6F8
surface
#F0EBEF
border
#CBC6CA
text
#0B060B
muted
#7C7A7C

Preview Lab

Preview with #562A57

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

Preview Lab → · Contrast checker → · Palette generator →

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