#562099#562099

#562099 is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.8% C 0.181 H 297.7°. Best body text is #FFFFFF at 10.18:1 contrast (WCAG AA passes).

Color values

HEX#562099
RGBrgb(86, 32, 153)
HSLhsl(267, 65%, 36%)
HSVhsv(267, 79%, 60%)
CMYKcmyk(43.8%, 79.1%, 0%, 40%)
CIE-LABlab(27.60, 48.90, -55.86)
CIE-LCHlch(27.60, 74.24, 311.20°)
OKLaboklab(39.81% 0.0838 -0.1599)
OKLCHoklch(39.81% 0.181 297.7)
XYZxyz(10.1025, 5.3112, 30.6237)
Luminance0.0531 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562099 #639920
analogous
#202799 #562099 #932099
triadic
#562099 #995620 #209956
tetradic
#562099 #992027 #639920 #209993
square
#562099 #992027 #639920 #209993
split-complementary
#562099 #999320 #279920
monochromatic
#1D0B34 #3A1566 #562099 #722BCC #9357DC

Accessibility & contrast

On white

10.18
#562099 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#562099 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562099
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562099#FFFFFF#000000##FFFFFF
##5620991.0010.182.0610.18
#FFFFFF10.181.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00419C
Deuteranopia (green-blind)
#004097
Tritanopia (blue-blind)
#45415C
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #562099;
/* rgb */ color: rgb(86, 32, 153);
/* oklch */ color: oklch(39.8% 0.181 297.7);
Tailwind
colors: {
  custom: {
    50: '#8d62b8',
    500: '#562099',
    950: '#000000',
  },
}
SCSS
$custom: #562099;
$custom-light: #8d62b8;
$custom-dark: #000000;
JSON
{
  "hex": "#562099",
  "rgb": {
    "r": 86,
    "g": 32,
    "b": 153
  },
  "hsl": {
    "h": 266.777,
    "s": 65.405,
    "l": 36.275
  },
  "oklch": {
    "l": 0.39814,
    "c": 0.18055,
    "h": 297.7
  },
  "luminance": 0.05311
}

Semantic roles & 50–950 ramp

primary
#562099
secondary
#90C055
accent
#E83F9D
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0511
muted
#7E7A80

Preview Lab

Preview with #562099

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

Preview Lab → · Contrast checker → · Palette generator →

#562099 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva