#562C71#562C71

#562C71 is a dark, moderate violet. Relative luminance 0.050; OKLCH L 38.2% C 0.119 H 310.0°. Best body text is #FFFFFF at 10.53:1 contrast (WCAG AA passes).

Color values

HEX#562C71
RGBrgb(86, 44, 113)
HSLhsl(277, 44%, 31%)
HSVhsv(277, 61%, 44%)
CMYKcmyk(23.9%, 61.1%, 0%, 55.7%)
CIE-LABlab(26.66, 32.66, -32.37)
CIE-LCHlch(26.66, 45.99, 315.25°)
OKLaboklab(38.16% 0.0764 -0.091)
OKLCHoklch(38.16% 0.119 310)
XYZxyz(7.7185, 4.9722, 16.1727)
Luminance0.0497 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562C71 #47712C
analogous
#332C71 #562C71 #712C69
triadic
#562C71 #71562C #2C7156
tetradic
#562C71 #71332C #47712C #2C6971
square
#562C71 #71332C #47712C #2C6971
split-complementary
#562C71 #69712C #2C7133
monochromatic
#130A19 #341B45 #562C71 #783D9D #9759BE

Accessibility & contrast

On white

10.53
#562C71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#562C71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562C71
10.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562C71#FFFFFF#000000##FFFFFF
##562C711.0010.531.9910.53
#FFFFFF10.531.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#143D73
Deuteranopia (green-blind)
#25406F
Tritanopia (blue-blind)
#52394A
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #562c71;
/* rgb */ color: rgb(86, 44, 113);
/* oklch */ color: oklch(38.2% 0.119 310.0);
Tailwind
colors: {
  custom: {
    50: '#88679a',
    500: '#562c71',
    950: '#000000',
  },
}
SCSS
$custom: #562c71;
$custom-light: #88679a;
$custom-dark: #000000;
JSON
{
  "hex": "#562c71",
  "rgb": {
    "r": 86,
    "g": 44,
    "b": 113
  },
  "hsl": {
    "h": 276.522,
    "s": 43.949,
    "l": 30.784
  },
  "oklch": {
    "l": 0.38163,
    "c": 0.11886,
    "h": 310
  },
  "luminance": 0.04972
}

Semantic roles & 50–950 ramp

primary
#562C71
secondary
#74A356
accent
#D45486
background
#F8F6F9
surface
#F0EBF2
border
#CBC6CC
text
#0C060E
muted
#7D7A7E

Preview Lab

Preview with #562C71

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

Preview Lab → · Contrast checker → · Palette generator →

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