#562B56#562B56

#562B56 is a dark, moderate purple. Relative luminance 0.044; OKLCH L 36.4% C 0.089 H 327.2°. Best body text is #FFFFFF at 11.20:1 contrast (WCAG AA passes).

Color values

HEX#562B56
RGBrgb(86, 43, 86)
HSLhsl(300, 33%, 25%)
HSVhsv(300, 50%, 34%)
CMYKcmyk(0%, 50%, 0%, 66.3%)
CIE-LABlab(24.88, 26.99, -17.62)
CIE-LCHlch(24.88, 32.23, 326.86°)
OKLaboklab(36.35% 0.0749 -0.0483)
OKLCHoklch(36.35% 0.089 327.2)
XYZxyz(6.3812, 4.3784, 9.3113)
Luminance0.0438 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562B56 #2B562B
analogous
#402B56 #562B56 #562B40
triadic
#562B56 #56562B #2B5656
tetradic
#562B56 #56402B #2B562B #2B4056
square
#562B56 #56402B #2B562B #2B4056
split-complementary
#562B56 #40562B #2B5640
monochromatic
#140A14 #2D172D #562B56 #7F3F7F #A854A8

Accessibility & contrast

On white

11.20
#562B56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#562B56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562B56
11.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562B56#FFFFFF#000000##FFFFFF
##562B561.0011.201.8811.20
#FFFFFF11.201.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#273857
Deuteranopia (green-blind)
#343D55
Tritanopia (blue-blind)
#582F3C
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #562b56;
/* rgb */ color: rgb(86, 43, 86);
/* oklch */ color: oklch(36.4% 0.089 327.2);
Tailwind
colors: {
  custom: {
    50: '#876685',
    500: '#562b56',
    950: '#000000',
  },
}
SCSS
$custom: #562b56;
$custom-light: #876685;
$custom-dark: #000000;
JSON
{
  "hex": "#562b56",
  "rgb": {
    "r": 86,
    "g": 43,
    "b": 86
  },
  "hsl": {
    "h": 300,
    "s": 33.333,
    "l": 25.294
  },
  "oklch": {
    "l": 0.36354,
    "c": 0.08913,
    "h": 327.2
  },
  "luminance": 0.04378
}

Semantic roles & 50–950 ramp

primary
#562B56
secondary
#558855
accent
#C95E5E
background
#F8F6F8
surface
#F0EBEF
border
#CBC6CA
text
#0B060B
muted
#7C7A7C

Preview Lab

Preview with #562B56

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

Preview Lab → · Contrast checker → · Palette generator →

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