#562B91#562B91

#562B91 is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.4% C 0.159 H 298.2°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#562B91
RGBrgb(86, 43, 145)
HSLhsl(265, 54%, 37%)
HSVhsv(265, 70%, 57%)
CMYKcmyk(40.7%, 70.3%, 0%, 43.1%)
CIE-LABlab(28.77, 41.56, -49.03)
CIE-LCHlch(28.77, 64.28, 310.28°)
OKLaboklab(40.43% 0.0752 -0.1399)
OKLCHoklch(40.43% 0.159 298.2)
XYZxyz(9.8112, 5.7504, 27.3756)
Luminance0.0575 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562B91 #66912B
analogous
#2B3391 #562B91 #892B91
triadic
#562B91 #91562B #2B9156
tetradic
#562B91 #912B33 #66912B #2B9189
square
#562B91 #912B33 #66912B #2B9189
split-complementary
#562B91 #91892B #33912B
monochromatic
#1E0F33 #3A1D62 #562B91 #7239C0 #9365D1

Accessibility & contrast

On white

9.77
#562B91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#562B91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562B91
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562B91#FFFFFF#000000##FFFFFF
##562B911.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004494
Deuteranopia (green-blind)
#00438F
Tritanopia (blue-blind)
#48445A
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #562b91;
/* rgb */ color: rgb(86, 43, 145);
/* oklch */ color: oklch(40.4% 0.159 298.2);
Tailwind
colors: {
  custom: {
    50: '#8b68b2',
    500: '#562b91',
    950: '#000000',
  },
}
SCSS
$custom: #562b91;
$custom-light: #8b68b2;
$custom-dark: #000000;
JSON
{
  "hex": "#562b91",
  "rgb": {
    "r": 86,
    "g": 43,
    "b": 145
  },
  "hsl": {
    "h": 265.294,
    "s": 54.255,
    "l": 36.863
  },
  "oklch": {
    "l": 0.40429,
    "c": 0.15886,
    "h": 298.2
  },
  "luminance": 0.05751
}

Semantic roles & 50–950 ramp

primary
#562B91
secondary
#93B860
accent
#DE4A9F
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #562B91

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

Preview Lab → · Contrast checker → · Palette generator →

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