#562C52#562C52

#562C52 is a dark, moderate purple. Relative luminance 0.044; OKLCH L 36.3% C 0.083 H 330.7°. Best body text is #FFFFFF at 11.18:1 contrast (WCAG AA passes).

Color values

HEX#562C52
RGBrgb(86, 44, 82)
HSLhsl(306, 32%, 25%)
HSVhsv(306, 49%, 34%)
CMYKcmyk(0%, 48.8%, 4.7%, 66.3%)
CIE-LABlab(24.92, 25.56, -14.92)
CIE-LCHlch(24.92, 29.60, 329.73°)
OKLaboklab(36.32% 0.0723 -0.0406)
OKLCHoklch(36.32% 0.083 330.7)
XYZxyz(6.2614, 4.3893, 8.4984)
Luminance0.0439 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562C52 #2C5630
analogous
#452C56 #562C52 #562C3D
triadic
#562C52 #52562C #2C5256
tetradic
#562C52 #56452C #2C5630 #2C3D56
square
#562C52 #56452C #2C5630 #2C3D56
split-complementary
#562C52 #3D562C #2C5645
monochromatic
#140A13 #2E172B #562C52 #7E4179 #A7559F

Accessibility & contrast

On white

11.18
#562C52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #562C52
11.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562C52#FFFFFF#000000##FFFFFF
##562C521.0011.181.8811.18
#FFFFFF11.181.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A3753
Deuteranopia (green-blind)
#363D51
Tritanopia (blue-blind)
#592F3B
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #562c52;
/* rgb */ color: rgb(86, 44, 82);
/* oklch */ color: oklch(36.3% 0.083 330.7);
Tailwind
colors: {
  custom: {
    50: '#876782',
    500: '#562c52',
    950: '#000000',
  },
}
SCSS
$custom: #562c52;
$custom-light: #876782;
$custom-dark: #000000;
JSON
{
  "hex": "#562c52",
  "rgb": {
    "r": 86,
    "g": 44,
    "b": 82
  },
  "hsl": {
    "h": 305.714,
    "s": 32.308,
    "l": 25.49
  },
  "oklch": {
    "l": 0.36316,
    "c": 0.08294,
    "h": 330.7
  },
  "luminance": 0.04389
}

Semantic roles & 50–950 ramp

primary
#562C52
secondary
#56885B
accent
#C8695F
background
#F8F6F8
surface
#EFEBEF
border
#CAC6CA
text
#0B060A
muted
#7C7A7C

Preview Lab

Preview with #562C52

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

Preview Lab → · Contrast checker → · Palette generator →

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