#562C92#562C92

#562C92 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 40.6% C 0.159 H 297.8°. Best body text is #FFFFFF at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#562C92
RGBrgb(86, 44, 146)
HSLhsl(265, 54%, 37%)
HSVhsv(265, 70%, 57%)
CMYKcmyk(41.1%, 69.9%, 0%, 42.7%)
CIE-LABlab(29.04, 41.30, -49.21)
CIE-LCHlch(29.04, 64.25, 310.00°)
OKLaboklab(40.65% 0.0739 -0.1405)
OKLCHoklch(40.65% 0.159 297.8)
XYZxyz(9.9254, 5.8550, 27.7957)
Luminance0.0585 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562C92 #68922C
analogous
#2C3592 #562C92 #892C92
triadic
#562C92 #92562C #2C9256
tetradic
#562C92 #922C35 #68922C #2C9289
square
#562C92 #922C35 #68922C #2C9289
split-complementary
#562C92 #92892C #35922C
monochromatic
#1F1034 #3A1E63 #562C92 #723AC1 #9367D1

Accessibility & contrast

On white

9.67
#562C92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#562C92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562C92
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562C92#FFFFFF#000000##FFFFFF
##562C921.009.672.179.67
#FFFFFF9.671.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.671.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #562c92;
/* rgb */ color: rgb(86, 44, 146);
/* oklch */ color: oklch(40.6% 0.159 297.8);
Tailwind
colors: {
  custom: {
    50: '#8b68b3',
    500: '#562c92',
    950: '#000000',
  },
}
SCSS
$custom: #562c92;
$custom-light: #8b68b3;
$custom-dark: #000000;
JSON
{
  "hex": "#562c92",
  "rgb": {
    "r": 86,
    "g": 44,
    "b": 146
  },
  "hsl": {
    "h": 264.706,
    "s": 53.684,
    "l": 37.255
  },
  "oklch": {
    "l": 0.40647,
    "c": 0.15874,
    "h": 297.8
  },
  "luminance": 0.05855
}

Semantic roles & 50–950 ramp

primary
#562C92
secondary
#94B862
accent
#DD4BA1
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #562C92

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

Preview Lab → · Contrast checker → · Palette generator →

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