#562A5D#562A5D

#562A5D is a dark, moderate purple. Relative luminance 0.044; OKLCH L 36.6% C 0.099 H 322.0°. Best body text is #FFFFFF at 11.14:1 contrast (WCAG AA passes).

Color values

HEX#562A5D
RGBrgb(86, 42, 93)
HSLhsl(292, 38%, 26%)
HSVhsv(292, 55%, 36%)
CMYKcmyk(7.5%, 54.8%, 0%, 63.5%)
CIE-LABlab(25.03, 29.09, -22.01)
CIE-LCHlch(25.03, 36.48, 322.89°)
OKLaboklab(36.58% 0.0778 -0.0608)
OKLCHoklch(36.58% 0.099 322)
XYZxyz(6.6413, 4.4250, 10.8581)
Luminance0.0442 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562A5D #315D2A
analogous
#3D2A5D #562A5D #5D2A4B
triadic
#562A5D #5D562A #2A5D56
tetradic
#562A5D #5D3D2A #315D2A #2A4B5D
square
#562A5D #5D3D2A #315D2A #2A4B5D
split-complementary
#562A5D #4B5D2A #2A5D3D
monochromatic
#130A15 #2F1733 #562A5D #7D3D87 #A351B0

Accessibility & contrast

On white

11.14
#562A5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#562A5D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562A5D
11.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562A5D#FFFFFF#000000##FFFFFF
##562A5D1.0011.141.8911.14
#FFFFFF11.141.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22385F
Deuteranopia (green-blind)
#303D5C
Tritanopia (blue-blind)
#57313F
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #562a5d;
/* rgb */ color: rgb(86, 42, 93);
/* oklch */ color: oklch(36.6% 0.099 322.0);
Tailwind
colors: {
  custom: {
    50: '#87658b',
    500: '#562a5d',
    950: '#000000',
  },
}
SCSS
$custom: #562a5d;
$custom-light: #87658b;
$custom-dark: #000000;
JSON
{
  "hex": "#562a5d",
  "rgb": {
    "r": 86,
    "g": 42,
    "b": 93
  },
  "hsl": {
    "h": 291.765,
    "s": 37.778,
    "l": 26.471
  },
  "oklch": {
    "l": 0.36581,
    "c": 0.09876,
    "h": 322
  },
  "luminance": 0.04425
}

Semantic roles & 50–950 ramp

primary
#562A5D
secondary
#5C8F53
accent
#CE5A6A
background
#F8F6F8
surface
#F0EBF0
border
#CBC6CB
text
#0B060C
muted
#7C7A7D

Preview Lab

Preview with #562A5D

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

Preview Lab → · Contrast checker → · Palette generator →

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