#562C99#562C99

#562C99 is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.2% C 0.167 H 295.8°. Best body text is #FFFFFF at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#562C99
RGBrgb(86, 44, 153)
HSLhsl(263, 55%, 39%)
HSVhsv(263, 71%, 60%)
CMYKcmyk(43.8%, 71.2%, 0%, 40%)
CIE-LABlab(29.61, 43.21, -52.58)
CIE-LCHlch(29.61, 68.05, 309.41°)
OKLaboklab(41.23% 0.0727 -0.1504)
OKLCHoklch(41.23% 0.167 295.8)
XYZxyz(10.4867, 6.0795, 30.7518)
Luminance0.0608 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562C99 #6F992C
analogous
#2C3899 #562C99 #8C2C99
triadic
#562C99 #99562C #2C9956
tetradic
#562C99 #992C38 #6F992C #2C998C
square
#562C99 #992C38 #6F992C #2C998C
split-complementary
#562C99 #998C2C #38992C
monochromatic
#21113A #3B1E69 #562C99 #713BC7 #946BD4

Accessibility & contrast

On white

9.48
#562C99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#562C99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562C99
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562C99#FFFFFF#000000##FFFFFF
##562C991.009.482.229.48
#FFFFFF9.481.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00469C
Deuteranopia (green-blind)
#004497
Tritanopia (blue-blind)
#44475F
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #562c99;
/* rgb */ color: rgb(86, 44, 153);
/* oklch */ color: oklch(41.2% 0.167 295.8);
Tailwind
colors: {
  custom: {
    50: '#8c69b8',
    500: '#562c99',
    950: '#000000',
  },
}
SCSS
$custom: #562c99;
$custom-light: #8c69b8;
$custom-dark: #000000;
JSON
{
  "hex": "#562c99",
  "rgb": {
    "r": 86,
    "g": 44,
    "b": 153
  },
  "hsl": {
    "h": 263.119,
    "s": 55.33,
    "l": 38.627
  },
  "oklch": {
    "l": 0.4123,
    "c": 0.16704,
    "h": 295.8
  },
  "luminance": 0.0608
}

Semantic roles & 50–950 ramp

primary
#562C99
secondary
#9ABB66
accent
#DF49A5
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0D0611
muted
#7D7A80

Preview Lab

Preview with #562C99

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

Preview Lab → · Contrast checker → · Palette generator →

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