#562AC2#562AC2

#562AC2 is a dark, highly saturated violet. Relative luminance 0.075; OKLCH L 44.7% C 0.216 H 287.3°. Best body text is #FFFFFF at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#562AC2
RGBrgb(86, 42, 194)
HSLhsl(257, 64%, 46%)
HSVhsv(257, 78%, 76%)
CMYKcmyk(55.7%, 78.4%, 0%, 23.9%)
CIE-LABlab(32.98, 55.43, -71.60)
CIE-LCHlch(32.98, 90.55, 307.74°)
OKLaboklab(44.73% 0.064 -0.2061)
OKLCHoklch(44.73% 0.216 287.3)
XYZxyz(14.4004, 7.5286, 51.7228)
Luminance0.0753 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562AC2 #96C22A
analogous
#2A4AC2 #562AC2 #A22AC2
triadic
#562AC2 #C2562A #2AC256
tetradic
#562AC2 #C22A4A #96C22A #2AC2A2
square
#562AC2 #C22A4A #96C22A #2AC2A2
split-complementary
#562AC2 #C2A22A #4AC22A
monochromatic
#29145D #401F90 #562AC2 #7850D9 #9F82E4

Accessibility & contrast

On white

8.38
#562AC2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#562AC2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562AC2
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562AC2#FFFFFF#000000##FFFFFF
##562AC21.008.382.518.38
#FFFFFF8.381.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051C6
Deuteranopia (green-blind)
#0049BF
Tritanopia (blue-blind)
#255676
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #562ac2;
/* rgb */ color: rgb(86, 42, 194);
/* oklch */ color: oklch(44.7% 0.216 287.3);
Tailwind
colors: {
  custom: {
    50: '#926ad6',
    500: '#562ac2',
    950: '#000000',
  },
}
SCSS
$custom: #562ac2;
$custom-light: #926ad6;
$custom-dark: #000000;
JSON
{
  "hex": "#562ac2",
  "rgb": {
    "r": 86,
    "g": 42,
    "b": 194
  },
  "hsl": {
    "h": 257.368,
    "s": 64.407,
    "l": 46.275
  },
  "oklch": {
    "l": 0.44734,
    "c": 0.21582,
    "h": 287.3
  },
  "luminance": 0.07529
}

Semantic roles & 50–950 ramp

primary
#562AC2
secondary
#B5CD7B
accent
#E740B7
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0E0714
muted
#7E7A83

Preview Lab

Preview with #562AC2

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

Preview Lab → · Contrast checker → · Palette generator →

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