#562177#562177

#562177 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.1% C 0.142 H 309.3°. Best body text is #FFFFFF at 11.17:1 contrast (WCAG AA passes).

Color values

HEX#562177
RGBrgb(86, 33, 119)
HSLhsl(277, 57%, 30%)
HSVhsv(277, 72%, 47%)
CMYKcmyk(27.7%, 72.3%, 0%, 53.3%)
CIE-LABlab(24.95, 39.96, -38.95)
CIE-LCHlch(24.95, 55.80, 315.73°)
OKLaboklab(37.06% 0.0903 -0.1102)
OKLCHoklch(37.06% 0.143 309.3)
XYZxyz(7.7107, 4.3982, 17.8919)
Luminance0.0440 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562177 #427721
analogous
#2B2177 #562177 #77216D
triadic
#562177 #775621 #217756
tetradic
#562177 #772B21 #427721 #216D77
square
#562177 #772B21 #427721 #216D77
split-complementary
#562177 #6D7721 #21772B
monochromatic
#110718 #331447 #562177 #792EA7 #9947CC

Accessibility & contrast

On white

11.17
#562177 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#562177 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562177
11.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562177#FFFFFF#000000##FFFFFF
##5621771.0011.171.8811.17
#FFFFFF11.171.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00397A
Deuteranopia (green-blind)
#103C75
Tritanopia (blue-blind)
#513449
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #562177;
/* rgb */ color: rgb(86, 33, 119);
/* oklch */ color: oklch(37.1% 0.142 309.3);
Tailwind
colors: {
  custom: {
    50: '#89619f',
    500: '#562177',
    950: '#000000',
  },
}
SCSS
$custom: #562177;
$custom-light: #89619f;
$custom-dark: #000000;
JSON
{
  "hex": "#562177",
  "rgb": {
    "r": 86,
    "g": 33,
    "b": 119
  },
  "hsl": {
    "h": 276.977,
    "s": 56.579,
    "l": 29.804
  },
  "oklch": {
    "l": 0.37061,
    "c": 0.1425,
    "h": 309.3
  },
  "luminance": 0.04398
}

Semantic roles & 50–950 ramp

primary
#562177
secondary
#6FAA4A
accent
#E04882
background
#F8F5F9
surface
#F0EAF2
border
#CBC6CC
text
#0C050E
muted
#7D797E

Preview Lab

Preview with #562177

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

Preview Lab → · Contrast checker → · Palette generator →

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