#562D62#562D62

#562D62 is a dark, moderate purple. Relative luminance 0.047; OKLCH L 37.4% C 0.099 H 318.2°. Best body text is #FFFFFF at 10.78:1 contrast (WCAG AA passes).

Color values

HEX#562D62
RGBrgb(86, 45, 98)
HSLhsl(286, 37%, 28%)
HSVhsv(286, 54%, 38%)
CMYKcmyk(12.2%, 54.1%, 0%, 61.6%)
CIE-LABlab(25.97, 28.47, -23.79)
CIE-LCHlch(25.97, 37.10, 320.12°)
OKLaboklab(37.37% 0.0738 -0.066)
OKLCHoklch(37.37% 0.099 318.2)
XYZxyz(6.9804, 4.7373, 12.0996)
Luminance0.0474 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562D62 #39622D
analogous
#3B2D62 #562D62 #622D53
triadic
#562D62 #62562D #2D6256
tetradic
#562D62 #623B2D #39622D #2D5362
square
#562D62 #623B2D #39622D #2D5362
split-complementary
#562D62 #53622D #2D623B
monochromatic
#120A15 #311A38 #562D62 #7B408C #9E57B2

Accessibility & contrast

On white

10.78
#562D62 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #562D62
10.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562D62#FFFFFF#000000##FFFFFF
##562D621.0010.781.9510.78
#FFFFFF10.781.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#233B64
Deuteranopia (green-blind)
#2F3F61
Tritanopia (blue-blind)
#563543
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #562d62;
/* rgb */ color: rgb(86, 45, 98);
/* oklch */ color: oklch(37.4% 0.099 318.2);
Tailwind
colors: {
  custom: {
    50: '#87688f',
    500: '#562d62',
    950: '#000000',
  },
}
SCSS
$custom: #562d62;
$custom-light: #87688f;
$custom-dark: #000000;
JSON
{
  "hex": "#562d62",
  "rgb": {
    "r": 86,
    "g": 45,
    "b": 98
  },
  "hsl": {
    "h": 286.415,
    "s": 37.063,
    "l": 28.039
  },
  "oklch": {
    "l": 0.37369,
    "c": 0.09901,
    "h": 318.2
  },
  "luminance": 0.04737
}

Semantic roles & 50–950 ramp

primary
#562D62
secondary
#659457
accent
#CD5B75
background
#F8F6F8
surface
#F0EBF0
border
#CBC6CB
text
#0B060C
muted
#7C7A7D

Preview Lab

Preview with #562D62

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

Preview Lab → · Contrast checker → · Palette generator →

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