#562A99#562A99

#562A99 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 41.0% C 0.169 H 296.2°. Best body text is #FFFFFF at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#562A99
RGBrgb(86, 42, 153)
HSLhsl(264, 57%, 38%)
HSVhsv(264, 73%, 60%)
CMYKcmyk(43.8%, 72.5%, 0%, 40%)
CIE-LABlab(29.25, 44.23, -53.18)
CIE-LCHlch(29.25, 69.17, 309.75°)
OKLaboklab(40.97% 0.0747 -0.1521)
OKLCHoklch(40.97% 0.169 296.2)
XYZxyz(10.4140, 5.9340, 30.7275)
Luminance0.0593 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562A99 #6D992A
analogous
#2A3599 #562A99 #8D2A99
triadic
#562A99 #99562A #2A9956
tetradic
#562A99 #992A35 #6D992A #2A998D
square
#562A99 #992A35 #6D992A #2A998D
split-complementary
#562A99 #998D2A #35992A
monochromatic
#201039 #3B1D69 #562A99 #7138C8 #9368D6

Accessibility & contrast

On white

9.60
#562A99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #562A99
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562A99#FFFFFF#000000##FFFFFF
##562A991.009.602.199.60
#FFFFFF9.601.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00469C
Deuteranopia (green-blind)
#004397
Tritanopia (blue-blind)
#44465F
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #562a99;
/* rgb */ color: rgb(86, 42, 153);
/* oklch */ color: oklch(41.0% 0.169 296.2);
Tailwind
colors: {
  custom: {
    50: '#8c67b8',
    500: '#562a99',
    950: '#000000',
  },
}
SCSS
$custom: #562a99;
$custom-light: #8c67b8;
$custom-dark: #000000;
JSON
{
  "hex": "#562a99",
  "rgb": {
    "r": 86,
    "g": 42,
    "b": 153
  },
  "hsl": {
    "h": 263.784,
    "s": 56.923,
    "l": 38.235
  },
  "oklch": {
    "l": 0.4097,
    "c": 0.16948,
    "h": 296.2
  },
  "luminance": 0.05934
}

Semantic roles & 50–950 ramp

primary
#562A99
secondary
#99BC63
accent
#E048A4
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #562A99

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

Preview Lab → · Contrast checker → · Palette generator →

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