#562B73#562B73

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

Color values

HEX#562B73
RGBrgb(86, 43, 115)
HSLhsl(276, 46%, 31%)
HSVhsv(276, 63%, 45%)
CMYKcmyk(25.2%, 62.6%, 0%, 54.9%)
CIE-LABlab(26.57, 33.73, -33.78)
CIE-LCHlch(26.57, 47.73, 314.95°)
OKLaboklab(38.15% 0.0779 -0.0951)
OKLCHoklch(38.15% 0.123 309.3)
XYZxyz(7.7955, 4.9441, 16.7600)
Luminance0.0494 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562B73 #48732B
analogous
#322B73 #562B73 #732B6C
triadic
#562B73 #73562B #2B7356
tetradic
#562B73 #73322B #48732B #2B6C73
square
#562B73 #73322B #48732B #2B6C73
split-complementary
#562B73 #6C732B #2B7332
monochromatic
#130A1A #351A46 #562B73 #773CA0 #9658C1

Accessibility & contrast

On white

10.56
#562B73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #562B73
10.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562B73#FFFFFF#000000##FFFFFF
##562B731.0010.561.9910.56
#FFFFFF10.561.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E3D75
Deuteranopia (green-blind)
#223F71
Tritanopia (blue-blind)
#52394A
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #562b73;
/* rgb */ color: rgb(86, 43, 115);
/* oklch */ color: oklch(38.1% 0.123 309.3);
Tailwind
colors: {
  custom: {
    50: '#88679c',
    500: '#562b73',
    950: '#000000',
  },
}
SCSS
$custom: #562b73;
$custom-light: #88679c;
$custom-dark: #000000;
JSON
{
  "hex": "#562b73",
  "rgb": {
    "r": 86,
    "g": 43,
    "b": 115
  },
  "hsl": {
    "h": 275.833,
    "s": 45.57,
    "l": 30.98
  },
  "oklch": {
    "l": 0.38146,
    "c": 0.12292,
    "h": 309.3
  },
  "luminance": 0.04944
}

Semantic roles & 50–950 ramp

primary
#562B73
secondary
#75A555
accent
#D55387
background
#F8F6F9
surface
#F0EBF2
border
#CBC6CC
text
#0C060E
muted
#7D7A7E

Preview Lab

Preview with #562B73

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

Preview Lab → · Contrast checker → · Palette generator →

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