#562E5B#562E5B

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

Color values

HEX#562E5B
RGBrgb(86, 46, 91)
HSLhsl(293, 33%, 27%)
HSVhsv(293, 49%, 36%)
CMYKcmyk(5.5%, 49.5%, 0%, 64.3%)
CIE-LABlab(25.83, 26.29, -19.45)
CIE-LCHlch(25.83, 32.70, 323.51°)
OKLaboklab(37.14% 0.071 -0.0535)
OKLCHoklch(37.14% 0.089 323)
XYZxyz(6.7029, 4.6880, 10.4473)
Luminance0.0469 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562E5B #335B2E
analogous
#402E5B #562E5B #5B2E4A
triadic
#562E5B #5B562E #2E5B56
tetradic
#562E5B #5B402E #335B2E #2E4A5B
square
#562E5B #5B402E #335B2E #2E4A5B
split-complementary
#562E5B #4A5B2E #2E5B40
monochromatic
#130A14 #301932 #562E5B #7C4384 #A259AB

Accessibility & contrast

On white

10.84
#562E5B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#562E5B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562E5B
10.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562E5B#FFFFFF#000000##FFFFFF
##562E5B1.0010.841.9410.84
#FFFFFF10.841.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#283A5D
Deuteranopia (green-blind)
#343F5A
Tritanopia (blue-blind)
#573340
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #562e5b;
/* rgb */ color: rgb(86, 46, 91);
/* oklch */ color: oklch(37.1% 0.089 323.0);
Tailwind
colors: {
  custom: {
    50: '#876889',
    500: '#562e5b',
    950: '#000000',
  },
}
SCSS
$custom: #562e5b;
$custom-light: #876889;
$custom-dark: #000000;
JSON
{
  "hex": "#562e5b",
  "rgb": {
    "r": 86,
    "g": 46,
    "b": 91
  },
  "hsl": {
    "h": 293.333,
    "s": 32.847,
    "l": 26.863
  },
  "oklch": {
    "l": 0.37138,
    "c": 0.0889,
    "h": 323
  },
  "luminance": 0.04688
}

Semantic roles & 50–950 ramp

primary
#562E5B
secondary
#5E8D58
accent
#C95F6B
background
#F8F6F8
surface
#EFEBF0
border
#CAC6CB
text
#0B060B
muted
#7C7A7C

Preview Lab

Preview with #562E5B

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

Preview Lab → · Contrast checker → · Palette generator →

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