#562973#562973

#562973 is a dark, vivid violet. Relative luminance 0.048; OKLCH L 37.8% C 0.126 H 309.7°. Best body text is #FFFFFF at 10.71:1 contrast (WCAG AA passes).

Color values

HEX#562973
RGBrgb(86, 41, 115)
HSLhsl(276, 47%, 31%)
HSVhsv(276, 64%, 45%)
CMYKcmyk(25.2%, 64.3%, 0%, 54.9%)
CIE-LABlab(26.16, 34.84, -34.44)
CIE-LCHlch(26.16, 48.99, 315.33°)
OKLaboklab(37.85% 0.0806 -0.097)
OKLCHoklch(37.85% 0.126 309.7)
XYZxyz(7.7246, 4.8023, 16.7363)
Luminance0.0480 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562973 #467329
analogous
#312973 #562973 #73296B
triadic
#562973 #735629 #297356
tetradic
#562973 #733129 #467329 #296B73
square
#562973 #733129 #467329 #296B73
split-complementary
#562973 #6B7329 #297331
monochromatic
#130919 #341946 #562973 #7839A0 #9754C2

Accessibility & contrast

On white

10.71
#562973 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#562973 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562973
10.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562973#FFFFFF#000000##FFFFFF
##5629731.0010.711.9610.71
#FFFFFF10.711.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#083C75
Deuteranopia (green-blind)
#203F71
Tritanopia (blue-blind)
#52374A
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #562973;
/* rgb */ color: rgb(86, 41, 115);
/* oklch */ color: oklch(37.8% 0.126 309.7);
Tailwind
colors: {
  custom: {
    50: '#88659c',
    500: '#562973',
    950: '#000000',
  },
}
SCSS
$custom: #562973;
$custom-light: #88659c;
$custom-dark: #000000;
JSON
{
  "hex": "#562973",
  "rgb": {
    "r": 86,
    "g": 41,
    "b": 115
  },
  "hsl": {
    "h": 276.486,
    "s": 47.436,
    "l": 30.588
  },
  "oklch": {
    "l": 0.37847,
    "c": 0.12614,
    "h": 309.7
  },
  "luminance": 0.04802
}

Semantic roles & 50–950 ramp

primary
#562973
secondary
#73A553
accent
#D75185
background
#F8F6F9
surface
#F0EBF2
border
#CBC6CC
text
#0C060E
muted
#7D7A7E

Preview Lab

Preview with #562973

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

Preview Lab → · Contrast checker → · Palette generator →

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