#562EB6#562EB6

#562EB6 is a dark, vivid violet. Relative luminance 0.073; OKLCH L 44.1% C 0.198 H 288.9°. Best body text is #FFFFFF at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#562EB6
RGBrgb(86, 46, 182)
HSLhsl(258, 60%, 45%)
HSVhsv(258, 75%, 71%)
CMYKcmyk(52.7%, 74.7%, 0%, 28.6%)
CIE-LABlab(32.50, 50.24, -65.31)
CIE-LCHlch(32.50, 82.40, 307.57°)
OKLaboklab(44.06% 0.0644 -0.1877)
OKLCHoklch(44.06% 0.198 288.9)
XYZxyz(13.2558, 7.3092, 44.9592)
Luminance0.0731 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562EB6 #8EB62E
analogous
#2E4AB6 #562EB6 #9A2EB6
triadic
#562EB6 #B6562E #2EB656
tetradic
#562EB6 #B62E4A #8EB62E #2EB69A
square
#562EB6 #B62E4A #8EB62E #2EB69A
split-complementary
#562EB6 #B69A2E #4AB62E
monochromatic
#281554 #3F2285 #562EB6 #754FD2 #9C80DF

Accessibility & contrast

On white

8.53
#562EB6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#562EB6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562EB6
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562EB6#FFFFFF#000000##FFFFFF
##562EB61.008.532.468.53
#FFFFFF8.531.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FBA
Deuteranopia (green-blind)
#0049B3
Tritanopia (blue-blind)
#315370
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #562eb6;
/* rgb */ color: rgb(86, 46, 182);
/* oklch */ color: oklch(44.1% 0.198 288.9);
Tailwind
colors: {
  custom: {
    50: '#906bcd',
    500: '#562eb6',
    950: '#000000',
  },
}
SCSS
$custom: #562eb6;
$custom-light: #906bcd;
$custom-dark: #000000;
JSON
{
  "hex": "#562eb6",
  "rgb": {
    "r": 86,
    "g": 46,
    "b": 182
  },
  "hsl": {
    "h": 257.647,
    "s": 59.649,
    "l": 44.706
  },
  "oklch": {
    "l": 0.44055,
    "c": 0.19849,
    "h": 288.9
  },
  "luminance": 0.0731
}

Semantic roles & 50–950 ramp

primary
#562EB6
secondary
#B0C878
accent
#E345B4
background
#F9F6FC
surface
#F2EBF9
border
#CCC6D2
text
#0E0714
muted
#7E7A82

Preview Lab

Preview with #562EB6

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

Preview Lab → · Contrast checker → · Palette generator →

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