#562CBB#562CBB

#562CBB is a dark, highly saturated violet. Relative luminance 0.074; OKLCH L 44.3% C 0.206 H 288.3°. Best body text is #FFFFFF at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#562CBB
RGBrgb(86, 44, 187)
HSLhsl(258, 62%, 45%)
HSVhsv(258, 76%, 73%)
CMYKcmyk(54%, 76.5%, 0%, 26.7%)
CIE-LABlab(32.63, 52.59, -68.06)
CIE-LCHlch(32.63, 86.01, 307.69°)
OKLaboklab(44.29% 0.0647 -0.1958)
OKLCHoklch(44.29% 0.206 288.3)
XYZxyz(13.7054, 7.3670, 47.7039)
Luminance0.0737 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562CBB #91BB2C
analogous
#2C4ABB #562CBB #9D2CBB
triadic
#562CBB #BB562C #2CBB56
tetradic
#562CBB #BB2C4A #91BB2C #2CBB9D
square
#562CBB #BB2C4A #91BB2C #2CBB9D
split-complementary
#562CBB #BB9D2C #4ABB2C
monochromatic
#281558 #3F2089 #562CBB #764FD6 #9D80E1

Accessibility & contrast

On white

8.49
#562CBB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#562CBB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562CBB
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562CBB#FFFFFF#000000##FFFFFF
##562CBB1.008.492.478.49
#FFFFFF8.491.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050BF
Deuteranopia (green-blind)
#0049B8
Tritanopia (blue-blind)
#2D5472
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #562cbb;
/* rgb */ color: rgb(86, 44, 187);
/* oklch */ color: oklch(44.3% 0.206 288.3);
Tailwind
colors: {
  custom: {
    50: '#906ad1',
    500: '#562cbb',
    950: '#000000',
  },
}
SCSS
$custom: #562cbb;
$custom-light: #906ad1;
$custom-dark: #000000;
JSON
{
  "hex": "#562cbb",
  "rgb": {
    "r": 86,
    "g": 44,
    "b": 187
  },
  "hsl": {
    "h": 257.622,
    "s": 61.905,
    "l": 45.294
  },
  "oklch": {
    "l": 0.44285,
    "c": 0.20617,
    "h": 288.3
  },
  "luminance": 0.07368
}

Semantic roles & 50–950 ramp

primary
#562CBB
secondary
#B2CA79
accent
#E543B5
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0E0714
muted
#7E7A83

Preview Lab

Preview with #562CBB

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

Preview Lab → · Contrast checker → · Palette generator →

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