#562A73#562A73

#562A73 is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.0% C 0.125 H 309.5°. Best body text is #FFFFFF at 10.64:1 contrast (WCAG AA passes).

Color values

HEX#562A73
RGBrgb(86, 42, 115)
HSLhsl(276, 46%, 31%)
HSVhsv(276, 63%, 45%)
CMYKcmyk(25.2%, 63.5%, 0%, 54.9%)
CIE-LABlab(26.37, 34.29, -34.11)
CIE-LCHlch(26.37, 48.36, 315.15°)
OKLaboklab(38% 0.0792 -0.0961)
OKLCHoklch(38% 0.125 309.5)
XYZxyz(7.7596, 4.8723, 16.7480)
Luminance0.0487 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562A73 #47732A
analogous
#312A73 #562A73 #732A6B
triadic
#562A73 #73562A #2A7356
tetradic
#562A73 #73312A #47732A #2A6B73
square
#562A73 #73312A #47732A #2A6B73
split-complementary
#562A73 #6B732A #2A7331
monochromatic
#130919 #341A46 #562A73 #783AA0 #9756C1

Accessibility & contrast

On white

10.64
#562A73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#562A73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562A73
10.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562A73#FFFFFF#000000##FFFFFF
##562A731.0010.641.9710.64
#FFFFFF10.641.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B3C75
Deuteranopia (green-blind)
#213F71
Tritanopia (blue-blind)
#52384A
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #562a73;
/* rgb */ color: rgb(86, 42, 115);
/* oklch */ color: oklch(38.0% 0.125 309.5);
Tailwind
colors: {
  custom: {
    50: '#88669c',
    500: '#562a73',
    950: '#000000',
  },
}
SCSS
$custom: #562a73;
$custom-light: #88669c;
$custom-dark: #000000;
JSON
{
  "hex": "#562a73",
  "rgb": {
    "r": 86,
    "g": 42,
    "b": 115
  },
  "hsl": {
    "h": 276.164,
    "s": 46.497,
    "l": 30.784
  },
  "oklch": {
    "l": 0.37995,
    "c": 0.12454,
    "h": 309.5
  },
  "luminance": 0.04872
}

Semantic roles & 50–950 ramp

primary
#562A73
secondary
#74A554
accent
#D65286
background
#F8F6F9
surface
#F0EBF2
border
#CBC6CC
text
#0C060E
muted
#7D7A7E

Preview Lab

Preview with #562A73

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

Preview Lab → · Contrast checker → · Palette generator →

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