#562192#562192

#562192 is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.3% C 0.172 H 299.6°. Best body text is #FFFFFF at 10.35:1 contrast (WCAG AA passes).

Color values

HEX#562192
RGBrgb(86, 33, 146)
HSLhsl(268, 63%, 35%)
HSVhsv(268, 77%, 57%)
CMYKcmyk(41.1%, 77.4%, 0%, 42.7%)
CIE-LABlab(27.13, 46.68, -52.32)
CIE-LCHlch(27.13, 70.12, 311.74°)
OKLaboklab(39.29% 0.0849 -0.1495)
OKLCHoklch(39.29% 0.172 299.6)
XYZxyz(9.5686, 5.1414, 27.6768)
Luminance0.0514 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562192 #5D9221
analogous
#212492 #562192 #8F2192
triadic
#562192 #925621 #219256
tetradic
#562192 #922124 #5D9221 #21928F
square
#562192 #922124 #5D9221 #21928F
split-complementary
#562192 #928F21 #249221
monochromatic
#1B0A2E #391660 #562192 #732CC4 #9355D9

Accessibility & contrast

On white

10.35
#562192 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#562192 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562192
10.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562192#FFFFFF#000000##FFFFFF
##5621921.0010.352.0310.35
#FFFFFF10.351.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004095
Deuteranopia (green-blind)
#003F90
Tritanopia (blue-blind)
#483F58
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #562192;
/* rgb */ color: rgb(86, 33, 146);
/* oklch */ color: oklch(39.3% 0.172 299.6);
Tailwind
colors: {
  custom: {
    50: '#8c62b3',
    500: '#562192',
    950: '#000000',
  },
}
SCSS
$custom: #562192;
$custom-light: #8c62b3;
$custom-dark: #000000;
JSON
{
  "hex": "#562192",
  "rgb": {
    "r": 86,
    "g": 33,
    "b": 146
  },
  "hsl": {
    "h": 268.142,
    "s": 63.128,
    "l": 35.098
  },
  "oklch": {
    "l": 0.39294,
    "c": 0.17196,
    "h": 299.6
  },
  "luminance": 0.05141
}

Semantic roles & 50–950 ramp

primary
#562192
secondary
#8BBC53
accent
#E64299
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0511
muted
#7E7A80

Preview Lab

Preview with #562192

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

Preview Lab → · Contrast checker → · Palette generator →

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