#562C76#562C76

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

Color values

HEX#562C76
RGBrgb(86, 44, 118)
HSLhsl(274, 46%, 32%)
HSVhsv(274, 63%, 46%)
CMYKcmyk(27.1%, 62.7%, 0%, 53.7%)
CIE-LABlab(26.98, 33.92, -35.03)
CIE-LCHlch(26.98, 48.76, 314.07°)
OKLaboklab(38.51% 0.0765 -0.0988)
OKLCHoklch(38.51% 0.125 307.7)
XYZxyz(8.0078, 5.0879, 17.6962)
Luminance0.0509 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562C76 #4C762C
analogous
#312C76 #562C76 #762C71
triadic
#562C76 #76562C #2C7656
tetradic
#562C76 #76312C #4C762C #2C7176
square
#562C76 #76312C #4C762C #2C7176
split-complementary
#562C76 #71762C #2C7631
monochromatic
#150B1D #361B49 #562C76 #763DA3 #955BC2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##562C76#FFFFFF#000000##FFFFFF
##562C761.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)
#0C3E78
Deuteranopia (green-blind)
#204074
Tritanopia (blue-blind)
#513A4C
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #562c76;
/* rgb */ color: rgb(86, 44, 118);
/* oklch */ color: oklch(38.5% 0.125 307.7);
Tailwind
colors: {
  custom: {
    50: '#88679e',
    500: '#562c76',
    950: '#000000',
  },
}
SCSS
$custom: #562c76;
$custom-light: #88679e;
$custom-dark: #000000;
JSON
{
  "hex": "#562c76",
  "rgb": {
    "r": 86,
    "g": 44,
    "b": 118
  },
  "hsl": {
    "h": 274.054,
    "s": 45.679,
    "l": 31.765
  },
  "oklch": {
    "l": 0.38508,
    "c": 0.12495,
    "h": 307.7
  },
  "luminance": 0.05088
}

Semantic roles & 50–950 ramp

primary
#562C76
secondary
#79A756
accent
#D5528B
background
#F8F6F9
surface
#F0EBF2
border
#CBC6CC
text
#0C060E
muted
#7D7A7E

Preview Lab

Preview with #562C76

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

Preview Lab → · Contrast checker → · Palette generator →

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