#562F63#562F63

#562F63 is a dark, moderate purple. Relative luminance 0.049; OKLCH L 37.8% C 0.096 H 317.2°. Best body text is #FFFFFF at 10.59:1 contrast (WCAG AA passes).

Color values

HEX#562F63
RGBrgb(86, 47, 99)
HSLhsl(285, 36%, 29%)
HSVhsv(285, 53%, 39%)
CMYKcmyk(13.1%, 52.5%, 0%, 61.2%)
CIE-LABlab(26.48, 27.52, -23.63)
CIE-LCHlch(26.48, 36.27, 319.34°)
OKLaboklab(37.77% 0.0708 -0.0656)
OKLCHoklch(37.77% 0.096 317.2)
XYZxyz(7.1061, 4.9125, 12.3759)
Luminance0.0491 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562F63 #3C632F
analogous
#3C2F63 #562F63 #632F56
triadic
#562F63 #63562F #2F6356
tetradic
#562F63 #633C2F #3C632F #2F5663
square
#562F63 #633C2F #3C632F #2F5663
split-complementary
#562F63 #56632F #2F633C
monochromatic
#120A15 #321B39 #562F63 #7A438C #9C5BB1

Accessibility & contrast

On white

10.59
#562F63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#562F63 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562F63
10.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562F63#FFFFFF#000000##FFFFFF
##562F631.0010.591.9810.59
#FFFFFF10.591.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#253C65
Deuteranopia (green-blind)
#314062
Tritanopia (blue-blind)
#563744
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #562f63;
/* rgb */ color: rgb(86, 47, 99);
/* oklch */ color: oklch(37.8% 0.096 317.2);
Tailwind
colors: {
  custom: {
    50: '#87698f',
    500: '#562f63',
    950: '#000000',
  },
}
SCSS
$custom: #562f63;
$custom-light: #87698f;
$custom-dark: #000000;
JSON
{
  "hex": "#562f63",
  "rgb": {
    "r": 86,
    "g": 47,
    "b": 99
  },
  "hsl": {
    "h": 285,
    "s": 35.616,
    "l": 28.627
  },
  "oklch": {
    "l": 0.37765,
    "c": 0.09648,
    "h": 317.2
  },
  "luminance": 0.04912
}

Semantic roles & 50–950 ramp

primary
#562F63
secondary
#689559
accent
#CC5C78
background
#F8F6F8
surface
#F0EBF0
border
#CBC6CB
text
#0B060C
muted
#7C7A7D

Preview Lab

Preview with #562F63

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

Preview Lab → · Contrast checker → · Palette generator →

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