#562E68#562E68

#562E68 is a dark, moderate purple. Relative luminance 0.049; OKLCH L 37.9% C 0.104 H 314.3°. Best body text is #FFFFFF at 10.57:1 contrast (WCAG AA passes).

Color values

HEX#562E68
RGBrgb(86, 46, 104)
HSLhsl(281, 39%, 29%)
HSVhsv(281, 56%, 41%)
CMYKcmyk(17.3%, 55.8%, 0%, 59.2%)
CIE-LABlab(26.54, 29.30, -26.78)
CIE-LCHlch(26.54, 39.69, 317.57°)
OKLaboklab(37.9% 0.0729 -0.0747)
OKLCHoklch(37.9% 0.104 314.3)
XYZxyz(7.3130, 4.9321, 13.6608)
Luminance0.0493 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562E68 #40682E
analogous
#392E68 #562E68 #682E5D
triadic
#562E68 #68562E #2E6856
tetradic
#562E68 #68392E #40682E #2E5D68
square
#562E68 #68392E #40682E #2E5D68
split-complementary
#562E68 #5D682E #2E6839
monochromatic
#120915 #331B3E #562E68 #794192 #9A5AB6

Accessibility & contrast

On white

10.57
#562E68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#562E68 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562E68
10.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562E68#FFFFFF#000000##FFFFFF
##562E681.0010.571.9910.57
#FFFFFF10.571.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#203C6A
Deuteranopia (green-blind)
#2D4066
Tritanopia (blue-blind)
#553746
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #562e68;
/* rgb */ color: rgb(86, 46, 104);
/* oklch */ color: oklch(37.9% 0.104 314.3);
Tailwind
colors: {
  custom: {
    50: '#876893',
    500: '#562e68',
    950: '#000000',
  },
}
SCSS
$custom: #562e68;
$custom-light: #876893;
$custom-dark: #000000;
JSON
{
  "hex": "#562e68",
  "rgb": {
    "r": 86,
    "g": 46,
    "b": 104
  },
  "hsl": {
    "h": 281.379,
    "s": 38.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.37899,
    "c": 0.1044,
    "h": 314.3
  },
  "luminance": 0.04932
}

Semantic roles & 50–950 ramp

primary
#562E68
secondary
#6C9A58
accent
#CF597E
background
#F8F6F9
surface
#F0EBF1
border
#CBC6CB
text
#0B060D
muted
#7C7A7E

Preview Lab

Preview with #562E68

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

Preview Lab → · Contrast checker → · Palette generator →

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