#562BBE#562BBE

#562BBE is a dark, highly saturated violet. Relative luminance 0.074; OKLCH L 44.5% C 0.210 H 287.9°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#562BBE
RGBrgb(86, 43, 190)
HSLhsl(258, 63%, 46%)
HSVhsv(258, 77%, 75%)
CMYKcmyk(54.7%, 77.4%, 0%, 25.5%)
CIE-LABlab(32.75, 53.88, -69.63)
CIE-LCHlch(32.75, 88.04, 307.73°)
OKLaboklab(44.46% 0.0645 -0.2003)
OKLCHoklch(44.46% 0.21 287.9)
XYZxyz(13.9931, 7.4232, 49.4007)
Luminance0.0742 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562BBE #93BE2B
analogous
#2B49BE #562BBE #9F2BBE
triadic
#562BBE #BE562B #2BBE56
tetradic
#562BBE #BE2B49 #93BE2B #2BBE9F
square
#562BBE #BE2B49 #93BE2B #2BBE9F
split-complementary
#562BBE #BE9F2B #49BE2B
monochromatic
#29145A #3F208C #562BBE #774FD7 #9D81E2

Accessibility & contrast

On white

8.45
#562BBE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#562BBE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562BBE
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562BBE#FFFFFF#000000##FFFFFF
##562BBE1.008.452.488.45
#FFFFFF8.451.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050C2
Deuteranopia (green-blind)
#0049BB
Tritanopia (blue-blind)
#2A5574
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #562bbe;
/* rgb */ color: rgb(86, 43, 190);
/* oklch */ color: oklch(44.5% 0.210 287.9);
Tailwind
colors: {
  custom: {
    50: '#916ad3',
    500: '#562bbe',
    950: '#000000',
  },
}
SCSS
$custom: #562bbe;
$custom-light: #916ad3;
$custom-dark: #000000;
JSON
{
  "hex": "#562bbe",
  "rgb": {
    "r": 86,
    "g": 43,
    "b": 190
  },
  "hsl": {
    "h": 257.551,
    "s": 63.09,
    "l": 45.686
  },
  "oklch": {
    "l": 0.44458,
    "c": 0.21049,
    "h": 287.9
  },
  "luminance": 0.07424
}

Semantic roles & 50–950 ramp

primary
#562BBE
secondary
#B3CB7A
accent
#E642B6
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0E0714
muted
#7E7A83

Preview Lab

Preview with #562BBE

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

Preview Lab → · Contrast checker → · Palette generator →

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