#562A62#562A62

#562A62 is a dark, moderate purple. Relative luminance 0.045; OKLCH L 36.9% C 0.104 H 318.7°. Best body text is #FFFFFF at 11.03:1 contrast (WCAG AA passes).

Color values

HEX#562A62
RGBrgb(86, 42, 98)
HSLhsl(287, 40%, 27%)
HSVhsv(287, 57%, 38%)
CMYKcmyk(12.2%, 57.1%, 0%, 61.6%)
CIE-LABlab(25.31, 30.22, -24.83)
CIE-LCHlch(25.31, 39.11, 320.59°)
OKLaboklab(36.88% 0.0784 -0.069)
OKLCHoklch(36.88% 0.104 318.7)
XYZxyz(6.8700, 4.5165, 12.0628)
Luminance0.0452 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562A62 #36622A
analogous
#3A2A62 #562A62 #622A52
triadic
#562A62 #62562A #2A6256
tetradic
#562A62 #623A2A #36622A #2A5262
square
#562A62 #623A2A #36622A #2A5262
split-complementary
#562A62 #52622A #2A623A
monochromatic
#130915 #301837 #562A62 #7C3C8D #9F52B5

Accessibility & contrast

On white

11.03
#562A62 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#562A62 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562A62
11.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562A62#FFFFFF#000000##FFFFFF
##562A621.0011.031.9011.03
#FFFFFF11.031.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F3964
Deuteranopia (green-blind)
#2D3E60
Tritanopia (blue-blind)
#563241
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #562a62;
/* rgb */ color: rgb(86, 42, 98);
/* oklch */ color: oklch(36.9% 0.104 318.7);
Tailwind
colors: {
  custom: {
    50: '#87668f',
    500: '#562a62',
    950: '#000000',
  },
}
SCSS
$custom: #562a62;
$custom-light: #87668f;
$custom-dark: #000000;
JSON
{
  "hex": "#562a62",
  "rgb": {
    "r": 86,
    "g": 42,
    "b": 98
  },
  "hsl": {
    "h": 287.143,
    "s": 40,
    "l": 27.451
  },
  "oklch": {
    "l": 0.3688,
    "c": 0.10448,
    "h": 318.7
  },
  "luminance": 0.04516
}

Semantic roles & 50–950 ramp

primary
#562A62
secondary
#619453
accent
#D05872
background
#F8F6F8
surface
#F0EBF0
border
#CBC6CB
text
#0B060C
muted
#7C7A7D

Preview Lab

Preview with #562A62

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

Preview Lab → · Contrast checker → · Palette generator →

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