#562CB5#562CB5

#562CB5 is a dark, vivid violet. Relative luminance 0.071; OKLCH L 43.7% C 0.199 H 289.4°. Best body text is #FFFFFF at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#562CB5
RGBrgb(86, 44, 181)
HSLhsl(258, 61%, 44%)
HSVhsv(258, 76%, 71%)
CMYKcmyk(52.5%, 75.7%, 0%, 29%)
CIE-LABlab(32.07, 50.93, -65.42)
CIE-LCHlch(32.07, 82.91, 307.90°)
OKLaboklab(43.72% 0.0663 -0.1881)
OKLCHoklch(43.72% 0.199 289.4)
XYZxyz(13.0765, 7.1154, 44.3915)
Luminance0.0712 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562CB5 #8BB52C
analogous
#2C47B5 #562CB5 #9B2CB5
triadic
#562CB5 #B5562C #2CB556
tetradic
#562CB5 #B52C47 #8BB52C #2CB59B
square
#562CB5 #B52C47 #8BB52C #2CB59B
split-complementary
#562CB5 #B59B2C #47B52C
monochromatic
#271453 #3F2084 #562CB5 #754BD3 #9B7CDF

Accessibility & contrast

On white

8.67
#562CB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#562CB5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562CB5
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562CB5#FFFFFF#000000##FFFFFF
##562CB51.008.672.428.67
#FFFFFF8.671.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB9
Deuteranopia (green-blind)
#0048B2
Tritanopia (blue-blind)
#32526F
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #562cb5;
/* rgb */ color: rgb(86, 44, 181);
/* oklch */ color: oklch(43.7% 0.199 289.4);
Tailwind
colors: {
  custom: {
    50: '#906acc',
    500: '#562cb5',
    950: '#000000',
  },
}
SCSS
$custom: #562cb5;
$custom-light: #906acc;
$custom-dark: #000000;
JSON
{
  "hex": "#562cb5",
  "rgb": {
    "r": 86,
    "g": 44,
    "b": 181
  },
  "hsl": {
    "h": 258.394,
    "s": 60.889,
    "l": 44.118
  },
  "oklch": {
    "l": 0.43723,
    "c": 0.1994,
    "h": 289.4
  },
  "luminance": 0.07116
}

Semantic roles & 50–950 ramp

primary
#562CB5
secondary
#AEC875
accent
#E444B3
background
#F9F6FC
surface
#F2EBF9
border
#CCC6D2
text
#0E0714
muted
#7E7A82

Preview Lab

Preview with #562CB5

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

Preview Lab → · Contrast checker → · Palette generator →

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