#562AA9#562AA9

#562AA9 is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.4% C 0.188 H 292.2°. Best body text is #FFFFFF at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#562AA9
RGBrgb(86, 42, 169)
HSLhsl(261, 60%, 41%)
HSVhsv(261, 75%, 66%)
CMYKcmyk(49.1%, 75.1%, 0%, 33.7%)
CIE-LABlab(30.64, 48.59, -60.60)
CIE-LCHlch(30.64, 77.67, 308.72°)
OKLaboklab(42.38% 0.071 -0.1739)
OKLCHoklch(42.38% 0.188 292.2)
XYZxyz(11.8251, 6.4985, 38.1597)
Luminance0.0650 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562AA9 #7DA92A
analogous
#2A3EA9 #562AA9 #962AA9
triadic
#562AA9 #A9562A #2AA956
tetradic
#562AA9 #A92A3E #7DA92A #2AA996
square
#562AA9 #A92A3E #7DA92A #2AA996
split-complementary
#562AA9 #A9962A #3EA92A
monochromatic
#241247 #3D1E78 #562AA9 #7241D0 #9672DC

Accessibility & contrast

On white

9.13
#562AA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#562AA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562AA9
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562AA9#FFFFFF#000000##FFFFFF
##562AA91.009.132.309.13
#FFFFFF9.131.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AAD
Deuteranopia (green-blind)
#0046A7
Tritanopia (blue-blind)
#3B4C67
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #562aa9;
/* rgb */ color: rgb(86, 42, 169);
/* oklch */ color: oklch(42.4% 0.188 292.2);
Tailwind
colors: {
  custom: {
    50: '#8e68c4',
    500: '#562aa9',
    950: '#000000',
  },
}
SCSS
$custom: #562aa9;
$custom-light: #8e68c4;
$custom-dark: #000000;
JSON
{
  "hex": "#562aa9",
  "rgb": {
    "r": 86,
    "g": 42,
    "b": 169
  },
  "hsl": {
    "h": 260.787,
    "s": 60.19,
    "l": 41.373
  },
  "oklch": {
    "l": 0.42383,
    "c": 0.18785,
    "h": 292.2
  },
  "luminance": 0.06499
}

Semantic roles & 50–950 ramp

primary
#562AA9
secondary
#A5C36C
accent
#E344AC
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #562AA9

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

Preview Lab → · Contrast checker → · Palette generator →

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