#562B99#562B99

#562B99 is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.1% C 0.168 H 296.0°. Best body text is #FFFFFF at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#562B99
RGBrgb(86, 43, 153)
HSLhsl(263, 56%, 38%)
HSVhsv(263, 72%, 60%)
CMYKcmyk(43.8%, 71.9%, 0%, 40%)
CIE-LABlab(29.43, 43.72, -52.88)
CIE-LCHlch(29.43, 68.61, 309.59°)
OKLaboklab(41.1% 0.0737 -0.1512)
OKLCHoklch(41.1% 0.168 296)
XYZxyz(10.4499, 6.0059, 30.7395)
Luminance0.0601 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562B99 #6E992B
analogous
#2B3799 #562B99 #8D2B99
triadic
#562B99 #99562B #2B9956
tetradic
#562B99 #992B37 #6E992B #2B998D
square
#562B99 #992B37 #6E992B #2B998D
split-complementary
#562B99 #998D2B #37992B
monochromatic
#201039 #3B1E69 #562B99 #713AC8 #9369D5

Accessibility & contrast

On white

9.54
#562B99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #562B99
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562B99#FFFFFF#000000##FFFFFF
##562B991.009.542.209.54
#FFFFFF9.541.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00469C
Deuteranopia (green-blind)
#004497
Tritanopia (blue-blind)
#44475F
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #562b99;
/* rgb */ color: rgb(86, 43, 153);
/* oklch */ color: oklch(41.1% 0.168 296.0);
Tailwind
colors: {
  custom: {
    50: '#8c68b8',
    500: '#562b99',
    950: '#000000',
  },
}
SCSS
$custom: #562b99;
$custom-light: #8c68b8;
$custom-dark: #000000;
JSON
{
  "hex": "#562b99",
  "rgb": {
    "r": 86,
    "g": 43,
    "b": 153
  },
  "hsl": {
    "h": 263.455,
    "s": 56.122,
    "l": 38.431
  },
  "oklch": {
    "l": 0.41099,
    "c": 0.16827,
    "h": 296
  },
  "luminance": 0.06006
}

Semantic roles & 50–950 ramp

primary
#562B99
secondary
#99BC64
accent
#DF48A4
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #562B99

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

Preview Lab → · Contrast checker → · Palette generator →

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