#562E77#562E77

#562E77 is a dark, vivid violet. Relative luminance 0.053; OKLCH L 38.9% C 0.123 H 306.8°. Best body text is #FFFFFF at 10.23:1 contrast (WCAG AA passes).

Color values

HEX#562E77
RGBrgb(86, 46, 119)
HSLhsl(273, 44%, 32%)
HSVhsv(273, 61%, 47%)
CMYKcmyk(27.7%, 61.3%, 0%, 53.3%)
CIE-LABlab(27.48, 33.03, -34.88)
CIE-LCHlch(27.48, 48.04, 313.44°)
OKLaboklab(38.89% 0.0737 -0.0984)
OKLCHoklch(38.89% 0.123 306.8)
XYZxyz(8.1438, 5.2644, 18.0363)
Luminance0.0526 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562E77 #4F772E
analogous
#322E77 #562E77 #772E73
triadic
#562E77 #77562E #2E7756
tetradic
#562E77 #77322E #4F772E #2E7377
square
#562E77 #77322E #4F772E #2E7377
split-complementary
#562E77 #73772E #2E7732
monochromatic
#160C1F #361D4B #562E77 #763FA3 #945EC1

Accessibility & contrast

On white

10.23
#562E77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#562E77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562E77
10.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562E77#FFFFFF#000000##FFFFFF
##562E771.0010.232.0510.23
#FFFFFF10.231.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#103F79
Deuteranopia (green-blind)
#224175
Tritanopia (blue-blind)
#513C4E
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #562e77;
/* rgb */ color: rgb(86, 46, 119);
/* oklch */ color: oklch(38.9% 0.123 306.8);
Tailwind
colors: {
  custom: {
    50: '#88699f',
    500: '#562e77',
    950: '#000000',
  },
}
SCSS
$custom: #562e77;
$custom-light: #88699f;
$custom-dark: #000000;
JSON
{
  "hex": "#562e77",
  "rgb": {
    "r": 86,
    "g": 46,
    "b": 119
  },
  "hsl": {
    "h": 272.877,
    "s": 44.242,
    "l": 32.353
  },
  "oklch": {
    "l": 0.38887,
    "c": 0.12294,
    "h": 306.8
  },
  "luminance": 0.05264
}

Semantic roles & 50–950 ramp

primary
#562E77
secondary
#7DA859
accent
#D4548E
background
#F8F6F9
surface
#F0EBF2
border
#CBC6CC
text
#0C060E
muted
#7D7A7E

Preview Lab

Preview with #562E77

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

Preview Lab → · Contrast checker → · Palette generator →

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