#562C9A#562C9A

#562C9A is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.3% C 0.168 H 295.5°. Best body text is #FFFFFF at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#562C9A
RGBrgb(86, 44, 154)
HSLhsl(263, 56%, 39%)
HSVhsv(263, 71%, 60%)
CMYKcmyk(44.2%, 71.4%, 0%, 39.6%)
CIE-LABlab(29.69, 43.48, -53.05)
CIE-LCHlch(29.69, 68.60, 309.34°)
OKLaboklab(41.32% 0.0725 -0.1518)
OKLCHoklch(41.32% 0.168 295.5)
XYZxyz(10.5696, 6.1126, 31.1886)
Luminance0.0611 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562C9A #709A2C
analogous
#2C399A #562C9A #8D2C9A
triadic
#562C9A #9A562C #2C9A56
tetradic
#562C9A #9A2C39 #709A2C #2C9A8D
square
#562C9A #9A2C39 #709A2C #2C9A8D
split-complementary
#562C9A #9A8D2C #399A2C
monochromatic
#21113B #3B1E6A #562C9A #713CC7 #946CD5

Accessibility & contrast

On white

9.45
#562C9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#562C9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562C9A
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562C9A#FFFFFF#000000##FFFFFF
##562C9A1.009.452.229.45
#FFFFFF9.451.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479D
Deuteranopia (green-blind)
#004498
Tritanopia (blue-blind)
#444760
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #562c9a;
/* rgb */ color: rgb(86, 44, 154);
/* oklch */ color: oklch(41.3% 0.168 295.5);
Tailwind
colors: {
  custom: {
    50: '#8c69b9',
    500: '#562c9a',
    950: '#000000',
  },
}
SCSS
$custom: #562c9a;
$custom-light: #8c69b9;
$custom-dark: #000000;
JSON
{
  "hex": "#562c9a",
  "rgb": {
    "r": 86,
    "g": 44,
    "b": 154
  },
  "hsl": {
    "h": 262.909,
    "s": 55.556,
    "l": 38.824
  },
  "oklch": {
    "l": 0.41315,
    "c": 0.16821,
    "h": 295.5
  },
  "luminance": 0.06113
}

Semantic roles & 50–950 ramp

primary
#562C9A
secondary
#9BBC66
accent
#DF49A6
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #562C9A

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

Preview Lab → · Contrast checker → · Palette generator →

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