#562CC2#562CC2

#562CC2 is a dark, highly saturated violet. Relative luminance 0.077; OKLCH L 45.0% C 0.214 H 287.0°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#562CC2
RGBrgb(86, 44, 194)
HSLhsl(257, 63%, 47%)
HSVhsv(257, 77%, 76%)
CMYKcmyk(55.7%, 77.3%, 0%, 23.9%)
CIE-LABlab(33.29, 54.52, -71.09)
CIE-LCHlch(33.29, 89.59, 307.49°)
OKLaboklab(44.95% 0.0627 -0.2046)
OKLCHoklch(44.95% 0.214 287)
XYZxyz(14.4731, 7.6740, 51.7471)
Luminance0.0767 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562CC2 #98C22C
analogous
#2C4DC2 #562CC2 #A12CC2
triadic
#562CC2 #C2562C #2CC256
tetradic
#562CC2 #C22C4D #98C22C #2CC2A1
square
#562CC2 #C22C4D #98C22C #2CC2A1
split-complementary
#562CC2 #C2A12C #4DC22C
monochromatic
#2A155E #402190 #562CC2 #7853D8 #9F85E3

Accessibility & contrast

On white

8.28
#562CC2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#562CC2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562CC2
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562CC2#FFFFFF#000000##FFFFFF
##562CC21.008.282.538.28
#FFFFFF8.281.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052C6
Deuteranopia (green-blind)
#004ABF
Tritanopia (blue-blind)
#255776
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #562cc2;
/* rgb */ color: rgb(86, 44, 194);
/* oklch */ color: oklch(45.0% 0.214 287.0);
Tailwind
colors: {
  custom: {
    50: '#926bd6',
    500: '#562cc2',
    950: '#000000',
  },
}
SCSS
$custom: #562cc2;
$custom-light: #926bd6;
$custom-dark: #000000;
JSON
{
  "hex": "#562cc2",
  "rgb": {
    "r": 86,
    "g": 44,
    "b": 194
  },
  "hsl": {
    "h": 256.8,
    "s": 63.025,
    "l": 46.667
  },
  "oklch": {
    "l": 0.44952,
    "c": 0.214,
    "h": 287
  },
  "luminance": 0.07675
}

Semantic roles & 50–950 ramp

primary
#562CC2
secondary
#B6CD7D
accent
#E642B8
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0E0714
muted
#7E7A83

Preview Lab

Preview with #562CC2

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

Preview Lab → · Contrast checker → · Palette generator →

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