#562C79#562C79

#562C79 is a dark, vivid violet. Relative luminance 0.052; OKLCH L 38.7% C 0.129 H 306.4°. Best body text is #FFFFFF at 10.33:1 contrast (WCAG AA passes).

Color values

HEX#562C79
RGBrgb(86, 44, 121)
HSLhsl(273, 47%, 32%)
HSVhsv(273, 64%, 47%)
CMYKcmyk(28.9%, 63.6%, 0%, 52.5%)
CIE-LABlab(27.19, 34.68, -36.61)
CIE-LCHlch(27.19, 50.43, 313.45°)
OKLaboklab(38.72% 0.0764 -0.1034)
OKLCHoklch(38.72% 0.129 306.4)
XYZxyz(8.1889, 5.1604, 18.6501)
Luminance0.0516 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562C79 #4F792C
analogous
#2F2C79 #562C79 #792C76
triadic
#562C79 #79562C #2C7956
tetradic
#562C79 #792F2C #4F792C #2C7679
square
#562C79 #792F2C #4F792C #2C7679
split-complementary
#562C79 #76792C #2C792F
monochromatic
#160B1F #361C4C #562C79 #763CA6 #945CC4

Accessibility & contrast

On white

10.33
#562C79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#562C79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562C79
10.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562C79#FFFFFF#000000##FFFFFF
##562C791.0010.332.0310.33
#FFFFFF10.331.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#053F7B
Deuteranopia (green-blind)
#1D4177
Tritanopia (blue-blind)
#503B4E
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #562c79;
/* rgb */ color: rgb(86, 44, 121);
/* oklch */ color: oklch(38.7% 0.129 306.4);
Tailwind
colors: {
  custom: {
    50: '#8868a0',
    500: '#562c79',
    950: '#000000',
  },
}
SCSS
$custom: #562c79;
$custom-light: #8868a0;
$custom-dark: #000000;
JSON
{
  "hex": "#562c79",
  "rgb": {
    "r": 86,
    "g": 44,
    "b": 121
  },
  "hsl": {
    "h": 272.727,
    "s": 46.667,
    "l": 32.353
  },
  "oklch": {
    "l": 0.38721,
    "c": 0.1286,
    "h": 306.4
  },
  "luminance": 0.0516
}

Semantic roles & 50–950 ramp

primary
#562C79
secondary
#7DAA57
accent
#D6518E
background
#F8F6F9
surface
#F0EBF2
border
#CBC6CC
text
#0C060F
muted
#7D7A7E

Preview Lab

Preview with #562C79

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

Preview Lab → · Contrast checker → · Palette generator →

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