#562DBC#562DBC

#562DBC is a dark, highly saturated violet. Relative luminance 0.075; OKLCH L 44.5% C 0.206 H 288.0°. Best body text is #FFFFFF at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#562DBC
RGBrgb(86, 45, 188)
HSLhsl(257, 61%, 46%)
HSVhsv(257, 76%, 74%)
CMYKcmyk(54.3%, 76.1%, 0%, 26.3%)
CIE-LABlab(32.89, 52.40, -68.22)
CIE-LCHlch(32.89, 86.02, 307.52°)
OKLaboklab(44.5% 0.0637 -0.1963)
OKLCHoklch(44.5% 0.206 288)
XYZxyz(13.8506, 7.4853, 48.2822)
Luminance0.0749 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562DBC #93BC2D
analogous
#2D4BBC #562DBC #9D2DBC
triadic
#562DBC #BC562D #2DBC56
tetradic
#562DBC #BC2D4B #93BC2D #2DBC9D
square
#562DBC #BC2D4B #93BC2D #2DBC9D
split-complementary
#562DBC #BC9D2D #4BBC2D
monochromatic
#291559 #3F218B #562DBC #7751D5 #9D82E1

Accessibility & contrast

On white

8.41
#562DBC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#562DBC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562DBC
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562DBC#FFFFFF#000000##FFFFFF
##562DBC1.008.412.508.41
#FFFFFF8.411.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050C0
Deuteranopia (green-blind)
#004AB9
Tritanopia (blue-blind)
#2C5573
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #562dbc;
/* rgb */ color: rgb(86, 45, 188);
/* oklch */ color: oklch(44.5% 0.206 288.0);
Tailwind
colors: {
  custom: {
    50: '#916bd1',
    500: '#562dbc',
    950: '#000000',
  },
}
SCSS
$custom: #562dbc;
$custom-light: #916bd1;
$custom-dark: #000000;
JSON
{
  "hex": "#562dbc",
  "rgb": {
    "r": 86,
    "g": 45,
    "b": 188
  },
  "hsl": {
    "h": 257.203,
    "s": 61.373,
    "l": 45.686
  },
  "oklch": {
    "l": 0.44495,
    "c": 0.20632,
    "h": 288
  },
  "luminance": 0.07486
}

Semantic roles & 50–950 ramp

primary
#562DBC
secondary
#B3CA7B
accent
#E443B6
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0E0714
muted
#7E7A83

Preview Lab

Preview with #562DBC

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

Preview Lab → · Contrast checker → · Palette generator →

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