#562B6A#562B6A

#562B6A is a dark, moderate purple. Relative luminance 0.047; OKLCH L 37.5% C 0.112 H 313.8°. Best body text is #FFFFFF at 10.77:1 contrast (WCAG AA passes).

Color values

HEX#562B6A
RGBrgb(86, 43, 106)
HSLhsl(281, 42%, 29%)
HSVhsv(281, 59%, 42%)
CMYKcmyk(18.9%, 59.4%, 0%, 58.4%)
CIE-LABlab(26.00, 31.52, -28.92)
CIE-LCHlch(26.00, 42.78, 317.46°)
OKLaboklab(37.54% 0.0776 -0.0809)
OKLCHoklch(37.54% 0.112 313.8)
XYZxyz(7.3027, 4.7470, 14.1644)
Luminance0.0475 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562B6A #3F6A2B
analogous
#372B6A #562B6A #6A2B5F
triadic
#562B6A #6A562B #2B6A56
tetradic
#562B6A #6A372B #3F6A2B #2B5F6A
square
#562B6A #6A372B #3F6A2B #2B5F6A
split-complementary
#562B6A #5F6A2B #2B6A37
monochromatic
#120916 #33193E #562B6A #793D96 #9A55BA

Accessibility & contrast

On white

10.77
#562B6A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#562B6A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562B6A
10.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562B6A#FFFFFF#000000##FFFFFF
##562B6A1.0010.771.9510.77
#FFFFFF10.771.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A3B6C
Deuteranopia (green-blind)
#293F68
Tritanopia (blue-blind)
#543646
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #562b6a;
/* rgb */ color: rgb(86, 43, 106);
/* oklch */ color: oklch(37.5% 0.112 313.8);
Tailwind
colors: {
  custom: {
    50: '#886695',
    500: '#562b6a',
    950: '#000000',
  },
}
SCSS
$custom: #562b6a;
$custom-light: #886695;
$custom-dark: #000000;
JSON
{
  "hex": "#562b6a",
  "rgb": {
    "r": 86,
    "g": 43,
    "b": 106
  },
  "hsl": {
    "h": 280.952,
    "s": 42.282,
    "l": 29.216
  },
  "oklch": {
    "l": 0.37542,
    "c": 0.11212,
    "h": 313.8
  },
  "luminance": 0.04747
}

Semantic roles & 50–950 ramp

primary
#562B6A
secondary
#6B9C55
accent
#D2567D
background
#F8F6F9
surface
#F0EBF1
border
#CBC6CB
text
#0B060D
muted
#7C7A7E

Preview Lab

Preview with #562B6A

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

Preview Lab → · Contrast checker → · Palette generator →

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