#562DC3#562DC3

#562DC3 is a mid, highly saturated violet. Relative luminance 0.078; OKLCH L 45.2% C 0.214 H 286.7°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#562DC3
RGBrgb(86, 45, 195)
HSLhsl(256, 63%, 47%)
HSVhsv(256, 77%, 76%)
CMYKcmyk(55.9%, 76.9%, 0%, 23.5%)
CIE-LABlab(33.55, 54.34, -71.25)
CIE-LCHlch(33.55, 89.61, 307.33°)
OKLaboklab(45.16% 0.0617 -0.2051)
OKLCHoklch(45.16% 0.214 286.7)
XYZxyz(14.6235, 7.7945, 52.3531)
Luminance0.0780 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562DC3 #9AC32D
analogous
#2D4FC3 #562DC3 #A12DC3
triadic
#562DC3 #C3562D #2DC356
tetradic
#562DC3 #C32D4F #9AC32D #2DC3A1
square
#562DC3 #C32D4F #9AC32D #2DC3A1
split-complementary
#562DC3 #C3A12D #4FC32D
monochromatic
#2A1660 #402291 #562DC3 #7955D8 #A087E3

Accessibility & contrast

On white

8.21
#562DC3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#562DC3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562DC3
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562DC3#FFFFFF#000000##FFFFFF
##562DC31.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052C7
Deuteranopia (green-blind)
#004BC0
Tritanopia (blue-blind)
#245877
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #562dc3;
/* rgb */ color: rgb(86, 45, 195);
/* oklch */ color: oklch(45.2% 0.214 286.7);
Tailwind
colors: {
  custom: {
    50: '#926bd6',
    500: '#562dc3',
    950: '#000000',
  },
}
SCSS
$custom: #562dc3;
$custom-light: #926bd6;
$custom-dark: #000000;
JSON
{
  "hex": "#562dc3",
  "rgb": {
    "r": 86,
    "g": 45,
    "b": 195
  },
  "hsl": {
    "h": 256.4,
    "s": 62.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.45161,
    "c": 0.21419,
    "h": 286.7
  },
  "luminance": 0.07795
}

Semantic roles & 50–950 ramp

primary
#562DC3
secondary
#B8CD7F
accent
#E642B9
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0E0714
muted
#7E7A83

Preview Lab

Preview with #562DC3

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

Preview Lab → · Contrast checker → · Palette generator →

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