#562B84#562B84

#562B84 is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.4% C 0.143 H 302.4°. Best body text is #FFFFFF at 10.12:1 contrast (WCAG AA passes).

Color values

HEX#562B84
RGBrgb(86, 43, 132)
HSLhsl(269, 51%, 34%)
HSVhsv(269, 67%, 52%)
CMYKcmyk(34.8%, 67.4%, 0%, 48.2%)
CIE-LABlab(27.77, 38.09, -42.59)
CIE-LCHlch(27.77, 57.14, 311.81°)
OKLaboklab(39.39% 0.0769 -0.121)
OKLCHoklch(39.39% 0.143 302.4)
XYZxyz(8.8655, 5.3721, 22.3952)
Luminance0.0537 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562B84 #59842B
analogous
#2B2D84 #562B84 #832B84
triadic
#562B84 #84562B #2B8456
tetradic
#562B84 #842B2D #59842B #2B8483
square
#562B84 #842B2D #59842B #2B8483
split-complementary
#562B84 #84832B #2D842B
monochromatic
#1A0D28 #381C56 #562B84 #743AB2 #935FCB

Accessibility & contrast

On white

10.12
#562B84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#562B84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562B84
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562B84#FFFFFF#000000##FFFFFF
##562B841.0010.122.0710.12
#FFFFFF10.121.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004187
Deuteranopia (green-blind)
#084182
Tritanopia (blue-blind)
#4D3F53
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #562b84;
/* rgb */ color: rgb(86, 43, 132);
/* oklch */ color: oklch(39.4% 0.143 302.4);
Tailwind
colors: {
  custom: {
    50: '#8a67a8',
    500: '#562b84',
    950: '#000000',
  },
}
SCSS
$custom: #562b84;
$custom-light: #8a67a8;
$custom-dark: #000000;
JSON
{
  "hex": "#562b84",
  "rgb": {
    "r": 86,
    "g": 43,
    "b": 132
  },
  "hsl": {
    "h": 268.989,
    "s": 50.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.39392,
    "c": 0.14339,
    "h": 302.4
  },
  "luminance": 0.05372
}

Semantic roles & 50–950 ramp

primary
#562B84
secondary
#87B15A
accent
#DA4D96
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0610
muted
#7D7A7F

Preview Lab

Preview with #562B84

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

Preview Lab → · Contrast checker → · Palette generator →

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