#562C93#562C93

#562C93 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 40.7% C 0.160 H 297.5°. Best body text is #FFFFFF at 9.65:1 contrast (WCAG AA passes).

Color values

HEX#562C93
RGBrgb(86, 44, 147)
HSLhsl(264, 54%, 37%)
HSVhsv(264, 70%, 58%)
CMYKcmyk(41.5%, 70.1%, 0%, 42.4%)
CIE-LABlab(29.12, 41.57, -49.70)
CIE-LCHlch(29.12, 64.79, 309.91°)
OKLaboklab(40.73% 0.0738 -0.1419)
OKLCHoklch(40.73% 0.16 297.5)
XYZxyz(10.0035, 5.8862, 28.2072)
Luminance0.0589 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562C93 #69932C
analogous
#2C3593 #562C93 #8A2C93
triadic
#562C93 #93562C #2C9356
tetradic
#562C93 #932C35 #69932C #2C938A
square
#562C93 #932C35 #69932C #2C938A
split-complementary
#562C93 #938A2C #35932C
monochromatic
#1F1035 #3A1E64 #562C93 #723AC2 #9368D2

Accessibility & contrast

On white

9.65
#562C93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#562C93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562C93
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562C93#FFFFFF#000000##FFFFFF
##562C931.009.652.189.65
#FFFFFF9.651.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004596
Deuteranopia (green-blind)
#004391
Tritanopia (blue-blind)
#47455C
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #562c93;
/* rgb */ color: rgb(86, 44, 147);
/* oklch */ color: oklch(40.7% 0.160 297.5);
Tailwind
colors: {
  custom: {
    50: '#8b68b3',
    500: '#562c93',
    950: '#000000',
  },
}
SCSS
$custom: #562c93;
$custom-light: #8b68b3;
$custom-dark: #000000;
JSON
{
  "hex": "#562c93",
  "rgb": {
    "r": 86,
    "g": 44,
    "b": 147
  },
  "hsl": {
    "h": 264.466,
    "s": 53.927,
    "l": 37.451
  },
  "oklch": {
    "l": 0.40729,
    "c": 0.15993,
    "h": 297.5
  },
  "luminance": 0.05886
}

Semantic roles & 50–950 ramp

primary
#562C93
secondary
#95B863
accent
#DD4AA1
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #562C93

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

Preview Lab → · Contrast checker → · Palette generator →

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