#562BB1#562BB1

#562BB1 is a dark, vivid violet. Relative luminance 0.069; OKLCH L 43.2% C 0.196 H 290.4°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#562BB1
RGBrgb(86, 43, 177)
HSLhsl(259, 61%, 43%)
HSVhsv(259, 76%, 69%)
CMYKcmyk(51.4%, 75.7%, 0%, 30.6%)
CIE-LABlab(31.53, 50.30, -63.92)
CIE-LCHlch(31.53, 81.34, 308.20°)
OKLaboklab(43.23% 0.0681 -0.1836)
OKLCHoklch(43.23% 0.196 290.4)
XYZxyz(12.6352, 6.8800, 42.2487)
Luminance0.0688 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562BB1 #86B12B
analogous
#2B43B1 #562BB1 #992BB1
triadic
#562BB1 #B1562B #2BB156
tetradic
#562BB1 #B12B43 #86B12B #2BB199
square
#562BB1 #B12B43 #86B12B #2BB199
split-complementary
#562BB1 #B1992B #43B12B
monochromatic
#26134F #3E1F80 #562BB1 #7447D2 #9978DE

Accessibility & contrast

On white

8.84
#562BB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#562BB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562BB1
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562BB1#FFFFFF#000000##FFFFFF
##562BB11.008.842.388.84
#FFFFFF8.841.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB5
Deuteranopia (green-blind)
#0047AE
Tritanopia (blue-blind)
#36506C
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #562bb1;
/* rgb */ color: rgb(86, 43, 177);
/* oklch */ color: oklch(43.2% 0.196 290.4);
Tailwind
colors: {
  custom: {
    50: '#8f69c9',
    500: '#562bb1',
    950: '#000000',
  },
}
SCSS
$custom: #562bb1;
$custom-light: #8f69c9;
$custom-dark: #000000;
JSON
{
  "hex": "#562bb1",
  "rgb": {
    "r": 86,
    "g": 43,
    "b": 177
  },
  "hsl": {
    "h": 259.254,
    "s": 60.909,
    "l": 43.137
  },
  "oklch": {
    "l": 0.43234,
    "c": 0.19588,
    "h": 290.4
  },
  "luminance": 0.06881
}

Semantic roles & 50–950 ramp

primary
#562BB1
secondary
#ABC672
accent
#E444B1
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #562BB1

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

Preview Lab → · Contrast checker → · Palette generator →

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