#562991#562991

#562991 is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.2% C 0.161 H 298.6°. Best body text is #FFFFFF at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#562991
RGBrgb(86, 41, 145)
HSLhsl(266, 56%, 36%)
HSVhsv(266, 72%, 57%)
CMYKcmyk(40.7%, 71.7%, 0%, 43.1%)
CIE-LABlab(28.40, 42.59, -49.64)
CIE-LCHlch(28.40, 65.41, 310.63°)
OKLaboklab(40.16% 0.0773 -0.1417)
OKLCHoklch(40.16% 0.161 298.6)
XYZxyz(9.7402, 5.6085, 27.3520)
Luminance0.0561 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562991 #649129
analogous
#293091 #562991 #8A2991
triadic
#562991 #915629 #299156
tetradic
#562991 #912930 #649129 #29918A
square
#562991 #912930 #649129 #29918A
split-complementary
#562991 #918A29 #309129
monochromatic
#1D0E32 #3A1C61 #562991 #7236C1 #9362D3

Accessibility & contrast

On white

9.90
#562991 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#562991 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562991
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562991#FFFFFF#000000##FFFFFF
##5629911.009.902.129.90
#FFFFFF9.901.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004394
Deuteranopia (green-blind)
#00428F
Tritanopia (blue-blind)
#48425A
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #562991;
/* rgb */ color: rgb(86, 41, 145);
/* oklch */ color: oklch(40.2% 0.161 298.6);
Tailwind
colors: {
  custom: {
    50: '#8b67b2',
    500: '#562991',
    950: '#000000',
  },
}
SCSS
$custom: #562991;
$custom-light: #8b67b2;
$custom-dark: #000000;
JSON
{
  "hex": "#562991",
  "rgb": {
    "r": 86,
    "g": 41,
    "b": 145
  },
  "hsl": {
    "h": 265.962,
    "s": 55.914,
    "l": 36.471
  },
  "oklch": {
    "l": 0.40164,
    "c": 0.16143,
    "h": 298.6
  },
  "luminance": 0.05609
}

Semantic roles & 50–950 ramp

primary
#562991
secondary
#91B85D
accent
#DF499E
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #562991

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

Preview Lab → · Contrast checker → · Palette generator →

#562991 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva