#562A93#562A93

#562A93 is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.5% C 0.163 H 297.8°. Best body text is #FFFFFF at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#562A93
RGBrgb(86, 42, 147)
HSLhsl(265, 56%, 37%)
HSVhsv(265, 71%, 58%)
CMYKcmyk(41.5%, 71.4%, 0%, 42.4%)
CIE-LABlab(28.75, 42.61, -50.31)
CIE-LCHlch(28.75, 65.93, 310.27°)
OKLaboklab(40.46% 0.0759 -0.1437)
OKLCHoklch(40.46% 0.163 297.8)
XYZxyz(9.9308, 5.7408, 28.1830)
Luminance0.0574 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562A93 #67932A
analogous
#2A3293 #562A93 #8B2A93
triadic
#562A93 #93562A #2A9356
tetradic
#562A93 #932A32 #67932A #2A938B
square
#562A93 #932A32 #67932A #2A938B
split-complementary
#562A93 #938B2A #32932A
monochromatic
#1E0F34 #3A1C63 #562A93 #7238C3 #9365D3

Accessibility & contrast

On white

9.78
#562A93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#562A93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562A93
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562A93#FFFFFF#000000##FFFFFF
##562A931.009.782.159.78
#FFFFFF9.781.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004496
Deuteranopia (green-blind)
#004391
Tritanopia (blue-blind)
#47445B
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #562a93;
/* rgb */ color: rgb(86, 42, 147);
/* oklch */ color: oklch(40.5% 0.163 297.8);
Tailwind
colors: {
  custom: {
    50: '#8b67b3',
    500: '#562a93',
    950: '#000000',
  },
}
SCSS
$custom: #562a93;
$custom-light: #8b67b3;
$custom-dark: #000000;
JSON
{
  "hex": "#562a93",
  "rgb": {
    "r": 86,
    "g": 42,
    "b": 147
  },
  "hsl": {
    "h": 265.143,
    "s": 55.556,
    "l": 37.059
  },
  "oklch": {
    "l": 0.40462,
    "c": 0.1625,
    "h": 297.8
  },
  "luminance": 0.05741
}

Semantic roles & 50–950 ramp

primary
#562A93
secondary
#94B960
accent
#DF49A0
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #562A93

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

Preview Lab → · Contrast checker → · Palette generator →

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