#562B5F#562B5F

#562B5F is a dark, moderate purple. Relative luminance 0.045; OKLCH L 36.9% C 0.099 H 320.5°. Best body text is #FFFFFF at 11.02:1 contrast (WCAG AA passes).

Color values

HEX#562B5F
RGBrgb(86, 43, 95)
HSLhsl(290, 38%, 27%)
HSVhsv(290, 55%, 37%)
CMYKcmyk(9.5%, 54.7%, 0%, 62.7%)
CIE-LABlab(25.36, 28.96, -22.80)
CIE-LCHlch(25.36, 36.85, 321.79°)
OKLaboklab(36.86% 0.0765 -0.0631)
OKLCHoklch(36.86% 0.099 320.5)
XYZxyz(6.7669, 4.5327, 11.3427)
Luminance0.0453 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562B5F #345F2B
analogous
#3C2B5F #562B5F #5F2B4E
triadic
#562B5F #5F562B #2B5F56
tetradic
#562B5F #5F3C2B #345F2B #2B4E5F
square
#562B5F #5F3C2B #345F2B #2B4E5F
split-complementary
#562B5F #4E5F2B #2B5F3C
monochromatic
#130A15 #301835 #562B5F #7C3E89 #A153B1

Accessibility & contrast

On white

11.02
#562B5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#562B5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562B5F
11.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562B5F#FFFFFF#000000##FFFFFF
##562B5F1.0011.021.9111.02
#FFFFFF11.021.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#223961
Deuteranopia (green-blind)
#2F3E5E
Tritanopia (blue-blind)
#573240
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #562b5f;
/* rgb */ color: rgb(86, 43, 95);
/* oklch */ color: oklch(36.9% 0.099 320.5);
Tailwind
colors: {
  custom: {
    50: '#87668c',
    500: '#562b5f',
    950: '#000000',
  },
}
SCSS
$custom: #562b5f;
$custom-light: #87668c;
$custom-dark: #000000;
JSON
{
  "hex": "#562b5f",
  "rgb": {
    "r": 86,
    "g": 43,
    "b": 95
  },
  "hsl": {
    "h": 289.615,
    "s": 37.681,
    "l": 27.059
  },
  "oklch": {
    "l": 0.36861,
    "c": 0.09919,
    "h": 320.5
  },
  "luminance": 0.04532
}

Semantic roles & 50–950 ramp

primary
#562B5F
secondary
#5F9155
accent
#CE5A6E
background
#F8F6F8
surface
#F0EBF0
border
#CBC6CB
text
#0B060C
muted
#7C7A7D

Preview Lab

Preview with #562B5F

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

Preview Lab → · Contrast checker → · Palette generator →

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