#562CAD#562CAD

#562CAD is a dark, vivid violet. Relative luminance 0.068; OKLCH L 43.0% C 0.190 H 291.0°. Best body text is #FFFFFF at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#562CAD
RGBrgb(86, 44, 173)
HSLhsl(260, 59%, 43%)
HSVhsv(260, 75%, 68%)
CMYKcmyk(50.3%, 74.6%, 0%, 32.2%)
CIE-LABlab(31.34, 48.72, -61.85)
CIE-LCHlch(31.34, 78.73, 308.23°)
OKLaboklab(42.99% 0.0683 -0.1776)
OKLCHoklch(42.99% 0.19 291)
XYZxyz(12.2791, 6.7964, 40.1919)
Luminance0.0680 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562CAD #83AD2C
analogous
#2C42AD #562CAD #972CAD
triadic
#562CAD #AD562C #2CAD56
tetradic
#562CAD #AD2C42 #83AD2C #2CAD97
square
#562CAD #AD2C42 #83AD2C #2CAD97
split-complementary
#562CAD #AD972C #42AD2C
monochromatic
#25134B #3E207C #562CAD #7346D0 #9877DC

Accessibility & contrast

On white

8.90
#562CAD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#562CAD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562CAD
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562CAD#FFFFFF#000000##FFFFFF
##562CAD1.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB1
Deuteranopia (green-blind)
#0047AB
Tritanopia (blue-blind)
#384F6A
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #562cad;
/* rgb */ color: rgb(86, 44, 173);
/* oklch */ color: oklch(43.0% 0.190 291.0);
Tailwind
colors: {
  custom: {
    50: '#8e69c7',
    500: '#562cad',
    950: '#000000',
  },
}
SCSS
$custom: #562cad;
$custom-light: #8e69c7;
$custom-dark: #000000;
JSON
{
  "hex": "#562cad",
  "rgb": {
    "r": 86,
    "g": 44,
    "b": 173
  },
  "hsl": {
    "h": 259.535,
    "s": 59.447,
    "l": 42.549
  },
  "oklch": {
    "l": 0.42987,
    "c": 0.19028,
    "h": 291
  },
  "luminance": 0.06797
}

Semantic roles & 50–950 ramp

primary
#562CAD
secondary
#A9C471
accent
#E345AF
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #562CAD

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

Preview Lab → · Contrast checker → · Palette generator →

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