#562C96#562C96

#562C96 is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.0% C 0.163 H 296.6°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#562C96
RGBrgb(86, 44, 150)
HSLhsl(264, 55%, 38%)
HSVhsv(264, 71%, 59%)
CMYKcmyk(42.7%, 70.7%, 0%, 41.2%)
CIE-LABlab(29.37, 42.39, -51.14)
CIE-LCHlch(29.37, 66.43, 309.65°)
OKLaboklab(40.98% 0.0733 -0.1461)
OKLCHoklch(40.98% 0.163 296.6)
XYZxyz(10.2420, 5.9816, 29.4632)
Luminance0.0598 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562C96 #6C962C
analogous
#2C3796 #562C96 #8B2C96
triadic
#562C96 #96562C #2C9656
tetradic
#562C96 #962C37 #6C962C #2C968B
square
#562C96 #962C37 #6C962C #2C968B
split-complementary
#562C96 #968B2C #37962C
monochromatic
#201037 #3B1E67 #562C96 #713AC5 #9369D3

Accessibility & contrast

On white

9.56
#562C96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#562C96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562C96
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562C96#FFFFFF#000000##FFFFFF
##562C961.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004699
Deuteranopia (green-blind)
#004494
Tritanopia (blue-blind)
#46465D
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #562c96;
/* rgb */ color: rgb(86, 44, 150);
/* oklch */ color: oklch(41.0% 0.163 296.6);
Tailwind
colors: {
  custom: {
    50: '#8b69b6',
    500: '#562c96',
    950: '#000000',
  },
}
SCSS
$custom: #562c96;
$custom-light: #8b69b6;
$custom-dark: #000000;
JSON
{
  "hex": "#562c96",
  "rgb": {
    "r": 86,
    "g": 44,
    "b": 150
  },
  "hsl": {
    "h": 263.774,
    "s": 54.639,
    "l": 38.039
  },
  "oklch": {
    "l": 0.40978,
    "c": 0.16349,
    "h": 296.6
  },
  "luminance": 0.05982
}

Semantic roles & 50–950 ramp

primary
#562C96
secondary
#98BA64
accent
#DE4AA3
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0D0611
muted
#7D7A80

Preview Lab

Preview with #562C96

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

Preview Lab → · Contrast checker → · Palette generator →

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