#562191#562191

#562191 is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.2% C 0.171 H 299.9°. Best body text is #FFFFFF at 10.39:1 contrast (WCAG AA passes).

Color values

HEX#562191
RGBrgb(86, 33, 145)
HSLhsl(268, 63%, 35%)
HSVhsv(268, 77%, 57%)
CMYKcmyk(40.7%, 77.2%, 0%, 43.1%)
CIE-LABlab(27.05, 46.42, -51.85)
CIE-LCHlch(27.05, 69.59, 311.84°)
OKLaboklab(39.21% 0.0851 -0.1481)
OKLCHoklch(39.21% 0.171 299.9)
XYZxyz(9.4912, 5.1104, 27.2689)
Luminance0.0511 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562191 #5C9121
analogous
#212491 #562191 #8E2191
triadic
#562191 #915621 #219156
tetradic
#562191 #912124 #5C9121 #21918E
square
#562191 #912124 #5C9121 #21918E
split-complementary
#562191 #918E21 #249121
monochromatic
#1B0A2D #38165F #562191 #742CC3 #9354D8

Accessibility & contrast

On white

10.39
#562191 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#562191 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562191
10.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562191#FFFFFF#000000##FFFFFF
##5621911.0010.392.0210.39
#FFFFFF10.391.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004094
Deuteranopia (green-blind)
#003F8F
Tritanopia (blue-blind)
#483E58
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #562191;
/* rgb */ color: rgb(86, 33, 145);
/* oklch */ color: oklch(39.2% 0.171 299.9);
Tailwind
colors: {
  custom: {
    50: '#8c62b2',
    500: '#562191',
    950: '#000000',
  },
}
SCSS
$custom: #562191;
$custom-light: #8c62b2;
$custom-dark: #000000;
JSON
{
  "hex": "#562191",
  "rgb": {
    "r": 86,
    "g": 33,
    "b": 145
  },
  "hsl": {
    "h": 268.393,
    "s": 62.921,
    "l": 34.902
  },
  "oklch": {
    "l": 0.39206,
    "c": 0.17087,
    "h": 299.9
  },
  "luminance": 0.0511
}

Semantic roles & 50–950 ramp

primary
#562191
secondary
#8ABC52
accent
#E64298
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0D0511
muted
#7D7A80

Preview Lab

Preview with #562191

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

Preview Lab → · Contrast checker → · Palette generator →

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