#562E54#562E54

#562E54 is a dark, moderate purple. Relative luminance 0.046; OKLCH L 36.8% C 0.081 H 328.9°. Best body text is #FFFFFF at 10.97:1 contrast (WCAG AA passes).

Color values

HEX#562E54
RGBrgb(86, 46, 84)
HSLhsl(303, 30%, 26%)
HSVhsv(303, 47%, 34%)
CMYKcmyk(0%, 46.5%, 2.3%, 66.3%)
CIE-LABlab(25.48, 24.77, -15.38)
CIE-LCHlch(25.48, 29.16, 328.17°)
OKLaboklab(36.77% 0.0694 -0.0419)
OKLCHoklch(36.77% 0.081 328.9)
XYZxyz(6.4149, 4.5728, 8.9305)
Luminance0.0457 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562E54 #2E5630
analogous
#442E56 #562E54 #562E40
triadic
#562E54 #54562E #2E5456
tetradic
#562E54 #56442E #2E5630 #2E4056
square
#562E54 #56442E #2E5630 #2E4056
split-complementary
#562E54 #40562E #2E5644
monochromatic
#140B13 #2E192D #562E54 #7E437B #A659A2

Accessibility & contrast

On white

10.97
#562E54 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#562E54 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562E54
10.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562E54#FFFFFF#000000##FFFFFF
##562E541.0010.971.9110.97
#FFFFFF10.971.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C3955
Deuteranopia (green-blind)
#363E53
Tritanopia (blue-blind)
#59313D
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #562e54;
/* rgb */ color: rgb(86, 46, 84);
/* oklch */ color: oklch(36.8% 0.081 328.9);
Tailwind
colors: {
  custom: {
    50: '#876884',
    500: '#562e54',
    950: '#000000',
  },
}
SCSS
$custom: #562e54;
$custom-light: #876884;
$custom-dark: #000000;
JSON
{
  "hex": "#562e54",
  "rgb": {
    "r": 86,
    "g": 46,
    "b": 84
  },
  "hsl": {
    "h": 303,
    "s": 30.303,
    "l": 25.882
  },
  "oklch": {
    "l": 0.36767,
    "c": 0.08108,
    "h": 328.9
  },
  "luminance": 0.04573
}

Semantic roles & 50–950 ramp

primary
#562E54
secondary
#58885B
accent
#C76661
background
#F8F6F8
surface
#EFEBEF
border
#CAC6CA
text
#0B060B
muted
#7C7A7C

Preview Lab

Preview with #562E54

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

Preview Lab → · Contrast checker → · Palette generator →

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