#562E5A#562E5A

#562E5A is a dark, moderate purple. Relative luminance 0.047; OKLCH L 37.1% C 0.088 H 323.8°. Best body text is #FFFFFF at 10.86:1 contrast (WCAG AA passes).

Color values

HEX#562E5A
RGBrgb(86, 46, 90)
HSLhsl(295, 32%, 27%)
HSVhsv(295, 49%, 35%)
CMYKcmyk(4.4%, 48.9%, 0%, 64.7%)
CIE-LABlab(25.78, 26.07, -18.87)
CIE-LCHlch(25.78, 32.18, 324.10°)
OKLaboklab(37.08% 0.0708 -0.0519)
OKLCHoklch(37.08% 0.088 323.8)
XYZxyz(6.6600, 4.6709, 10.2216)
Luminance0.0467 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562E5A #325A2E
analogous
#402E5A #562E5A #5A2E48
triadic
#562E5A #5A562E #2E5A56
tetradic
#562E5A #5A402E #325A2E #2E485A
square
#562E5A #5A402E #325A2E #2E485A
split-complementary
#562E5A #485A2E #2E5A40
monochromatic
#130A14 #2F1932 #562E5A #7D4383 #A359AA

Accessibility & contrast

On white

10.86
#562E5A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#562E5A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562E5A
10.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562E5A#FFFFFF#000000##FFFFFF
##562E5A1.0010.861.9310.86
#FFFFFF10.861.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#293A5C
Deuteranopia (green-blind)
#343F59
Tritanopia (blue-blind)
#58333F
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #562e5a;
/* rgb */ color: rgb(86, 46, 90);
/* oklch */ color: oklch(37.1% 0.088 323.8);
Tailwind
colors: {
  custom: {
    50: '#876889',
    500: '#562e5a',
    950: '#000000',
  },
}
SCSS
$custom: #562e5a;
$custom-light: #876889;
$custom-dark: #000000;
JSON
{
  "hex": "#562e5a",
  "rgb": {
    "r": 86,
    "g": 46,
    "b": 90
  },
  "hsl": {
    "h": 294.545,
    "s": 32.353,
    "l": 26.667
  },
  "oklch": {
    "l": 0.37083,
    "c": 0.08775,
    "h": 323.8
  },
  "luminance": 0.04671
}

Semantic roles & 50–950 ramp

primary
#562E5A
secondary
#5D8C58
accent
#C95F69
background
#F8F6F8
surface
#EFEBF0
border
#CAC6CB
text
#0B060B
muted
#7C7A7C

Preview Lab

Preview with #562E5A

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

Preview Lab → · Contrast checker → · Palette generator →

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