#562D6A#562D6A

#562D6A is a dark, moderate purple. Relative luminance 0.049; OKLCH L 37.9% C 0.109 H 313.4°. Best body text is #FFFFFF at 10.61:1 contrast (WCAG AA passes).

Color values

HEX#562D6A
RGBrgb(86, 45, 106)
HSLhsl(280, 40%, 30%)
HSVhsv(280, 58%, 42%)
CMYKcmyk(18.9%, 57.5%, 0%, 58.4%)
CIE-LABlab(26.44, 30.37, -28.23)
CIE-LCHlch(26.44, 41.46, 317.09°)
OKLaboklab(37.86% 0.0746 -0.0789)
OKLCHoklch(37.86% 0.109 313.4)
XYZxyz(7.3772, 4.8960, 14.1893)
Luminance0.0490 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562D6A #416A2D
analogous
#382D6A #562D6A #6A2D60
triadic
#562D6A #6A562D #2D6A56
tetradic
#562D6A #6A382D #416A2D #2D606A
square
#562D6A #6A382D #416A2D #2D606A
split-complementary
#562D6A #606A2D #2D6A38
monochromatic
#110915 #331B3F #562D6A #793F95 #9959B8

Accessibility & contrast

On white

10.61
#562D6A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#562D6A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562D6A
10.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562D6A#FFFFFF#000000##FFFFFF
##562D6A1.0010.611.9810.61
#FFFFFF10.611.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D3C6C
Deuteranopia (green-blind)
#2B4068
Tritanopia (blue-blind)
#543747
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #562d6a;
/* rgb */ color: rgb(86, 45, 106);
/* oklch */ color: oklch(37.9% 0.109 313.4);
Tailwind
colors: {
  custom: {
    50: '#876895',
    500: '#562d6a',
    950: '#000000',
  },
}
SCSS
$custom: #562d6a;
$custom-light: #876895;
$custom-dark: #000000;
JSON
{
  "hex": "#562d6a",
  "rgb": {
    "r": 86,
    "g": 45,
    "b": 106
  },
  "hsl": {
    "h": 280.328,
    "s": 40.397,
    "l": 29.608
  },
  "oklch": {
    "l": 0.37861,
    "c": 0.10863,
    "h": 313.4
  },
  "luminance": 0.04896
}

Semantic roles & 50–950 ramp

primary
#562D6A
secondary
#6E9C57
accent
#D0587F
background
#F8F6F9
surface
#F0EBF1
border
#CBC6CB
text
#0B060D
muted
#7C7A7E

Preview Lab

Preview with #562D6A

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

Preview Lab → · Contrast checker → · Palette generator →

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