#562B72#562B72

#562B72 is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.1% C 0.122 H 309.8°. Best body text is #FFFFFF at 10.58:1 contrast (WCAG AA passes).

Color values

HEX#562B72
RGBrgb(86, 43, 114)
HSLhsl(276, 45%, 31%)
HSVhsv(276, 62%, 45%)
CMYKcmyk(24.6%, 62.3%, 0%, 55.3%)
CIE-LABlab(26.51, 33.48, -33.25)
CIE-LCHlch(26.51, 47.18, 315.20°)
OKLaboklab(38.08% 0.0779 -0.0936)
OKLCHoklch(38.08% 0.122 309.8)
XYZxyz(7.7383, 4.9212, 16.4586)
Luminance0.0492 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562B72 #47722B
analogous
#322B72 #562B72 #722B6A
triadic
#562B72 #72562B #2B7256
tetradic
#562B72 #72322B #47722B #2B6A72
square
#562B72 #72322B #47722B #2B6A72
split-complementary
#562B72 #6A722B #2B7232
monochromatic
#130919 #341A46 #562B72 #783C9E #9758C0

Accessibility & contrast

On white

10.58
#562B72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#562B72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562B72
10.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562B72#FFFFFF#000000##FFFFFF
##562B721.0010.581.9810.58
#FFFFFF10.581.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#103D74
Deuteranopia (green-blind)
#233F70
Tritanopia (blue-blind)
#52384A
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #562b72;
/* rgb */ color: rgb(86, 43, 114);
/* oklch */ color: oklch(38.1% 0.122 309.8);
Tailwind
colors: {
  custom: {
    50: '#88679b',
    500: '#562b72',
    950: '#000000',
  },
}
SCSS
$custom: #562b72;
$custom-light: #88679b;
$custom-dark: #000000;
JSON
{
  "hex": "#562b72",
  "rgb": {
    "r": 86,
    "g": 43,
    "b": 114
  },
  "hsl": {
    "h": 276.338,
    "s": 45.223,
    "l": 30.784
  },
  "oklch": {
    "l": 0.38077,
    "c": 0.12172,
    "h": 309.8
  },
  "luminance": 0.04921
}

Semantic roles & 50–950 ramp

primary
#562B72
secondary
#74A455
accent
#D55386
background
#F8F6F9
surface
#F0EBF2
border
#CBC6CC
text
#0C060E
muted
#7D7A7E

Preview Lab

Preview with #562B72

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

Preview Lab → · Contrast checker → · Palette generator →

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