#562B68#562B68

#562B68 is a dark, moderate purple. Relative luminance 0.047; OKLCH L 37.4% C 0.110 H 314.9°. Best body text is #FFFFFF at 10.82:1 contrast (WCAG AA passes).

Color values

HEX#562B68
RGBrgb(86, 43, 104)
HSLhsl(282, 41%, 29%)
HSVhsv(282, 59%, 41%)
CMYKcmyk(17.3%, 58.7%, 0%, 59.2%)
CIE-LABlab(25.88, 31.04, -27.82)
CIE-LCHlch(25.88, 41.69, 318.13°)
OKLaboklab(37.41% 0.0775 -0.0777)
OKLCHoklch(37.41% 0.11 314.9)
XYZxyz(7.1999, 4.7059, 13.6231)
Luminance0.0471 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562B68 #3D682B
analogous
#382B68 #562B68 #682B5C
triadic
#562B68 #68562B #2B6856
tetradic
#562B68 #68382B #3D682B #2B5C68
square
#562B68 #68382B #3D682B #2B5C68
split-complementary
#562B68 #5C682B #2B6838
monochromatic
#120916 #32193D #562B68 #7A3D93 #9B55B9

Accessibility & contrast

On white

10.82
#562B68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#562B68 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562B68
10.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562B68#FFFFFF#000000##FFFFFF
##562B681.0010.821.9410.82
#FFFFFF10.821.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B3B6A
Deuteranopia (green-blind)
#2A3E66
Tritanopia (blue-blind)
#553545
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #562b68;
/* rgb */ color: rgb(86, 43, 104);
/* oklch */ color: oklch(37.4% 0.110 314.9);
Tailwind
colors: {
  custom: {
    50: '#876693',
    500: '#562b68',
    950: '#000000',
  },
}
SCSS
$custom: #562b68;
$custom-light: #876693;
$custom-dark: #000000;
JSON
{
  "hex": "#562b68",
  "rgb": {
    "r": 86,
    "g": 43,
    "b": 104
  },
  "hsl": {
    "h": 282.295,
    "s": 41.497,
    "l": 28.824
  },
  "oklch": {
    "l": 0.37413,
    "c": 0.10974,
    "h": 314.9
  },
  "luminance": 0.04706
}

Semantic roles & 50–950 ramp

primary
#562B68
secondary
#699A55
accent
#D1567B
background
#F8F6F9
surface
#F0EBF1
border
#CBC6CB
text
#0B060D
muted
#7C7A7E

Preview Lab

Preview with #562B68

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

Preview Lab → · Contrast checker → · Palette generator →

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