#562C72#562C72

#562C72 is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.2% C 0.120 H 309.5°. Best body text is #FFFFFF at 10.51:1 contrast (WCAG AA passes).

Color values

HEX#562C72
RGBrgb(86, 44, 114)
HSLhsl(276, 44%, 31%)
HSVhsv(276, 61%, 45%)
CMYKcmyk(24.6%, 61.4%, 0%, 55.3%)
CIE-LABlab(26.72, 32.91, -32.91)
CIE-LCHlch(26.72, 46.54, 315.00°)
OKLaboklab(38.23% 0.0765 -0.0926)
OKLCHoklch(38.23% 0.12 309.5)
XYZxyz(7.7751, 4.9948, 16.4708)
Luminance0.0500 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562C72 #48722C
analogous
#332C72 #562C72 #722C6B
triadic
#562C72 #72562C #2C7256
tetradic
#562C72 #72332C #48722C #2C6B72
square
#562C72 #72332C #48722C #2C6B72
split-complementary
#562C72 #6B722C #2C7233
monochromatic
#130A1A #351B46 #562C72 #773D9E #9659BF

Accessibility & contrast

On white

10.51
#562C72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#562C72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562C72
10.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562C72#FFFFFF#000000##FFFFFF
##562C721.0010.512.0010.51
#FFFFFF10.511.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#123D74
Deuteranopia (green-blind)
#244070
Tritanopia (blue-blind)
#52394A
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #562c72;
/* rgb */ color: rgb(86, 44, 114);
/* oklch */ color: oklch(38.2% 0.120 309.5);
Tailwind
colors: {
  custom: {
    50: '#88679b',
    500: '#562c72',
    950: '#000000',
  },
}
SCSS
$custom: #562c72;
$custom-light: #88679b;
$custom-dark: #000000;
JSON
{
  "hex": "#562c72",
  "rgb": {
    "r": 86,
    "g": 44,
    "b": 114
  },
  "hsl": {
    "h": 276,
    "s": 44.304,
    "l": 30.98
  },
  "oklch": {
    "l": 0.38231,
    "c": 0.12008,
    "h": 309.5
  },
  "luminance": 0.04995
}

Semantic roles & 50–950 ramp

primary
#562C72
secondary
#75A456
accent
#D45487
background
#F8F6F9
surface
#F0EBF2
border
#CBC6CC
text
#0C060E
muted
#7D7A7E

Preview Lab

Preview with #562C72

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

Preview Lab → · Contrast checker → · Palette generator →

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