#562DC1#562DC1

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

Color values

HEX#562DC1
RGBrgb(86, 45, 193)
HSLhsl(257, 62%, 47%)
HSVhsv(257, 77%, 76%)
CMYKcmyk(55.4%, 76.7%, 0%, 24.3%)
CIE-LABlab(33.36, 53.78, -70.39)
CIE-LCHlch(33.36, 88.59, 307.38°)
OKLaboklab(44.97% 0.0623 -0.2026)
OKLCHoklch(44.97% 0.212 287.1)
XYZxyz(14.3989, 7.7047, 51.1702)
Luminance0.0770 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562DC1 #98C12D
analogous
#2D4EC1 #562DC1 #A02DC1
triadic
#562DC1 #C1562D #2DC156
tetradic
#562DC1 #C12D4E #98C12D #2DC1A0
square
#562DC1 #C12D4E #98C12D #2DC1A0
split-complementary
#562DC1 #C1A02D #4EC12D
monochromatic
#2A165E #40218F #562DC1 #7854D7 #9F86E3

Accessibility & contrast

On white

8.26
#562DC1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#562DC1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562DC1
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562DC1#FFFFFF#000000##FFFFFF
##562DC11.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052C5
Deuteranopia (green-blind)
#004ABE
Tritanopia (blue-blind)
#265776
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #562dc1;
/* rgb */ color: rgb(86, 45, 193);
/* oklch */ color: oklch(45.0% 0.212 287.1);
Tailwind
colors: {
  custom: {
    50: '#916bd5',
    500: '#562dc1',
    950: '#000000',
  },
}
SCSS
$custom: #562dc1;
$custom-light: #916bd5;
$custom-dark: #000000;
JSON
{
  "hex": "#562dc1",
  "rgb": {
    "r": 86,
    "g": 45,
    "b": 193
  },
  "hsl": {
    "h": 256.622,
    "s": 62.185,
    "l": 46.667
  },
  "oklch": {
    "l": 0.44969,
    "c": 0.21195,
    "h": 287.1
  },
  "luminance": 0.07705
}

Semantic roles & 50–950 ramp

primary
#562DC1
secondary
#B6CC7E
accent
#E543B8
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0E0714
muted
#7E7A83

Preview Lab

Preview with #562DC1

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

Preview Lab → · Contrast checker → · Palette generator →

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