#562A66#562A66

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

Color values

HEX#562A66
RGBrgb(86, 42, 102)
HSLhsl(284, 42%, 28%)
HSVhsv(284, 59%, 40%)
CMYKcmyk(15.7%, 58.8%, 0%, 60%)
CIE-LABlab(25.55, 31.14, -27.06)
CIE-LCHlch(25.55, 41.26, 319.01°)
OKLaboklab(37.13% 0.0788 -0.0755)
OKLCHoklch(37.13% 0.109 316.2)
XYZxyz(7.0636, 4.5939, 13.0824)
Luminance0.0459 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562A66 #3A662A
analogous
#382A66 #562A66 #662A58
triadic
#562A66 #66562A #2A6656
tetradic
#562A66 #66382A #3A662A #2A5866
square
#562A66 #66382A #3A662A #2A5866
split-complementary
#562A66 #58662A #2A6638
monochromatic
#120916 #31183B #562A66 #7B3C91 #9D52B8

Accessibility & contrast

On white

10.94
#562A66 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#562A66 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562A66
10.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562A66#FFFFFF#000000##FFFFFF
##562A661.0010.941.9210.94
#FFFFFF10.941.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C3A68
Deuteranopia (green-blind)
#2B3E64
Tritanopia (blue-blind)
#553443
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #562a66;
/* rgb */ color: rgb(86, 42, 102);
/* oklch */ color: oklch(37.1% 0.109 316.2);
Tailwind
colors: {
  custom: {
    50: '#876692',
    500: '#562a66',
    950: '#000000',
  },
}
SCSS
$custom: #562a66;
$custom-light: #876692;
$custom-dark: #000000;
JSON
{
  "hex": "#562a66",
  "rgb": {
    "r": 86,
    "g": 42,
    "b": 102
  },
  "hsl": {
    "h": 284,
    "s": 41.667,
    "l": 28.235
  },
  "oklch": {
    "l": 0.37129,
    "c": 0.10914,
    "h": 316.2
  },
  "luminance": 0.04594
}

Semantic roles & 50–950 ramp

primary
#562A66
secondary
#669854
accent
#D15677
background
#F8F6F9
surface
#F0EBF1
border
#CBC6CB
text
#0B060D
muted
#7C7A7E

Preview Lab

Preview with #562A66

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

Preview Lab → · Contrast checker → · Palette generator →

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