#562A92#562A92

#562A92 is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.4% C 0.161 H 298.1°. Best body text is #FFFFFF at 9.80:1 contrast (WCAG AA passes).

Color values

HEX#562A92
RGBrgb(86, 42, 146)
HSLhsl(265, 55%, 37%)
HSVhsv(265, 71%, 57%)
CMYKcmyk(41.1%, 71.2%, 0%, 42.7%)
CIE-LABlab(28.67, 42.35, -49.82)
CIE-LCHlch(28.67, 65.39, 310.36°)
OKLaboklab(40.38% 0.0761 -0.1423)
OKLCHoklch(40.38% 0.161 298.1)
XYZxyz(9.8527, 5.7095, 27.7715)
Luminance0.0571 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562A92 #66922A
analogous
#2A3292 #562A92 #8A2A92
triadic
#562A92 #92562A #2A9256
tetradic
#562A92 #922A32 #66922A #2A928A
square
#562A92 #922A32 #66922A #2A928A
split-complementary
#562A92 #928A2A #32922A
monochromatic
#1E0F33 #3A1C62 #562A92 #7238C2 #9364D2

Accessibility & contrast

On white

9.80
#562A92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#562A92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562A92
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562A92#FFFFFF#000000##FFFFFF
##562A921.009.802.149.80
#FFFFFF9.801.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004495
Deuteranopia (green-blind)
#004290
Tritanopia (blue-blind)
#47435B
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #562a92;
/* rgb */ color: rgb(86, 42, 146);
/* oklch */ color: oklch(40.4% 0.161 298.1);
Tailwind
colors: {
  custom: {
    50: '#8b67b3',
    500: '#562a92',
    950: '#000000',
  },
}
SCSS
$custom: #562a92;
$custom-light: #8b67b3;
$custom-dark: #000000;
JSON
{
  "hex": "#562a92",
  "rgb": {
    "r": 86,
    "g": 42,
    "b": 146
  },
  "hsl": {
    "h": 265.385,
    "s": 55.319,
    "l": 36.863
  },
  "oklch": {
    "l": 0.40378,
    "c": 0.16133,
    "h": 298.1
  },
  "luminance": 0.0571
}

Semantic roles & 50–950 ramp

primary
#562A92
secondary
#93B85F
accent
#DF499F
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #562A92

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

Preview Lab → · Contrast checker → · Palette generator →

#562A92 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva