#562D52#562D52

#562D52 is a dark, moderate purple. Relative luminance 0.045; OKLCH L 36.5% C 0.081 H 330.7°. Best body text is #FFFFFF at 11.09:1 contrast (WCAG AA passes).

Color values

HEX#562D52
RGBrgb(86, 45, 82)
HSLhsl(306, 31%, 26%)
HSVhsv(306, 48%, 34%)
CMYKcmyk(0%, 47.7%, 4.7%, 66.3%)
CIE-LABlab(25.15, 24.96, -14.56)
CIE-LCHlch(25.15, 28.90, 329.74°)
OKLaboklab(36.49% 0.0706 -0.0396)
OKLCHoklch(36.49% 0.081 330.7)
XYZxyz(6.2991, 4.4647, 8.5110)
Luminance0.0446 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562D52 #2D5631
analogous
#452D56 #562D52 #562D3D
triadic
#562D52 #52562D #2D5256
tetradic
#562D52 #56452D #2D5631 #2D3D56
square
#562D52 #56452D #2D5631 #2D3D56
split-complementary
#562D52 #3D562D #2D5645
monochromatic
#140B13 #2E182C #562D52 #7E4278 #A6579F

Accessibility & contrast

On white

11.09
#562D52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#562D52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562D52
11.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562D52#FFFFFF#000000##FFFFFF
##562D521.0011.091.8911.09
#FFFFFF11.091.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B3853
Deuteranopia (green-blind)
#363E51
Tritanopia (blue-blind)
#59303B
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #562d52;
/* rgb */ color: rgb(86, 45, 82);
/* oklch */ color: oklch(36.5% 0.081 330.7);
Tailwind
colors: {
  custom: {
    50: '#876782',
    500: '#562d52',
    950: '#000000',
  },
}
SCSS
$custom: #562d52;
$custom-light: #876782;
$custom-dark: #000000;
JSON
{
  "hex": "#562d52",
  "rgb": {
    "r": 86,
    "g": 45,
    "b": 82
  },
  "hsl": {
    "h": 305.854,
    "s": 31.298,
    "l": 25.686
  },
  "oklch": {
    "l": 0.3649,
    "c": 0.08096,
    "h": 330.7
  },
  "luminance": 0.04464
}

Semantic roles & 50–950 ramp

primary
#562D52
secondary
#57885C
accent
#C76A60
background
#F8F6F8
surface
#EFEBEF
border
#CAC6CA
text
#0B060A
muted
#7C7A7C

Preview Lab

Preview with #562D52

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

Preview Lab → · Contrast checker → · Palette generator →

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