#562C95#562C95

#562C95 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 40.9% C 0.162 H 296.9°. Best body text is #FFFFFF at 9.59:1 contrast (WCAG AA passes).

Color values

HEX#562C95
RGBrgb(86, 44, 149)
HSLhsl(264, 54%, 38%)
HSVhsv(264, 70%, 58%)
CMYKcmyk(42.3%, 70.5%, 0%, 41.6%)
CIE-LABlab(29.28, 42.12, -50.66)
CIE-LCHlch(29.28, 65.88, 309.74°)
OKLaboklab(40.89% 0.0735 -0.1447)
OKLCHoklch(40.89% 0.162 296.9)
XYZxyz(10.1618, 5.9495, 29.0409)
Luminance0.0595 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562C95 #6B952C
analogous
#2C3695 #562C95 #8A2C95
triadic
#562C95 #95562C #2C9556
tetradic
#562C95 #952C36 #6B952C #2C958A
square
#562C95 #952C36 #6B952C #2C958A
split-complementary
#562C95 #958A2C #36952C
monochromatic
#1F1037 #3B1E66 #562C95 #713AC4 #9369D3

Accessibility & contrast

On white

9.59
#562C95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#562C95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562C95
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562C95#FFFFFF#000000##FFFFFF
##562C951.009.592.199.59
#FFFFFF9.591.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004598
Deuteranopia (green-blind)
#004493
Tritanopia (blue-blind)
#46465D
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #562c95;
/* rgb */ color: rgb(86, 44, 149);
/* oklch */ color: oklch(40.9% 0.162 296.9);
Tailwind
colors: {
  custom: {
    50: '#8b68b5',
    500: '#562c95',
    950: '#000000',
  },
}
SCSS
$custom: #562c95;
$custom-light: #8b68b5;
$custom-dark: #000000;
JSON
{
  "hex": "#562c95",
  "rgb": {
    "r": 86,
    "g": 44,
    "b": 149
  },
  "hsl": {
    "h": 264,
    "s": 54.404,
    "l": 37.843
  },
  "oklch": {
    "l": 0.40895,
    "c": 0.16231,
    "h": 296.9
  },
  "luminance": 0.0595
}

Semantic roles & 50–950 ramp

primary
#562C95
secondary
#97B964
accent
#DE4AA3
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #562C95

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

Preview Lab → · Contrast checker → · Palette generator →

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