#562A68#562A68

#562A68 is a dark, moderate purple. Relative luminance 0.046; OKLCH L 37.3% C 0.111 H 315.1°. Best body text is #FFFFFF at 10.90:1 contrast (WCAG AA passes).

Color values

HEX#562A68
RGBrgb(86, 42, 104)
HSLhsl(283, 42%, 29%)
HSVhsv(283, 60%, 41%)
CMYKcmyk(17.3%, 59.6%, 0%, 59.2%)
CIE-LABlab(25.67, 31.61, -28.16)
CIE-LCHlch(25.67, 42.34, 318.30°)
OKLaboklab(37.26% 0.079 -0.0787)
OKLCHoklch(37.26% 0.111 315.1)
XYZxyz(7.1640, 4.6341, 13.6111)
Luminance0.0463 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562A68 #3C682A
analogous
#372A68 #562A68 #682A5B
triadic
#562A68 #68562A #2A6856
tetradic
#562A68 #68372A #3C682A #2A5B68
square
#562A68 #68372A #3C682A #2A5B68
split-complementary
#562A68 #5B682A #2A6837
monochromatic
#120916 #32183C #562A68 #7A3C94 #9C53B9

Accessibility & contrast

On white

10.90
#562A68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #562A68
10.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562A68#FFFFFF#000000##FFFFFF
##562A681.0010.901.9310.90
#FFFFFF10.901.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A3A6A
Deuteranopia (green-blind)
#293E66
Tritanopia (blue-blind)
#553444
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #562a68;
/* rgb */ color: rgb(86, 42, 104);
/* oklch */ color: oklch(37.3% 0.111 315.1);
Tailwind
colors: {
  custom: {
    50: '#876693',
    500: '#562a68',
    950: '#000000',
  },
}
SCSS
$custom: #562a68;
$custom-light: #876693;
$custom-dark: #000000;
JSON
{
  "hex": "#562a68",
  "rgb": {
    "r": 86,
    "g": 42,
    "b": 104
  },
  "hsl": {
    "h": 282.581,
    "s": 42.466,
    "l": 28.627
  },
  "oklch": {
    "l": 0.37256,
    "c": 0.11148,
    "h": 315.1
  },
  "luminance": 0.04634
}

Semantic roles & 50–950 ramp

primary
#562A68
secondary
#689A54
accent
#D2567A
background
#F8F6F9
surface
#F0EBF1
border
#CBC6CB
text
#0B060D
muted
#7C7A7E

Preview Lab

Preview with #562A68

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

Preview Lab → · Contrast checker → · Palette generator →

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