#562A60#562A60

#562A60 is a dark, moderate purple. Relative luminance 0.045; OKLCH L 36.8% C 0.102 H 319.9°. Best body text is #FFFFFF at 11.08:1 contrast (WCAG AA passes).

Color values

HEX#562A60
RGBrgb(86, 42, 96)
HSLhsl(289, 39%, 27%)
HSVhsv(289, 56%, 38%)
CMYKcmyk(10.4%, 56.3%, 0%, 62.4%)
CIE-LABlab(25.20, 29.76, -23.71)
CIE-LCHlch(25.20, 38.05, 321.46°)
OKLaboklab(36.76% 0.0782 -0.0658)
OKLCHoklch(36.76% 0.102 319.9)
XYZxyz(6.7768, 4.4792, 11.5717)
Luminance0.0448 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562A60 #34602A
analogous
#3B2A60 #562A60 #602A4F
triadic
#562A60 #60562A #2A6056
tetradic
#562A60 #603B2A #34602A #2A4F60
square
#562A60 #603B2A #34602A #2A4F60
split-complementary
#562A60 #4F602A #2A603B
monochromatic
#130915 #301735 #562A60 #7C3D8B #A151B3

Accessibility & contrast

On white

11.08
#562A60 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#562A60 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562A60
11.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562A60#FFFFFF#000000##FFFFFF
##562A601.0011.081.9011.08
#FFFFFF11.081.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#203962
Deuteranopia (green-blind)
#2E3D5F
Tritanopia (blue-blind)
#563240
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #562a60;
/* rgb */ color: rgb(86, 42, 96);
/* oklch */ color: oklch(36.8% 0.102 319.9);
Tailwind
colors: {
  custom: {
    50: '#87668d',
    500: '#562a60',
    950: '#000000',
  },
}
SCSS
$custom: #562a60;
$custom-light: #87668d;
$custom-dark: #000000;
JSON
{
  "hex": "#562a60",
  "rgb": {
    "r": 86,
    "g": 42,
    "b": 96
  },
  "hsl": {
    "h": 288.889,
    "s": 39.13,
    "l": 27.059
  },
  "oklch": {
    "l": 0.36759,
    "c": 0.10218,
    "h": 319.9
  },
  "luminance": 0.04479
}

Semantic roles & 50–950 ramp

primary
#562A60
secondary
#5F9253
accent
#CF596F
background
#F8F6F8
surface
#F0EBF0
border
#CBC6CB
text
#0B060C
muted
#7C7A7D

Preview Lab

Preview with #562A60

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

Preview Lab → · Contrast checker → · Palette generator →

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