#562A56#562A56

#562A56 is a dark, moderate purple. Relative luminance 0.043; OKLCH L 36.2% C 0.091 H 327.3°. Best body text is #FFFFFF at 11.28:1 contrast (WCAG AA passes).

Color values

HEX#562A56
RGBrgb(86, 42, 86)
HSLhsl(300, 34%, 25%)
HSVhsv(300, 51%, 34%)
CMYKcmyk(0%, 51.2%, 0%, 66.3%)
CIE-LABlab(24.66, 27.57, -17.97)
CIE-LCHlch(24.66, 32.91, 326.90°)
OKLaboklab(36.19% 0.0766 -0.0492)
OKLCHoklch(36.19% 0.091 327.3)
XYZxyz(6.3453, 4.3066, 9.2993)
Luminance0.0431 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562A56 #2A562A
analogous
#402A56 #562A56 #562A40
triadic
#562A56 #56562A #2A5656
tetradic
#562A56 #56402A #2A562A #2A4056
square
#562A56 #56402A #2A562A #2A4056
split-complementary
#562A56 #40562A #2A5640
monochromatic
#150A15 #2D162D #562A56 #7F3E7F #A852A8

Accessibility & contrast

On white

11.28
#562A56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#562A56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562A56
11.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562A56#FFFFFF#000000##FFFFFF
##562A561.0011.281.8611.28
#FFFFFF11.281.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.281.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #562a56;
/* rgb */ color: rgb(86, 42, 86);
/* oklch */ color: oklch(36.2% 0.091 327.3);
Tailwind
colors: {
  custom: {
    50: '#876586',
    500: '#562a56',
    950: '#000000',
  },
}
SCSS
$custom: #562a56;
$custom-light: #876586;
$custom-dark: #000000;
JSON
{
  "hex": "#562a56",
  "rgb": {
    "r": 86,
    "g": 42,
    "b": 86
  },
  "hsl": {
    "h": 300,
    "s": 34.375,
    "l": 25.098
  },
  "oklch": {
    "l": 0.36187,
    "c": 0.09105,
    "h": 327.3
  },
  "luminance": 0.04306
}

Semantic roles & 50–950 ramp

primary
#562A56
secondary
#538853
accent
#CA5D5D
background
#F8F6F8
surface
#F0EBEF
border
#CBC6CA
text
#0B060B
muted
#7C7A7C

Preview Lab

Preview with #562A56

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

Preview Lab → · Contrast checker → · Palette generator →

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