#562D68#562D68

#562D68 is a dark, moderate purple. Relative luminance 0.049; OKLCH L 37.7% C 0.106 H 314.5°. Best body text is #FFFFFF at 10.65:1 contrast (WCAG AA passes).

Color values

HEX#562D68
RGBrgb(86, 45, 104)
HSLhsl(282, 40%, 29%)
HSVhsv(282, 57%, 41%)
CMYKcmyk(17.3%, 56.7%, 0%, 59.2%)
CIE-LABlab(26.32, 29.88, -27.13)
CIE-LCHlch(26.32, 40.36, 317.77°)
OKLaboklab(37.74% 0.0745 -0.0757)
OKLCHoklch(37.74% 0.106 314.5)
XYZxyz(7.2744, 4.8549, 13.6479)
Luminance0.0486 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562D68 #3F682D
analogous
#392D68 #562D68 #682D5D
triadic
#562D68 #68562D #2D6856
tetradic
#562D68 #68392D #3F682D #2D5D68
square
#562D68 #68392D #3F682D #2D5D68
split-complementary
#562D68 #5D682D #2D6839
monochromatic
#120915 #331B3D #562D68 #793F93 #9A58B7

Accessibility & contrast

On white

10.65
#562D68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#562D68 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562D68
10.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562D68#FFFFFF#000000##FFFFFF
##562D681.0010.651.9710.65
#FFFFFF10.651.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F3C6A
Deuteranopia (green-blind)
#2C3F66
Tritanopia (blue-blind)
#553746
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #562d68;
/* rgb */ color: rgb(86, 45, 104);
/* oklch */ color: oklch(37.7% 0.106 314.5);
Tailwind
colors: {
  custom: {
    50: '#876893',
    500: '#562d68',
    950: '#000000',
  },
}
SCSS
$custom: #562d68;
$custom-light: #876893;
$custom-dark: #000000;
JSON
{
  "hex": "#562d68",
  "rgb": {
    "r": 86,
    "g": 45,
    "b": 104
  },
  "hsl": {
    "h": 281.695,
    "s": 39.597,
    "l": 29.216
  },
  "oklch": {
    "l": 0.37735,
    "c": 0.1062,
    "h": 314.5
  },
  "luminance": 0.04855
}

Semantic roles & 50–950 ramp

primary
#562D68
secondary
#6B9A57
accent
#CF587D
background
#F8F6F9
surface
#F0EBF1
border
#CBC6CB
text
#0B060D
muted
#7C7A7E

Preview Lab

Preview with #562D68

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

Preview Lab → · Contrast checker → · Palette generator →

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