#562DA0#562DA0

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

Color values

HEX#562DA0
RGBrgb(86, 45, 160)
HSLhsl(261, 56%, 40%)
HSVhsv(261, 72%, 63%)
CMYKcmyk(46.3%, 71.9%, 0%, 37.3%)
CIE-LABlab(30.38, 44.62, -55.58)
CIE-LCHlch(30.38, 71.27, 308.75°)
OKLaboklab(41.96% 0.0704 -0.1592)
OKLCHoklch(41.96% 0.174 293.9)
XYZxyz(11.1196, 6.3929, 33.8990)
Luminance0.0639 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562DA0 #77A02D
analogous
#2D3EA0 #562DA0 #8F2DA0
triadic
#562DA0 #A0562D #2DA056
tetradic
#562DA0 #A02D3E #77A02D #2DA08F
square
#562DA0 #A02D3E #77A02D #2DA08F
split-complementary
#562DA0 #A08F2D #3EA02D
monochromatic
#231240 #3C2070 #562DA0 #7141C9 #9570D7

Accessibility & contrast

On white

9.22
#562DA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#562DA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562DA0
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562DA0#FFFFFF#000000##FFFFFF
##562DA01.009.222.289.22
#FFFFFF9.221.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A3
Deuteranopia (green-blind)
#00469E
Tritanopia (blue-blind)
#404A63
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #562da0;
/* rgb */ color: rgb(86, 45, 160);
/* oklch */ color: oklch(42.0% 0.174 293.9);
Tailwind
colors: {
  custom: {
    50: '#8d69bd',
    500: '#562da0',
    950: '#000000',
  },
}
SCSS
$custom: #562da0;
$custom-light: #8d69bd;
$custom-dark: #000000;
JSON
{
  "hex": "#562da0",
  "rgb": {
    "r": 86,
    "g": 45,
    "b": 160
  },
  "hsl": {
    "h": 261.391,
    "s": 56.098,
    "l": 40.196
  },
  "oklch": {
    "l": 0.41961,
    "c": 0.17405,
    "h": 293.9
  },
  "luminance": 0.06393
}

Semantic roles & 50–950 ramp

primary
#562DA0
secondary
#A0BE6B
accent
#DF48AA
background
#F9F6FB
surface
#F1EBF7
border
#CBC6D0
text
#0D0712
muted
#7E7A81

Preview Lab

Preview with #562DA0

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

Preview Lab → · Contrast checker → · Palette generator →

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