#562B93#562B93

#562B93 is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.6% C 0.161 H 297.7°. Best body text is #FFFFFF at 9.71:1 contrast (WCAG AA passes).

Color values

HEX#562B93
RGBrgb(86, 43, 147)
HSLhsl(265, 55%, 37%)
HSVhsv(265, 71%, 58%)
CMYKcmyk(41.5%, 70.7%, 0%, 42.4%)
CIE-LABlab(28.93, 42.10, -50.00)
CIE-LCHlch(28.93, 65.36, 310.09°)
OKLaboklab(40.59% 0.0749 -0.1428)
OKLCHoklch(40.59% 0.161 297.7)
XYZxyz(9.9667, 5.8126, 28.1949)
Luminance0.0581 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562B93 #68932B
analogous
#2B3493 #562B93 #8A2B93
triadic
#562B93 #93562B #2B9356
tetradic
#562B93 #932B34 #68932B #2B938A
square
#562B93 #932B34 #68932B #2B938A
split-complementary
#562B93 #938A2B #34932B
monochromatic
#1F0F34 #3A1D64 #562B93 #7239C2 #9366D2

Accessibility & contrast

On white

9.71
#562B93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #562B93
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562B93#FFFFFF#000000##FFFFFF
##562B931.009.712.169.71
#FFFFFF9.711.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.711.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #562b93;
/* rgb */ color: rgb(86, 43, 147);
/* oklch */ color: oklch(40.6% 0.161 297.7);
Tailwind
colors: {
  custom: {
    50: '#8b68b3',
    500: '#562b93',
    950: '#000000',
  },
}
SCSS
$custom: #562b93;
$custom-light: #8b68b3;
$custom-dark: #000000;
JSON
{
  "hex": "#562b93",
  "rgb": {
    "r": 86,
    "g": 43,
    "b": 147
  },
  "hsl": {
    "h": 264.808,
    "s": 54.737,
    "l": 37.255
  },
  "oklch": {
    "l": 0.40594,
    "c": 0.16122,
    "h": 297.7
  },
  "luminance": 0.05813
}

Semantic roles & 50–950 ramp

primary
#562B93
secondary
#94B961
accent
#DE4AA1
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #562B93

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

Preview Lab → · Contrast checker → · Palette generator →

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