#562C91#562C91

#562C91 is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.6% C 0.158 H 298.1°. Best body text is #FFFFFF at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#562C91
RGBrgb(86, 44, 145)
HSLhsl(265, 53%, 37%)
HSVhsv(265, 70%, 57%)
CMYKcmyk(40.7%, 69.7%, 0%, 43.1%)
CIE-LABlab(28.96, 41.03, -48.73)
CIE-LCHlch(28.96, 63.70, 310.10°)
OKLaboklab(40.57% 0.0741 -0.139)
OKLCHoklch(40.57% 0.158 298.1)
XYZxyz(9.8480, 5.8240, 27.3879)
Luminance0.0582 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562C91 #67912C
analogous
#2C3591 #562C91 #882C91
triadic
#562C91 #91562C #2C9156
tetradic
#562C91 #912C35 #67912C #2C9188
square
#562C91 #912C35 #67912C #2C9188
split-complementary
#562C91 #91882C #35912C
monochromatic
#1E1033 #3A1E62 #562C91 #723AC0 #9367D1

Accessibility & contrast

On white

9.70
#562C91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#562C91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562C91
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562C91#FFFFFF#000000##FFFFFF
##562C911.009.702.169.70
#FFFFFF9.701.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.701.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #562c91;
/* rgb */ color: rgb(86, 44, 145);
/* oklch */ color: oklch(40.6% 0.158 298.1);
Tailwind
colors: {
  custom: {
    50: '#8b68b2',
    500: '#562c91',
    950: '#000000',
  },
}
SCSS
$custom: #562c91;
$custom-light: #8b68b2;
$custom-dark: #000000;
JSON
{
  "hex": "#562c91",
  "rgb": {
    "r": 86,
    "g": 44,
    "b": 145
  },
  "hsl": {
    "h": 264.95,
    "s": 53.439,
    "l": 37.059
  },
  "oklch": {
    "l": 0.40565,
    "c": 0.15755,
    "h": 298.1
  },
  "luminance": 0.05824
}

Semantic roles & 50–950 ramp

primary
#562C91
secondary
#94B762
accent
#DD4BA0
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #562C91

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

Preview Lab → · Contrast checker → · Palette generator →

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