#562B92#562B92

#562B92 is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.5% C 0.160 H 298.0°. Best body text is #FFFFFF at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#562B92
RGBrgb(86, 43, 146)
HSLhsl(265, 54%, 37%)
HSVhsv(265, 71%, 57%)
CMYKcmyk(41.1%, 70.5%, 0%, 42.7%)
CIE-LABlab(28.85, 41.83, -49.52)
CIE-LCHlch(28.85, 64.82, 310.19°)
OKLaboklab(40.51% 0.075 -0.1414)
OKLCHoklch(40.51% 0.16 298)
XYZxyz(9.8886, 5.7814, 27.7835)
Luminance0.0578 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562B92 #67922B
analogous
#2B3392 #562B92 #8A2B92
triadic
#562B92 #92562B #2B9256
tetradic
#562B92 #922B33 #67922B #2B928A
square
#562B92 #922B33 #67922B #2B928A
split-complementary
#562B92 #928A2B #33922B
monochromatic
#1E0F33 #3A1D63 #562B92 #7239C1 #9366D2

Accessibility & contrast

On white

9.74
#562B92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#562B92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562B92
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562B92#FFFFFF#000000##FFFFFF
##562B921.009.742.169.74
#FFFFFF9.741.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.741.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #562b92;
/* rgb */ color: rgb(86, 43, 146);
/* oklch */ color: oklch(40.5% 0.160 298.0);
Tailwind
colors: {
  custom: {
    50: '#8b68b3',
    500: '#562b92',
    950: '#000000',
  },
}
SCSS
$custom: #562b92;
$custom-light: #8b68b3;
$custom-dark: #000000;
JSON
{
  "hex": "#562b92",
  "rgb": {
    "r": 86,
    "g": 43,
    "b": 146
  },
  "hsl": {
    "h": 265.049,
    "s": 54.497,
    "l": 37.059
  },
  "oklch": {
    "l": 0.40511,
    "c": 0.16004,
    "h": 298
  },
  "luminance": 0.05782
}

Semantic roles & 50–950 ramp

primary
#562B92
secondary
#94B861
accent
#DE4AA0
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #562B92

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

Preview Lab → · Contrast checker → · Palette generator →

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