#562C73#562C73

#562C73 is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.3% C 0.121 H 309.1°. Best body text is #FFFFFF at 10.48:1 contrast (WCAG AA passes).

Color values

HEX#562C73
RGBrgb(86, 44, 115)
HSLhsl(275, 45%, 31%)
HSVhsv(275, 62%, 45%)
CMYKcmyk(25.2%, 61.7%, 0%, 54.9%)
CIE-LABlab(26.79, 33.16, -33.44)
CIE-LCHlch(26.79, 47.10, 314.76°)
OKLaboklab(38.3% 0.0765 -0.0941)
OKLCHoklch(38.3% 0.121 309.1)
XYZxyz(7.8323, 5.0177, 16.7722)
Luminance0.0502 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562C73 #49732C
analogous
#322C73 #562C73 #732C6C
triadic
#562C73 #73562C #2C7356
tetradic
#562C73 #73322C #49732C #2C6C73
square
#562C73 #73322C #49732C #2C6C73
split-complementary
#562C73 #6C732C #2C7332
monochromatic
#140A1A #351B47 #562C73 #773D9F #965AC0

Accessibility & contrast

On white

10.48
#562C73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #562C73
10.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562C73#FFFFFF#000000##FFFFFF
##562C731.0010.482.0010.48
#FFFFFF10.481.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#113E75
Deuteranopia (green-blind)
#234071
Tritanopia (blue-blind)
#52394B
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #562c73;
/* rgb */ color: rgb(86, 44, 115);
/* oklch */ color: oklch(38.3% 0.121 309.1);
Tailwind
colors: {
  custom: {
    50: '#88679c',
    500: '#562c73',
    950: '#000000',
  },
}
SCSS
$custom: #562c73;
$custom-light: #88679c;
$custom-dark: #000000;
JSON
{
  "hex": "#562c73",
  "rgb": {
    "r": 86,
    "g": 44,
    "b": 115
  },
  "hsl": {
    "h": 275.493,
    "s": 44.654,
    "l": 31.176
  },
  "oklch": {
    "l": 0.38299,
    "c": 0.12129,
    "h": 309.1
  },
  "luminance": 0.05018
}

Semantic roles & 50–950 ramp

primary
#562C73
secondary
#76A556
accent
#D45388
background
#F8F6F9
surface
#F0EBF2
border
#CBC6CC
text
#0C060E
muted
#7D7A7E

Preview Lab

Preview with #562C73

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

Preview Lab → · Contrast checker → · Palette generator →

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