#562B66#562B66

#562B66 is a dark, moderate purple. Relative luminance 0.047; OKLCH L 37.3% C 0.107 H 316.1°. Best body text is #FFFFFF at 10.86:1 contrast (WCAG AA passes).

Color values

HEX#562B66
RGBrgb(86, 43, 102)
HSLhsl(284, 41%, 28%)
HSVhsv(284, 58%, 40%)
CMYKcmyk(15.7%, 57.8%, 0%, 60%)
CIE-LABlab(25.76, 30.57, -26.72)
CIE-LCHlch(25.76, 40.60, 318.85°)
OKLaboklab(37.29% 0.0773 -0.0745)
OKLCHoklch(37.29% 0.107 316.1)
XYZxyz(7.0995, 4.6657, 13.0944)
Luminance0.0466 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562B66 #3B662B
analogous
#382B66 #562B66 #662B58
triadic
#562B66 #66562B #2B6656
tetradic
#562B66 #66382B #3B662B #2B5866
square
#562B66 #66382B #3B662B #2B5866
split-complementary
#562B66 #58662B #2B6638
monochromatic
#120916 #32193B #562B66 #7A3D91 #9C54B7

Accessibility & contrast

On white

10.86
#562B66 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #562B66
10.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562B66#FFFFFF#000000##FFFFFF
##562B661.0010.861.9310.86
#FFFFFF10.861.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D3A68
Deuteranopia (green-blind)
#2C3E64
Tritanopia (blue-blind)
#553444
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #562b66;
/* rgb */ color: rgb(86, 43, 102);
/* oklch */ color: oklch(37.3% 0.107 316.1);
Tailwind
colors: {
  custom: {
    50: '#876692',
    500: '#562b66',
    950: '#000000',
  },
}
SCSS
$custom: #562b66;
$custom-light: #876692;
$custom-dark: #000000;
JSON
{
  "hex": "#562b66",
  "rgb": {
    "r": 86,
    "g": 43,
    "b": 102
  },
  "hsl": {
    "h": 283.729,
    "s": 40.69,
    "l": 28.431
  },
  "oklch": {
    "l": 0.37287,
    "c": 0.10737,
    "h": 316.1
  },
  "luminance": 0.04665
}

Semantic roles & 50–950 ramp

primary
#562B66
secondary
#679855
accent
#D15778
background
#F8F6F9
surface
#F0EBF1
border
#CBC6CB
text
#0B060D
muted
#7C7A7E

Preview Lab

Preview with #562B66

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

Preview Lab → · Contrast checker → · Palette generator →

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