#562E6A#562E6A

#562E6A is a dark, moderate purple. Relative luminance 0.050; OKLCH L 38.0% C 0.107 H 313.2°. Best body text is #FFFFFF at 10.53:1 contrast (WCAG AA passes).

Color values

HEX#562E6A
RGBrgb(86, 46, 106)
HSLhsl(280, 39%, 30%)
HSVhsv(280, 57%, 42%)
CMYKcmyk(18.9%, 56.6%, 0%, 58.4%)
CIE-LABlab(26.66, 29.78, -27.88)
CIE-LCHlch(26.66, 40.80, 316.89°)
OKLaboklab(38.02% 0.0731 -0.0779)
OKLCHoklch(38.02% 0.107 313.2)
XYZxyz(7.4158, 4.9732, 14.2022)
Luminance0.0497 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562E6A #426A2E
analogous
#382E6A #562E6A #6A2E60
triadic
#562E6A #6A562E #2E6A56
tetradic
#562E6A #6A382E #426A2E #2E606A
square
#562E6A #6A382E #426A2E #2E606A
split-complementary
#562E6A #606A2E #2E6A38
monochromatic
#110915 #331B3F #562E6A #794195 #995BB8

Accessibility & contrast

On white

10.53
#562E6A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #562E6A
10.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562E6A#FFFFFF#000000##FFFFFF
##562E6A1.0010.531.9910.53
#FFFFFF10.531.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F3D6C
Deuteranopia (green-blind)
#2C4068
Tritanopia (blue-blind)
#543847
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #562e6a;
/* rgb */ color: rgb(86, 46, 106);
/* oklch */ color: oklch(38.0% 0.107 313.2);
Tailwind
colors: {
  custom: {
    50: '#876895',
    500: '#562e6a',
    950: '#000000',
  },
}
SCSS
$custom: #562e6a;
$custom-light: #876895;
$custom-dark: #000000;
JSON
{
  "hex": "#562e6a",
  "rgb": {
    "r": 86,
    "g": 46,
    "b": 106
  },
  "hsl": {
    "h": 280,
    "s": 39.474,
    "l": 29.804
  },
  "oklch": {
    "l": 0.38024,
    "c": 0.10685,
    "h": 313.2
  },
  "luminance": 0.04973
}

Semantic roles & 50–950 ramp

primary
#562E6A
secondary
#6F9C58
accent
#CF5880
background
#F8F6F9
surface
#F0EBF1
border
#CBC6CB
text
#0B060D
muted
#7C7A7E

Preview Lab

Preview with #562E6A

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

Preview Lab → · Contrast checker → · Palette generator →

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