#562B76#562B76

#562B76 is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.4% C 0.127 H 307.9°. Best body text is #FFFFFF at 10.49:1 contrast (WCAG AA passes).

Color values

HEX#562B76
RGBrgb(86, 43, 118)
HSLhsl(274, 47%, 32%)
HSVhsv(274, 64%, 46%)
CMYKcmyk(27.1%, 63.6%, 0%, 53.7%)
CIE-LABlab(26.78, 34.48, -35.37)
CIE-LCHlch(26.78, 49.40, 314.27°)
OKLaboklab(38.36% 0.0778 -0.0998)
OKLCHoklch(38.36% 0.127 307.9)
XYZxyz(7.9710, 5.0143, 17.6840)
Luminance0.0501 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562B76 #4B762B
analogous
#312B76 #562B76 #762B71
triadic
#562B76 #76562B #2B7656
tetradic
#562B76 #76312B #4B762B #2B7176
square
#562B76 #76312B #4B762B #2B7176
split-complementary
#562B76 #71762B #2B7631
monochromatic
#150A1C #351B49 #562B76 #773BA3 #9559C2

Accessibility & contrast

On white

10.49
#562B76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#562B76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562B76
10.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562B76#FFFFFF#000000##FFFFFF
##562B761.0010.492.0010.49
#FFFFFF10.491.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#083E78
Deuteranopia (green-blind)
#1F4074
Tritanopia (blue-blind)
#513A4C
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #562b76;
/* rgb */ color: rgb(86, 43, 118);
/* oklch */ color: oklch(38.4% 0.127 307.9);
Tailwind
colors: {
  custom: {
    50: '#88679e',
    500: '#562b76',
    950: '#000000',
  },
}
SCSS
$custom: #562b76;
$custom-light: #88679e;
$custom-dark: #000000;
JSON
{
  "hex": "#562b76",
  "rgb": {
    "r": 86,
    "g": 43,
    "b": 118
  },
  "hsl": {
    "h": 274.4,
    "s": 46.584,
    "l": 31.569
  },
  "oklch": {
    "l": 0.38356,
    "c": 0.12655,
    "h": 307.9
  },
  "luminance": 0.05014
}

Semantic roles & 50–950 ramp

primary
#562B76
secondary
#78A855
accent
#D6528A
background
#F8F6F9
surface
#F0EBF2
border
#CBC6CC
text
#0C060E
muted
#7D7A7E

Preview Lab

Preview with #562B76

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

Preview Lab → · Contrast checker → · Palette generator →

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