#562D63#562D63

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

Color values

HEX#562D63
RGBrgb(86, 45, 99)
HSLhsl(286, 38%, 28%)
HSVhsv(286, 55%, 39%)
CMYKcmyk(13.1%, 54.5%, 0%, 61.2%)
CIE-LABlab(26.03, 28.70, -24.35)
CIE-LCHlch(26.03, 37.64, 319.69°)
OKLaboklab(37.43% 0.0739 -0.0676)
OKLCHoklch(37.43% 0.1 317.5)
XYZxyz(7.0280, 4.7563, 12.3498)
Luminance0.0476 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562D63 #3A632D
analogous
#3B2D63 #562D63 #632D55
triadic
#562D63 #63562D #2D6356
tetradic
#562D63 #633B2D #3A632D #2D5563
square
#562D63 #633B2D #3A632D #2D5563
split-complementary
#562D63 #55632D #2D633B
monochromatic
#120A15 #311A39 #562D63 #7B408D #9D58B3

Accessibility & contrast

On white

10.76
#562D63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#562D63 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562D63
10.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562D63#FFFFFF#000000##FFFFFF
##562D631.0010.761.9510.76
#FFFFFF10.761.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#223B65
Deuteranopia (green-blind)
#2F3F62
Tritanopia (blue-blind)
#563543
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #562d63;
/* rgb */ color: rgb(86, 45, 99);
/* oklch */ color: oklch(37.4% 0.100 317.5);
Tailwind
colors: {
  custom: {
    50: '#87688f',
    500: '#562d63',
    950: '#000000',
  },
}
SCSS
$custom: #562d63;
$custom-light: #87688f;
$custom-dark: #000000;
JSON
{
  "hex": "#562d63",
  "rgb": {
    "r": 86,
    "g": 45,
    "b": 99
  },
  "hsl": {
    "h": 285.556,
    "s": 37.5,
    "l": 28.235
  },
  "oklch": {
    "l": 0.37428,
    "c": 0.10019,
    "h": 317.5
  },
  "luminance": 0.04756
}

Semantic roles & 50–950 ramp

primary
#562D63
secondary
#669557
accent
#CD5A76
background
#F8F6F8
surface
#F0EBF0
border
#CBC6CB
text
#0B060C
muted
#7C7A7D

Preview Lab

Preview with #562D63

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

Preview Lab → · Contrast checker → · Palette generator →

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