#562C62#562C62

#562C62 is a dark, moderate purple. Relative luminance 0.047; OKLCH L 37.2% C 0.101 H 318.3°. Best body text is #FFFFFF at 10.87:1 contrast (WCAG AA passes).

Color values

HEX#562C62
RGBrgb(86, 44, 98)
HSLhsl(287, 38%, 28%)
HSVhsv(287, 55%, 38%)
CMYKcmyk(12.2%, 55.1%, 0%, 61.6%)
CIE-LABlab(25.75, 29.06, -24.14)
CIE-LCHlch(25.75, 37.78, 320.28°)
OKLaboklab(37.2% 0.0753 -0.067)
OKLCHoklch(37.2% 0.101 318.3)
XYZxyz(6.9427, 4.6619, 12.0870)
Luminance0.0466 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562C62 #38622C
analogous
#3B2C62 #562C62 #622C53
triadic
#562C62 #62562C #2C6256
tetradic
#562C62 #623B2C #38622C #2C5362
square
#562C62 #623B2C #38622C #2C5362
split-complementary
#562C62 #53622C #2C623B
monochromatic
#130915 #311938 #562C62 #7B3F8C #9E56B3

Accessibility & contrast

On white

10.87
#562C62 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#562C62 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562C62
10.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562C62#FFFFFF#000000##FFFFFF
##562C621.0010.871.9310.87
#FFFFFF10.871.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#223A64
Deuteranopia (green-blind)
#2F3E61
Tritanopia (blue-blind)
#563442
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #562c62;
/* rgb */ color: rgb(86, 44, 98);
/* oklch */ color: oklch(37.2% 0.101 318.3);
Tailwind
colors: {
  custom: {
    50: '#87678f',
    500: '#562c62',
    950: '#000000',
  },
}
SCSS
$custom: #562c62;
$custom-light: #87678f;
$custom-dark: #000000;
JSON
{
  "hex": "#562c62",
  "rgb": {
    "r": 86,
    "g": 44,
    "b": 98
  },
  "hsl": {
    "h": 286.667,
    "s": 38.028,
    "l": 27.843
  },
  "oklch": {
    "l": 0.37203,
    "c": 0.10084,
    "h": 318.3
  },
  "luminance": 0.04662
}

Semantic roles & 50–950 ramp

primary
#562C62
secondary
#649456
accent
#CE5A74
background
#F8F6F8
surface
#F0EBF0
border
#CBC6CB
text
#0B060C
muted
#7C7A7D

Preview Lab

Preview with #562C62

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

Preview Lab → · Contrast checker → · Palette generator →

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