#562C84#562C84

#562C84 is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.5% C 0.142 H 302.2°. Best body text is #FFFFFF at 10.05:1 contrast (WCAG AA passes).

Color values

HEX#562C84
RGBrgb(86, 44, 132)
HSLhsl(269, 50%, 35%)
HSVhsv(269, 67%, 52%)
CMYKcmyk(34.8%, 66.7%, 0%, 48.2%)
CIE-LABlab(27.97, 37.55, -42.27)
CIE-LCHlch(27.97, 56.54, 311.61°)
OKLaboklab(39.54% 0.0757 -0.1201)
OKLCHoklch(39.54% 0.142 302.2)
XYZxyz(8.9023, 5.4457, 22.4074)
Luminance0.0545 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562C84 #5A842C
analogous
#2C2E84 #562C84 #822C84
triadic
#562C84 #84562C #2C8456
tetradic
#562C84 #842C2E #5A842C #2C8482
square
#562C84 #842C2E #5A842C #2C8482
split-complementary
#562C84 #84822C #2E842C
monochromatic
#1A0D28 #381D56 #562C84 #743BB2 #9360CA

Accessibility & contrast

On white

10.05
#562C84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#562C84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562C84
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562C84#FFFFFF#000000##FFFFFF
##562C841.0010.052.0910.05
#FFFFFF10.051.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004187
Deuteranopia (green-blind)
#0B4282
Tritanopia (blue-blind)
#4D3F54
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #562c84;
/* rgb */ color: rgb(86, 44, 132);
/* oklch */ color: oklch(39.5% 0.142 302.2);
Tailwind
colors: {
  custom: {
    50: '#8968a8',
    500: '#562c84',
    950: '#000000',
  },
}
SCSS
$custom: #562c84;
$custom-light: #8968a8;
$custom-dark: #000000;
JSON
{
  "hex": "#562c84",
  "rgb": {
    "r": 86,
    "g": 44,
    "b": 132
  },
  "hsl": {
    "h": 268.636,
    "s": 50,
    "l": 34.51
  },
  "oklch": {
    "l": 0.39536,
    "c": 0.14194,
    "h": 302.2
  },
  "luminance": 0.05446
}

Semantic roles & 50–950 ramp

primary
#562C84
secondary
#88B05C
accent
#DA4E97
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0610
muted
#7D7A7F

Preview Lab

Preview with #562C84

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

Preview Lab → · Contrast checker → · Palette generator →

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