#562F5D#562F5D

#562F5D is a dark, moderate purple. Relative luminance 0.048; OKLCH L 37.4% C 0.089 H 321.3°. Best body text is #FFFFFF at 10.71:1 contrast (WCAG AA passes).

Color values

HEX#562F5D
RGBrgb(86, 47, 93)
HSLhsl(291, 33%, 27%)
HSVhsv(291, 49%, 36%)
CMYKcmyk(7.5%, 49.5%, 0%, 63.5%)
CIE-LABlab(26.16, 26.13, -20.23)
CIE-LCHlch(26.16, 33.05, 322.26°)
OKLaboklab(37.42% 0.0697 -0.0558)
OKLCHoklch(37.42% 0.089 321.3)
XYZxyz(6.8298, 4.8020, 10.9209)
Luminance0.0480 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562F5D #365D2F
analogous
#3F2F5D #562F5D #5D2F4D
triadic
#562F5D #5D562F #2F5D56
tetradic
#562F5D #5D3F2F #365D2F #2F4D5D
square
#562F5D #5D3F2F #365D2F #2F4D5D
split-complementary
#562F5D #4D5D2F #2F5D3F
monochromatic
#130A14 #301A34 #562F5D #7C4486 #9F5BAC

Accessibility & contrast

On white

10.71
#562F5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#562F5D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562F5D
10.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562F5D#FFFFFF#000000##FFFFFF
##562F5D1.0010.711.9610.71
#FFFFFF10.711.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#283B5F
Deuteranopia (green-blind)
#333F5C
Tritanopia (blue-blind)
#573541
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #562f5d;
/* rgb */ color: rgb(86, 47, 93);
/* oklch */ color: oklch(37.4% 0.089 321.3);
Tailwind
colors: {
  custom: {
    50: '#87698b',
    500: '#562f5d',
    950: '#000000',
  },
}
SCSS
$custom: #562f5d;
$custom-light: #87698b;
$custom-dark: #000000;
JSON
{
  "hex": "#562f5d",
  "rgb": {
    "r": 86,
    "g": 47,
    "b": 93
  },
  "hsl": {
    "h": 290.87,
    "s": 32.857,
    "l": 27.451
  },
  "oklch": {
    "l": 0.37422,
    "c": 0.08929,
    "h": 321.3
  },
  "luminance": 0.04802
}

Semantic roles & 50–950 ramp

primary
#562F5D
secondary
#618F59
accent
#C95F6F
background
#F8F6F8
surface
#EFEBF0
border
#CAC6CB
text
#0B060C
muted
#7C7A7D

Preview Lab

Preview with #562F5D

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

Preview Lab → · Contrast checker → · Palette generator →

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