#562DA1#562DA1

#562DA1 is a dark, vivid violet. Relative luminance 0.064; OKLCH L 42.0% C 0.175 H 293.6°. Best body text is #FFFFFF at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#562DA1
RGBrgb(86, 45, 161)
HSLhsl(261, 56%, 40%)
HSVhsv(261, 72%, 63%)
CMYKcmyk(46.6%, 72%, 0%, 36.9%)
CIE-LABlab(30.47, 44.89, -56.05)
CIE-LCHlch(30.47, 71.81, 308.69°)
OKLaboklab(42.05% 0.0702 -0.1606)
OKLCHoklch(42.05% 0.175 293.6)
XYZxyz(11.2074, 6.4281, 34.3615)
Luminance0.0643 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562DA1 #78A12D
analogous
#2D3EA1 #562DA1 #902DA1
triadic
#562DA1 #A1562D #2DA156
tetradic
#562DA1 #A12D3E #78A12D #2DA190
square
#562DA1 #A12D3E #78A12D #2DA190
split-complementary
#562DA1 #A1902D #3EA12D
monochromatic
#231241 #3C2071 #562DA1 #7241CA #9571D7

Accessibility & contrast

On white

9.19
#562DA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#562DA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562DA1
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562DA1#FFFFFF#000000##FFFFFF
##562DA11.009.192.299.19
#FFFFFF9.191.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A4
Deuteranopia (green-blind)
#00469F
Tritanopia (blue-blind)
#404B64
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #562da1;
/* rgb */ color: rgb(86, 45, 161);
/* oklch */ color: oklch(42.0% 0.175 293.6);
Tailwind
colors: {
  custom: {
    50: '#8d6abe',
    500: '#562da1',
    950: '#000000',
  },
}
SCSS
$custom: #562da1;
$custom-light: #8d6abe;
$custom-dark: #000000;
JSON
{
  "hex": "#562da1",
  "rgb": {
    "r": 86,
    "g": 45,
    "b": 161
  },
  "hsl": {
    "h": 261.207,
    "s": 56.311,
    "l": 40.392
  },
  "oklch": {
    "l": 0.42047,
    "c": 0.17523,
    "h": 293.6
  },
  "luminance": 0.06428
}

Semantic roles & 50–950 ramp

primary
#562DA1
secondary
#A1BF6B
accent
#E048AA
background
#F9F6FB
surface
#F1EBF7
border
#CBC6D0
text
#0D0712
muted
#7E7A81

Preview Lab

Preview with #562DA1

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

Preview Lab → · Contrast checker → · Palette generator →

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