#562F68#562F68

#562F68 is a dark, moderate purple. Relative luminance 0.050; OKLCH L 38.1% C 0.103 H 314.1°. Best body text is #FFFFFF at 10.49:1 contrast (WCAG AA passes).

Color values

HEX#562F68
RGBrgb(86, 47, 104)
HSLhsl(281, 38%, 30%)
HSVhsv(281, 55%, 41%)
CMYKcmyk(17.3%, 54.8%, 0%, 59.2%)
CIE-LABlab(26.77, 28.71, -26.42)
CIE-LCHlch(26.77, 39.01, 317.37°)
OKLaboklab(38.07% 0.0714 -0.0737)
OKLCHoklch(38.07% 0.103 314.1)
XYZxyz(7.3525, 5.0111, 13.6739)
Luminance0.0501 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562F68 #41682F
analogous
#3A2F68 #562F68 #682F5D
triadic
#562F68 #68562F #2F6856
tetradic
#562F68 #683A2F #41682F #2F5D68
square
#562F68 #683A2F #41682F #2F5D68
split-complementary
#562F68 #5D682F #2F683A
monochromatic
#110A15 #331C3E #562F68 #794292 #995CB5

Accessibility & contrast

On white

10.49
#562F68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#562F68 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562F68
10.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562F68#FFFFFF#000000##FFFFFF
##562F681.0010.492.0010.49
#FFFFFF10.491.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#223D6A
Deuteranopia (green-blind)
#2E4066
Tritanopia (blue-blind)
#553847
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #562f68;
/* rgb */ color: rgb(86, 47, 104);
/* oklch */ color: oklch(38.1% 0.103 314.1);
Tailwind
colors: {
  custom: {
    50: '#876993',
    500: '#562f68',
    950: '#000000',
  },
}
SCSS
$custom: #562f68;
$custom-light: #876993;
$custom-dark: #000000;
JSON
{
  "hex": "#562f68",
  "rgb": {
    "r": 86,
    "g": 47,
    "b": 104
  },
  "hsl": {
    "h": 281.053,
    "s": 37.748,
    "l": 29.608
  },
  "oklch": {
    "l": 0.38066,
    "c": 0.1026,
    "h": 314.1
  },
  "luminance": 0.05011
}

Semantic roles & 50–950 ramp

primary
#562F68
secondary
#6E9959
accent
#CE5A7F
background
#F8F6F9
surface
#F0EBF1
border
#CBC6CB
text
#0B060D
muted
#7C7A7E

Preview Lab

Preview with #562F68

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

Preview Lab → · Contrast checker → · Palette generator →

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