#562E62#562E62

#562E62 is a dark, moderate purple. Relative luminance 0.048; OKLCH L 37.5% C 0.097 H 318.0°. Best body text is #FFFFFF at 10.70:1 contrast (WCAG AA passes).

Color values

HEX#562E62
RGBrgb(86, 46, 98)
HSLhsl(286, 36%, 28%)
HSVhsv(286, 53%, 38%)
CMYKcmyk(12.2%, 53.1%, 0%, 61.6%)
CIE-LABlab(26.20, 27.88, -23.43)
CIE-LCHlch(26.20, 36.42, 319.95°)
OKLaboklab(37.54% 0.0722 -0.065)
OKLCHoklch(37.54% 0.097 318)
XYZxyz(7.0190, 4.8145, 12.1125)
Luminance0.0481 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562E62 #3A622E
analogous
#3C2E62 #562E62 #622E54
triadic
#562E62 #62562E #2E6256
tetradic
#562E62 #623C2E #3A622E #2E5462
square
#562E62 #623C2E #3A622E #2E5462
split-complementary
#562E62 #54622E #2E623C
monochromatic
#120A15 #311A38 #562E62 #7B428C #9D59B1

Accessibility & contrast

On white

10.70
#562E62 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#562E62 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562E62
10.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562E62#FFFFFF#000000##FFFFFF
##562E621.0010.701.9610.70
#FFFFFF10.701.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#243B64
Deuteranopia (green-blind)
#303F61
Tritanopia (blue-blind)
#563543
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #562e62;
/* rgb */ color: rgb(86, 46, 98);
/* oklch */ color: oklch(37.5% 0.097 318.0);
Tailwind
colors: {
  custom: {
    50: '#87688f',
    500: '#562e62',
    950: '#000000',
  },
}
SCSS
$custom: #562e62;
$custom-light: #87688f;
$custom-dark: #000000;
JSON
{
  "hex": "#562e62",
  "rgb": {
    "r": 86,
    "g": 46,
    "b": 98
  },
  "hsl": {
    "h": 286.154,
    "s": 36.111,
    "l": 28.235
  },
  "oklch": {
    "l": 0.37536,
    "c": 0.09714,
    "h": 318
  },
  "luminance": 0.04814
}

Semantic roles & 50–950 ramp

primary
#562E62
secondary
#669458
accent
#CC5C76
background
#F8F6F8
surface
#F0EBF0
border
#CBC6CB
text
#0B060C
muted
#7C7A7D

Preview Lab

Preview with #562E62

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

Preview Lab → · Contrast checker → · Palette generator →

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