#562C68#562C68

#562C68 is a dark, moderate purple. Relative luminance 0.048; OKLCH L 37.6% C 0.108 H 314.7°. Best body text is #FFFFFF at 10.74:1 contrast (WCAG AA passes).

Color values

HEX#562C68
RGBrgb(86, 44, 104)
HSLhsl(282, 41%, 29%)
HSVhsv(282, 58%, 41%)
CMYKcmyk(17.3%, 57.7%, 0%, 59.2%)
CIE-LABlab(26.10, 30.47, -27.48)
CIE-LCHlch(26.10, 41.03, 317.95°)
OKLaboklab(37.57% 0.076 -0.0767)
OKLCHoklch(37.57% 0.108 314.7)
XYZxyz(7.2367, 4.7795, 13.6353)
Luminance0.0478 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562C68 #3E682C
analogous
#382C68 #562C68 #682C5C
triadic
#562C68 #68562C #2C6856
tetradic
#562C68 #68382C #3E682C #2C5C68
square
#562C68 #68382C #3E682C #2C5C68
split-complementary
#562C68 #5C682C #2C6838
monochromatic
#120916 #321A3D #562C68 #7A3E93 #9B57B8

Accessibility & contrast

On white

10.74
#562C68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#562C68 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562C68
10.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562C68#FFFFFF#000000##FFFFFF
##562C681.0010.741.9610.74
#FFFFFF10.741.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D3B6A
Deuteranopia (green-blind)
#2B3F66
Tritanopia (blue-blind)
#553645
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #562c68;
/* rgb */ color: rgb(86, 44, 104);
/* oklch */ color: oklch(37.6% 0.108 314.7);
Tailwind
colors: {
  custom: {
    50: '#876793',
    500: '#562c68',
    950: '#000000',
  },
}
SCSS
$custom: #562c68;
$custom-light: #876793;
$custom-dark: #000000;
JSON
{
  "hex": "#562c68",
  "rgb": {
    "r": 86,
    "g": 44,
    "b": 104
  },
  "hsl": {
    "h": 282,
    "s": 40.541,
    "l": 29.02
  },
  "oklch": {
    "l": 0.37573,
    "c": 0.10798,
    "h": 314.7
  },
  "luminance": 0.04779
}

Semantic roles & 50–950 ramp

primary
#562C68
secondary
#6A9A56
accent
#D0577C
background
#F8F6F9
surface
#F0EBF1
border
#CBC6CB
text
#0B060D
muted
#7C7A7E

Preview Lab

Preview with #562C68

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

Preview Lab → · Contrast checker → · Palette generator →

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