#562A63#562A63

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

Color values

HEX#562A63
RGBrgb(86, 42, 99)
HSLhsl(286, 40%, 28%)
HSVhsv(286, 58%, 39%)
CMYKcmyk(13.1%, 57.6%, 0%, 61.2%)
CIE-LABlab(25.37, 30.45, -25.39)
CIE-LCHlch(25.37, 39.64, 320.17°)
OKLaboklab(36.94% 0.0785 -0.0706)
OKLCHoklch(36.94% 0.106 318)
XYZxyz(6.9175, 4.5355, 12.3130)
Luminance0.0454 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562A63 #37632A
analogous
#392A63 #562A63 #632A53
triadic
#562A63 #63562A #2A6356
tetradic
#562A63 #63392A #37632A #2A5363
square
#562A63 #63392A #37632A #2A5363
split-complementary
#562A63 #53632A #2A6339
monochromatic
#130915 #311838 #562A63 #7B3C8E #9F52B6

Accessibility & contrast

On white

11.01
#562A63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#562A63 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562A63
11.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562A63#FFFFFF#000000##FFFFFF
##562A631.0011.011.9111.01
#FFFFFF11.011.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E3965
Deuteranopia (green-blind)
#2C3E61
Tritanopia (blue-blind)
#563342
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #562a63;
/* rgb */ color: rgb(86, 42, 99);
/* oklch */ color: oklch(36.9% 0.106 318.0);
Tailwind
colors: {
  custom: {
    50: '#87668f',
    500: '#562a63',
    950: '#000000',
  },
}
SCSS
$custom: #562a63;
$custom-light: #87668f;
$custom-dark: #000000;
JSON
{
  "hex": "#562a63",
  "rgb": {
    "r": 86,
    "g": 42,
    "b": 99
  },
  "hsl": {
    "h": 286.316,
    "s": 40.426,
    "l": 27.647
  },
  "oklch": {
    "l": 0.36941,
    "c": 0.10564,
    "h": 318
  },
  "luminance": 0.04535
}

Semantic roles & 50–950 ramp

primary
#562A63
secondary
#629553
accent
#D05873
background
#F8F6F8
surface
#F0EBF0
border
#CBC6CB
text
#0B060C
muted
#7C7A7D

Preview Lab

Preview with #562A63

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

Preview Lab → · Contrast checker → · Palette generator →

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