#562A65#562A65

#562A65 is a dark, moderate purple. Relative luminance 0.046; OKLCH L 37.1% C 0.108 H 316.8°. Best body text is #FFFFFF at 10.97:1 contrast (WCAG AA passes).

Color values

HEX#562A65
RGBrgb(86, 42, 101)
HSLhsl(285, 41%, 28%)
HSVhsv(285, 58%, 40%)
CMYKcmyk(14.9%, 58.4%, 0%, 60.4%)
CIE-LABlab(25.49, 30.91, -26.51)
CIE-LCHlch(25.49, 40.72, 319.39°)
OKLaboklab(37.07% 0.0787 -0.0739)
OKLCHoklch(37.07% 0.108 316.8)
XYZxyz(7.0143, 4.5742, 12.8228)
Luminance0.0457 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562A65 #39652A
analogous
#382A65 #562A65 #652A56
triadic
#562A65 #65562A #2A6556
tetradic
#562A65 #65382A #39652A #2A5665
square
#562A65 #65382A #39652A #2A5665
split-complementary
#562A65 #56652A #2A6538
monochromatic
#120916 #31183A #562A65 #7B3C90 #9E52B7

Accessibility & contrast

On white

10.97
#562A65 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #562A65
10.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562A65#FFFFFF#000000##FFFFFF
##562A651.0010.971.9110.97
#FFFFFF10.971.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C3A67
Deuteranopia (green-blind)
#2B3E63
Tritanopia (blue-blind)
#553343
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #562a65;
/* rgb */ color: rgb(86, 42, 101);
/* oklch */ color: oklch(37.1% 0.108 316.8);
Tailwind
colors: {
  custom: {
    50: '#876691',
    500: '#562a65',
    950: '#000000',
  },
}
SCSS
$custom: #562a65;
$custom-light: #876691;
$custom-dark: #000000;
JSON
{
  "hex": "#562a65",
  "rgb": {
    "r": 86,
    "g": 42,
    "b": 101
  },
  "hsl": {
    "h": 284.746,
    "s": 41.259,
    "l": 28.039
  },
  "oklch": {
    "l": 0.37066,
    "c": 0.10797,
    "h": 316.8
  },
  "luminance": 0.04574
}

Semantic roles & 50–950 ramp

primary
#562A65
secondary
#659753
accent
#D15776
background
#F8F6F8
surface
#F0EBF0
border
#CBC6CB
text
#0B060D
muted
#7C7A7D

Preview Lab

Preview with #562A65

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

Preview Lab → · Contrast checker → · Palette generator →

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