#562299#562299

#562299 is a dark, vivid violet. Relative luminance 0.054; OKLCH L 40.0% C 0.179 H 297.4°. Best body text is #FFFFFF at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#562299
RGBrgb(86, 34, 153)
HSLhsl(266, 64%, 37%)
HSVhsv(266, 78%, 60%)
CMYKcmyk(43.8%, 77.8%, 0%, 40%)
CIE-LABlab(27.91, 48.03, -55.37)
CIE-LCHlch(27.91, 73.30, 310.94°)
OKLaboklab(40.03% 0.0821 -0.1585)
OKLCHoklch(40.03% 0.179 297.4)
XYZxyz(10.1580, 5.4222, 30.6422)
Luminance0.0542 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562299 #659922
analogous
#222A99 #562299 #922299
triadic
#562299 #995622 #229956
tetradic
#562299 #99222A #659922 #229992
square
#562299 #99222A #659922 #229992
split-complementary
#562299 #999222 #2A9922
monochromatic
#1E0C35 #3A1767 #562299 #722DCB #935BDB

Accessibility & contrast

On white

10.07
#562299 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#562299 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562299
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562299#FFFFFF#000000##FFFFFF
##5622991.0010.072.0810.07
#FFFFFF10.071.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00429C
Deuteranopia (green-blind)
#004097
Tritanopia (blue-blind)
#45425D
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #562299;
/* rgb */ color: rgb(86, 34, 153);
/* oklch */ color: oklch(40.0% 0.179 297.4);
Tailwind
colors: {
  custom: {
    50: '#8c63b8',
    500: '#562299',
    950: '#000000',
  },
}
SCSS
$custom: #562299;
$custom-light: #8c63b8;
$custom-dark: #000000;
JSON
{
  "hex": "#562299",
  "rgb": {
    "r": 86,
    "g": 34,
    "b": 153
  },
  "hsl": {
    "h": 266.218,
    "s": 63.636,
    "l": 36.667
  },
  "oklch": {
    "l": 0.40025,
    "c": 0.17851,
    "h": 297.4
  },
  "luminance": 0.05422
}

Semantic roles & 50–950 ramp

primary
#562299
secondary
#92BF58
accent
#E7419E
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #562299

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

Preview Lab → · Contrast checker → · Palette generator →

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