#562190#562190

#562190 is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.1% C 0.170 H 300.2°. Best body text is #FFFFFF at 10.42:1 contrast (WCAG AA passes).

Color values

HEX#562190
RGBrgb(86, 33, 144)
HSLhsl(269, 63%, 35%)
HSVhsv(269, 77%, 56%)
CMYKcmyk(40.3%, 77.1%, 0%, 43.5%)
CIE-LABlab(26.96, 46.17, -51.37)
CIE-LCHlch(26.96, 69.07, 311.95°)
OKLaboklab(39.12% 0.0854 -0.1467)
OKLCHoklch(39.12% 0.17 300.2)
XYZxyz(9.4144, 5.0797, 26.8646)
Luminance0.0508 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562190 #5B9021
analogous
#212390 #562190 #8E2190
triadic
#562190 #905621 #219056
tetradic
#562190 #902123 #5B9021 #21908E
square
#562190 #902123 #5B9021 #21908E
split-complementary
#562190 #908E21 #239021
monochromatic
#1B0A2C #38165E #562190 #742CC2 #9354D8

Accessibility & contrast

On white

10.42
#562190 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #562190
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562190#FFFFFF#000000##FFFFFF
##5621901.0010.422.0210.42
#FFFFFF10.421.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F93
Deuteranopia (green-blind)
#003F8E
Tritanopia (blue-blind)
#493E57
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #562190;
/* rgb */ color: rgb(86, 33, 144);
/* oklch */ color: oklch(39.1% 0.170 300.2);
Tailwind
colors: {
  custom: {
    50: '#8b62b1',
    500: '#562190',
    950: '#000000',
  },
}
SCSS
$custom: #562190;
$custom-light: #8b62b1;
$custom-dark: #000000;
JSON
{
  "hex": "#562190",
  "rgb": {
    "r": 86,
    "g": 33,
    "b": 144
  },
  "hsl": {
    "h": 268.649,
    "s": 62.712,
    "l": 34.706
  },
  "oklch": {
    "l": 0.39118,
    "c": 0.16979,
    "h": 300.2
  },
  "luminance": 0.0508
}

Semantic roles & 50–950 ramp

primary
#562190
secondary
#89BB51
accent
#E64298
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0D0511
muted
#7D7A80

Preview Lab

Preview with #562190

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

Preview Lab → · Contrast checker → · Palette generator →

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