#562A84#562A84

#562A84 is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.3% C 0.145 H 302.7°. Best body text is #FFFFFF at 10.19:1 contrast (WCAG AA passes).

Color values

HEX#562A84
RGBrgb(86, 42, 132)
HSLhsl(269, 52%, 34%)
HSVhsv(269, 68%, 52%)
CMYKcmyk(34.8%, 68.2%, 0%, 48.2%)
CIE-LABlab(27.57, 38.63, -42.91)
CIE-LCHlch(27.57, 57.74, 312.00°)
OKLaboklab(39.25% 0.0781 -0.1219)
OKLCHoklch(39.25% 0.145 302.7)
XYZxyz(8.8296, 5.3003, 22.3832)
Luminance0.0530 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562A84 #58842A
analogous
#2A2B84 #562A84 #832A84
triadic
#562A84 #84562A #2A8456
tetradic
#562A84 #842A2B #58842A #2A8483
square
#562A84 #842A2B #58842A #2A8483
split-complementary
#562A84 #84832A #2B842A
monochromatic
#1A0C27 #381B56 #562A84 #7439B2 #935DCB

Accessibility & contrast

On white

10.19
#562A84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#562A84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562A84
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562A84#FFFFFF#000000##FFFFFF
##562A841.0010.192.0610.19
#FFFFFF10.191.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004087
Deuteranopia (green-blind)
#054182
Tritanopia (blue-blind)
#4D3E53
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #562a84;
/* rgb */ color: rgb(86, 42, 132);
/* oklch */ color: oklch(39.3% 0.145 302.7);
Tailwind
colors: {
  custom: {
    50: '#8a67a8',
    500: '#562a84',
    950: '#000000',
  },
}
SCSS
$custom: #562a84;
$custom-light: #8a67a8;
$custom-dark: #000000;
JSON
{
  "hex": "#562a84",
  "rgb": {
    "r": 86,
    "g": 42,
    "b": 132
  },
  "hsl": {
    "h": 269.333,
    "s": 51.724,
    "l": 34.118
  },
  "oklch": {
    "l": 0.39251,
    "c": 0.14481,
    "h": 302.7
  },
  "luminance": 0.053
}

Semantic roles & 50–950 ramp

primary
#562A84
secondary
#86B159
accent
#DB4D95
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0610
muted
#7D7A7F

Preview Lab

Preview with #562A84

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

Preview Lab → · Contrast checker → · Palette generator →

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