#562176#562176

#562176 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.0% C 0.141 H 309.7°. Best body text is #FFFFFF at 11.20:1 contrast (WCAG AA passes).

Color values

HEX#562176
RGBrgb(86, 33, 118)
HSLhsl(277, 56%, 30%)
HSVhsv(277, 72%, 46%)
CMYKcmyk(27.1%, 72%, 0%, 53.7%)
CIE-LABlab(24.87, 39.72, -38.43)
CIE-LCHlch(24.87, 55.27, 315.94°)
OKLaboklab(36.98% 0.0904 -0.1087)
OKLCHoklch(36.98% 0.141 309.7)
XYZxyz(7.6510, 4.3743, 17.5773)
Luminance0.0437 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562176 #417621
analogous
#2C2176 #562176 #76216C
triadic
#562176 #765621 #217656
tetradic
#562176 #762C21 #417621 #216C76
square
#562176 #762C21 #417621 #216C76
split-complementary
#562176 #6C7621 #21762C
monochromatic
#110718 #331446 #562176 #792EA6 #9946CB

Accessibility & contrast

On white

11.20
#562176 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#562176 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562176
11.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562176#FFFFFF#000000##FFFFFF
##5621761.0011.201.8711.20
#FFFFFF11.201.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003978
Deuteranopia (green-blind)
#123C74
Tritanopia (blue-blind)
#513349
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #562176;
/* rgb */ color: rgb(86, 33, 118);
/* oklch */ color: oklch(37.0% 0.141 309.7);
Tailwind
colors: {
  custom: {
    50: '#89619e',
    500: '#562176',
    950: '#000000',
  },
}
SCSS
$custom: #562176;
$custom-light: #89619e;
$custom-dark: #000000;
JSON
{
  "hex": "#562176",
  "rgb": {
    "r": 86,
    "g": 33,
    "b": 118
  },
  "hsl": {
    "h": 277.412,
    "s": 56.291,
    "l": 29.608
  },
  "oklch": {
    "l": 0.36984,
    "c": 0.14141,
    "h": 309.7
  },
  "luminance": 0.04374
}

Semantic roles & 50–950 ramp

primary
#562176
secondary
#6EA94A
accent
#E04881
background
#F8F5F9
surface
#F0EAF2
border
#CBC6CC
text
#0C050E
muted
#7D797E

Preview Lab

Preview with #562176

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

Preview Lab → · Contrast checker → · Palette generator →

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