#562B63#562B63

#562B63 is a dark, moderate purple. Relative luminance 0.046; OKLCH L 37.1% C 0.104 H 317.9°. Best body text is #FFFFFF at 10.93:1 contrast (WCAG AA passes).

Color values

HEX#562B63
RGBrgb(86, 43, 99)
HSLhsl(286, 39%, 28%)
HSVhsv(286, 57%, 39%)
CMYKcmyk(13.1%, 56.6%, 0%, 61.2%)
CIE-LABlab(25.59, 29.87, -25.05)
CIE-LCHlch(25.59, 38.98, 320.02°)
OKLaboklab(37.1% 0.077 -0.0697)
OKLCHoklch(37.1% 0.104 317.9)
XYZxyz(6.9534, 4.6073, 12.3250)
Luminance0.0461 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562B63 #38632B
analogous
#3A2B63 #562B63 #632B54
triadic
#562B63 #63562B #2B6356
tetradic
#562B63 #633A2B #38632B #2B5463
square
#562B63 #633A2B #38632B #2B5463
split-complementary
#562B63 #54632B #2B633A
monochromatic
#130915 #311838 #562B63 #7B3E8E #9E54B5

Accessibility & contrast

On white

10.93
#562B63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #562B63
10.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562B63#FFFFFF#000000##FFFFFF
##562B631.0010.931.9210.93
#FFFFFF10.931.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F3A65
Deuteranopia (green-blind)
#2D3E61
Tritanopia (blue-blind)
#563342
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #562b63;
/* rgb */ color: rgb(86, 43, 99);
/* oklch */ color: oklch(37.1% 0.104 317.9);
Tailwind
colors: {
  custom: {
    50: '#87668f',
    500: '#562b63',
    950: '#000000',
  },
}
SCSS
$custom: #562b63;
$custom-light: #87668f;
$custom-dark: #000000;
JSON
{
  "hex": "#562b63",
  "rgb": {
    "r": 86,
    "g": 43,
    "b": 99
  },
  "hsl": {
    "h": 286.071,
    "s": 39.437,
    "l": 27.843
  },
  "oklch": {
    "l": 0.37101,
    "c": 0.10384,
    "h": 317.9
  },
  "luminance": 0.04607
}

Semantic roles & 50–950 ramp

primary
#562B63
secondary
#649555
accent
#CF5874
background
#F8F6F8
surface
#F0EBF0
border
#CBC6CB
text
#0B060C
muted
#7C7A7D

Preview Lab

Preview with #562B63

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

Preview Lab → · Contrast checker → · Palette generator →

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