#562B4F#562B4F

#562B4F is a dark, moderate purple. Relative luminance 0.043; OKLCH L 36.0% C 0.082 H 333.5°. Best body text is #FFFFFF at 11.33:1 contrast (WCAG AA passes).

Color values

HEX#562B4F
RGBrgb(86, 43, 79)
HSLhsl(310, 33%, 25%)
HSVhsv(310, 50%, 34%)
CMYKcmyk(0%, 50%, 8.1%, 66.3%)
CIE-LABlab(24.55, 25.55, -13.50)
CIE-LCHlch(24.55, 28.90, 332.15°)
OKLaboklab(35.99% 0.0733 -0.0365)
OKLCHoklch(35.99% 0.082 333.5)
XYZxyz(6.1129, 4.2711, 7.8980)
Luminance0.0427 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562B4F #2B5632
analogous
#472B56 #562B4F #562B3A
triadic
#562B4F #4F562B #2B4F56
tetradic
#562B4F #56472B #2B5632 #2B3A56
square
#562B4F #56472B #2B5632 #2B3A56
split-complementary
#562B4F #3A562B #2B5647
monochromatic
#140A13 #2D172A #562B4F #7F3F74 #A8549A

Accessibility & contrast

On white

11.33
#562B4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#562B4F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562B4F
11.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562B4F#FFFFFF#000000##FFFFFF
##562B4F1.0011.331.8511.33
#FFFFFF11.331.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A3650
Deuteranopia (green-blind)
#363D4E
Tritanopia (blue-blind)
#592D39
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #562b4f;
/* rgb */ color: rgb(86, 43, 79);
/* oklch */ color: oklch(36.0% 0.082 333.5);
Tailwind
colors: {
  custom: {
    50: '#876680',
    500: '#562b4f',
    950: '#000000',
  },
}
SCSS
$custom: #562b4f;
$custom-light: #876680;
$custom-dark: #000000;
JSON
{
  "hex": "#562b4f",
  "rgb": {
    "r": 86,
    "g": 43,
    "b": 79
  },
  "hsl": {
    "h": 309.767,
    "s": 33.333,
    "l": 25.294
  },
  "oklch": {
    "l": 0.35993,
    "c": 0.08187,
    "h": 333.5
  },
  "luminance": 0.04271
}

Semantic roles & 50–950 ramp

primary
#562B4F
secondary
#55885D
accent
#C9705E
background
#F8F6F7
surface
#EFEBEE
border
#CAC6C9
text
#0B060A
muted
#7C7A7C

Preview Lab

Preview with #562B4F

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

Preview Lab → · Contrast checker → · Palette generator →

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