#562F60#562F60

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

Color values

HEX#562F60
RGBrgb(86, 47, 96)
HSLhsl(288, 34%, 28%)
HSVhsv(288, 51%, 38%)
CMYKcmyk(10.4%, 51%, 0%, 62.4%)
CIE-LABlab(26.32, 26.82, -21.94)
CIE-LCHlch(26.32, 34.65, 320.72°)
OKLaboklab(37.59% 0.0703 -0.0607)
OKLCHoklch(37.59% 0.093 319.2)
XYZxyz(6.9653, 4.8562, 11.6345)
Luminance0.0486 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562F60 #39602F
analogous
#3D2F60 #562F60 #602F51
triadic
#562F60 #60562F #2F6056
tetradic
#562F60 #603D2F #39602F #2F5160
square
#562F60 #603D2F #39602F #2F5160
split-complementary
#562F60 #51602F #2F603D
monochromatic
#120A15 #311B37 #562F60 #7B4389 #9E5BAF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##562F60#FFFFFF#000000##FFFFFF
##562F601.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)
#273C62
Deuteranopia (green-blind)
#32405F
Tritanopia (blue-blind)
#563643
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #562f60;
/* rgb */ color: rgb(86, 47, 96);
/* oklch */ color: oklch(37.6% 0.093 319.2);
Tailwind
colors: {
  custom: {
    50: '#87698d',
    500: '#562f60',
    950: '#000000',
  },
}
SCSS
$custom: #562f60;
$custom-light: #87698d;
$custom-dark: #000000;
JSON
{
  "hex": "#562f60",
  "rgb": {
    "r": 86,
    "g": 47,
    "b": 96
  },
  "hsl": {
    "h": 287.755,
    "s": 34.266,
    "l": 28.039
  },
  "oklch": {
    "l": 0.37591,
    "c": 0.09286,
    "h": 319.2
  },
  "luminance": 0.04856
}

Semantic roles & 50–950 ramp

primary
#562F60
secondary
#659259
accent
#CA5D74
background
#F8F6F8
surface
#F0EBF0
border
#CBC6CB
text
#0B060C
muted
#7C7A7D

Preview Lab

Preview with #562F60

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

Preview Lab → · Contrast checker → · Palette generator →

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