#562B79#562B79

#562B79 is a dark, vivid violet. Relative luminance 0.051; OKLCH L 38.6% C 0.130 H 306.7°. Best body text is #FFFFFF at 10.41:1 contrast (WCAG AA passes).

Color values

HEX#562B79
RGBrgb(86, 43, 121)
HSLhsl(273, 48%, 32%)
HSVhsv(273, 64%, 47%)
CMYKcmyk(28.9%, 64.5%, 0%, 52.5%)
CIE-LABlab(26.98, 35.24, -36.94)
CIE-LCHlch(26.98, 51.06, 313.65°)
OKLaboklab(38.57% 0.0777 -0.1044)
OKLCHoklch(38.57% 0.13 306.7)
XYZxyz(8.1521, 5.0867, 18.6378)
Luminance0.0509 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562B79 #4E792B
analogous
#2F2B79 #562B79 #792B75
triadic
#562B79 #79562B #2B7956
tetradic
#562B79 #792F2B #4E792B #2B7579
square
#562B79 #792F2B #4E792B #2B7579
split-complementary
#562B79 #75792B #2B792F
monochromatic
#160B1F #361B4C #562B79 #763BA6 #955AC4

Accessibility & contrast

On white

10.41
#562B79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#562B79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562B79
10.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562B79#FFFFFF#000000##FFFFFF
##562B791.0010.412.0210.41
#FFFFFF10.411.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#013E7B
Deuteranopia (green-blind)
#1C4077
Tritanopia (blue-blind)
#503B4E
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #562b79;
/* rgb */ color: rgb(86, 43, 121);
/* oklch */ color: oklch(38.6% 0.130 306.7);
Tailwind
colors: {
  custom: {
    50: '#8967a0',
    500: '#562b79',
    950: '#000000',
  },
}
SCSS
$custom: #562b79;
$custom-light: #8967a0;
$custom-dark: #000000;
JSON
{
  "hex": "#562b79",
  "rgb": {
    "r": 86,
    "g": 43,
    "b": 121
  },
  "hsl": {
    "h": 273.077,
    "s": 47.561,
    "l": 32.157
  },
  "oklch": {
    "l": 0.38571,
    "c": 0.13016,
    "h": 306.7
  },
  "luminance": 0.05087
}

Semantic roles & 50–950 ramp

primary
#562B79
secondary
#7CAA56
accent
#D7518D
background
#F8F6F9
surface
#F0EBF2
border
#CBC6CC
text
#0C060F
muted
#7D7A7E

Preview Lab

Preview with #562B79

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

Preview Lab → · Contrast checker → · Palette generator →

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