#562A70#562A70

#562A70 is a dark, vivid violet. Relative luminance 0.048; OKLCH L 37.8% C 0.121 H 310.9°. Best body text is #FFFFFF at 10.71:1 contrast (WCAG AA passes).

Color values

HEX#562A70
RGBrgb(86, 42, 112)
HSLhsl(278, 45%, 30%)
HSVhsv(278, 63%, 44%)
CMYKcmyk(23.2%, 62.5%, 0%, 56.1%)
CIE-LABlab(26.17, 33.54, -32.51)
CIE-LCHlch(26.17, 46.71, 315.90°)
OKLaboklab(37.79% 0.0792 -0.0914)
OKLCHoklch(37.79% 0.121 310.9)
XYZxyz(7.5898, 4.8044, 15.8536)
Luminance0.0480 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562A70 #44702A
analogous
#332A70 #562A70 #702A67
triadic
#562A70 #70562A #2A7056
tetradic
#562A70 #70332A #44702A #2A6770
square
#562A70 #70332A #44702A #2A6770
split-complementary
#562A70 #67702A #2A7033
monochromatic
#120917 #341943 #562A70 #783B9D #9855BF

Accessibility & contrast

On white

10.71
#562A70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#562A70 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562A70
10.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562A70#FFFFFF#000000##FFFFFF
##562A701.0010.711.9610.71
#FFFFFF10.711.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#103C72
Deuteranopia (green-blind)
#233F6E
Tritanopia (blue-blind)
#533748
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #562a70;
/* rgb */ color: rgb(86, 42, 112);
/* oklch */ color: oklch(37.8% 0.121 310.9);
Tailwind
colors: {
  custom: {
    50: '#886699',
    500: '#562a70',
    950: '#000000',
  },
}
SCSS
$custom: #562a70;
$custom-light: #886699;
$custom-dark: #000000;
JSON
{
  "hex": "#562a70",
  "rgb": {
    "r": 86,
    "g": 42,
    "b": 112
  },
  "hsl": {
    "h": 277.714,
    "s": 45.455,
    "l": 30.196
  },
  "oklch": {
    "l": 0.37788,
    "c": 0.12097,
    "h": 310.9
  },
  "luminance": 0.04804
}

Semantic roles & 50–950 ramp

primary
#562A70
secondary
#71A254
accent
#D55383
background
#F8F6F9
surface
#F0EBF2
border
#CBC6CC
text
#0C060E
muted
#7D7A7E

Preview Lab

Preview with #562A70

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

Preview Lab → · Contrast checker → · Palette generator →

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