#562B62#562B62

#562B62 is a dark, moderate purple. Relative luminance 0.046; OKLCH L 37.0% C 0.103 H 318.5°. Best body text is #FFFFFF at 10.95:1 contrast (WCAG AA passes).

Color values

HEX#562B62
RGBrgb(86, 43, 98)
HSLhsl(287, 39%, 28%)
HSVhsv(287, 56%, 38%)
CMYKcmyk(12.2%, 56.1%, 0%, 61.6%)
CIE-LABlab(25.53, 29.64, -24.49)
CIE-LCHlch(25.53, 38.45, 320.44°)
OKLaboklab(37.04% 0.0769 -0.068)
OKLCHoklch(37.04% 0.103 318.5)
XYZxyz(6.9059, 4.5883, 12.0748)
Luminance0.0459 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562B62 #37622B
analogous
#3A2B62 #562B62 #622B52
triadic
#562B62 #62562B #2B6256
tetradic
#562B62 #623A2B #37622B #2B5262
square
#562B62 #623A2B #37622B #2B5262
split-complementary
#562B62 #52622B #2B623A
monochromatic
#130915 #311837 #562B62 #7B3E8D #9F54B4

Accessibility & contrast

On white

10.95
#562B62 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#562B62 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562B62
10.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562B62#FFFFFF#000000##FFFFFF
##562B621.0010.951.9210.95
#FFFFFF10.951.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#203A64
Deuteranopia (green-blind)
#2E3E61
Tritanopia (blue-blind)
#563342
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #562b62;
/* rgb */ color: rgb(86, 43, 98);
/* oklch */ color: oklch(37.0% 0.103 318.5);
Tailwind
colors: {
  custom: {
    50: '#87668f',
    500: '#562b62',
    950: '#000000',
  },
}
SCSS
$custom: #562b62;
$custom-light: #87668f;
$custom-dark: #000000;
JSON
{
  "hex": "#562b62",
  "rgb": {
    "r": 86,
    "g": 43,
    "b": 98
  },
  "hsl": {
    "h": 286.909,
    "s": 39.007,
    "l": 27.647
  },
  "oklch": {
    "l": 0.3704,
    "c": 0.10267,
    "h": 318.5
  },
  "luminance": 0.04588
}

Semantic roles & 50–950 ramp

primary
#562B62
secondary
#629455
accent
#CF5973
background
#F8F6F8
surface
#F0EBF0
border
#CBC6CB
text
#0B060C
muted
#7C7A7D

Preview Lab

Preview with #562B62

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

Preview Lab → · Contrast checker → · Palette generator →

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