#562D5F#562D5F

#562D5F is a dark, moderate purple. Relative luminance 0.047; OKLCH L 37.2% C 0.095 H 320.2°. Best body text is #FFFFFF at 10.85:1 contrast (WCAG AA passes).

Color values

HEX#562D5F
RGBrgb(86, 45, 95)
HSLhsl(289, 36%, 27%)
HSVhsv(289, 53%, 37%)
CMYKcmyk(9.5%, 52.6%, 0%, 62.7%)
CIE-LABlab(25.81, 27.78, -22.09)
CIE-LCHlch(25.81, 35.49, 321.51°)
OKLaboklab(37.19% 0.0733 -0.0611)
OKLCHoklch(37.19% 0.095 320.2)
XYZxyz(6.8414, 4.6817, 11.3675)
Luminance0.0468 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562D5F #365F2D
analogous
#3D2D5F #562D5F #5F2D4F
triadic
#562D5F #5F562D #2D5F56
tetradic
#562D5F #5F3D2D #365F2D #2D4F5F
square
#562D5F #5F3D2D #365F2D #2D4F5F
split-complementary
#562D5F #4F5F2D #2D5F3D
monochromatic
#130A15 #301935 #562D5F #7C4189 #9F57AF

Accessibility & contrast

On white

10.85
#562D5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#562D5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562D5F
10.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562D5F#FFFFFF#000000##FFFFFF
##562D5F1.0010.851.9410.85
#FFFFFF10.851.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#253A61
Deuteranopia (green-blind)
#313F5E
Tritanopia (blue-blind)
#573441
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #562d5f;
/* rgb */ color: rgb(86, 45, 95);
/* oklch */ color: oklch(37.2% 0.095 320.2);
Tailwind
colors: {
  custom: {
    50: '#87678c',
    500: '#562d5f',
    950: '#000000',
  },
}
SCSS
$custom: #562d5f;
$custom-light: #87678c;
$custom-dark: #000000;
JSON
{
  "hex": "#562d5f",
  "rgb": {
    "r": 86,
    "g": 45,
    "b": 95
  },
  "hsl": {
    "h": 289.2,
    "s": 35.714,
    "l": 27.451
  },
  "oklch": {
    "l": 0.37193,
    "c": 0.09546,
    "h": 320.2
  },
  "luminance": 0.04681
}

Semantic roles & 50–950 ramp

primary
#562D5F
secondary
#619157
accent
#CC5C70
background
#F8F6F8
surface
#F0EBF0
border
#CBC6CB
text
#0B060C
muted
#7C7A7D

Preview Lab

Preview with #562D5F

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

Preview Lab → · Contrast checker → · Palette generator →

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