#562E99#562E99

#562E99 is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.5% C 0.165 H 295.4°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#562E99
RGBrgb(86, 46, 153)
HSLhsl(262, 54%, 39%)
HSVhsv(262, 70%, 60%)
CMYKcmyk(43.8%, 69.9%, 0%, 40%)
CIE-LABlab(29.99, 42.16, -51.96)
CIE-LCHlch(29.99, 66.91, 309.05°)
OKLaboklab(41.5% 0.0707 -0.1486)
OKLCHoklch(41.5% 0.165 295.4)
XYZxyz(10.5630, 6.2321, 30.7772)
Luminance0.0623 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562E99 #71992E
analogous
#2E3C99 #562E99 #8C2E99
triadic
#562E99 #99562E #2E9956
tetradic
#562E99 #992E3C #71992E #2E998C
square
#562E99 #992E3C #71992E #2E998C
split-complementary
#562E99 #998C2E #3C992E
monochromatic
#21123B #3C206A #562E99 #713FC5 #946ED3

Accessibility & contrast

On white

9.35
#562E99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#562E99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562E99
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562E99#FFFFFF#000000##FFFFFF
##562E991.009.352.259.35
#FFFFFF9.351.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479C
Deuteranopia (green-blind)
#004597
Tritanopia (blue-blind)
#444860
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #562e99;
/* rgb */ color: rgb(86, 46, 153);
/* oklch */ color: oklch(41.5% 0.165 295.4);
Tailwind
colors: {
  custom: {
    50: '#8c6ab8',
    500: '#562e99',
    950: '#000000',
  },
}
SCSS
$custom: #562e99;
$custom-light: #8c6ab8;
$custom-dark: #000000;
JSON
{
  "hex": "#562e99",
  "rgb": {
    "r": 86,
    "g": 46,
    "b": 153
  },
  "hsl": {
    "h": 262.43,
    "s": 53.769,
    "l": 39.02
  },
  "oklch": {
    "l": 0.415,
    "c": 0.16451,
    "h": 295.4
  },
  "luminance": 0.06232
}

Semantic roles & 50–950 ramp

primary
#562E99
secondary
#9CBB68
accent
#DD4BA6
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0D0711
muted
#7D7A80

Preview Lab

Preview with #562E99

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

Preview Lab → · Contrast checker → · Palette generator →

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