#562D93#562D93

#562D93 is a dark, vivid violet. Relative luminance 0.060; OKLCH L 40.9% C 0.159 H 297.3°. Best body text is #FFFFFF at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#562D93
RGBrgb(86, 45, 147)
HSLhsl(264, 53%, 38%)
HSVhsv(264, 69%, 58%)
CMYKcmyk(41.5%, 69.4%, 0%, 42.4%)
CIE-LABlab(29.32, 41.04, -49.38)
CIE-LCHlch(29.32, 64.21, 309.73°)
OKLaboklab(40.87% 0.0727 -0.141)
OKLCHoklch(40.87% 0.159 297.3)
XYZxyz(10.0412, 5.9616, 28.2198)
Luminance0.0596 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562D93 #6A932D
analogous
#2D3793 #562D93 #892D93
triadic
#562D93 #93562D #2D9356
tetradic
#562D93 #932D37 #6A932D #2D9389
square
#562D93 #932D37 #6A932D #2D9389
split-complementary
#562D93 #93892D #37932D
monochromatic
#1F1035 #3B1F64 #562D93 #713BC2 #9369D1

Accessibility & contrast

On white

9.58
#562D93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#562D93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562D93
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562D93#FFFFFF#000000##FFFFFF
##562D931.009.582.199.58
#FFFFFF9.581.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004596
Deuteranopia (green-blind)
#004491
Tritanopia (blue-blind)
#47455C
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #562d93;
/* rgb */ color: rgb(86, 45, 147);
/* oklch */ color: oklch(40.9% 0.159 297.3);
Tailwind
colors: {
  custom: {
    50: '#8b69b3',
    500: '#562d93',
    950: '#000000',
  },
}
SCSS
$custom: #562d93;
$custom-light: #8b69b3;
$custom-dark: #000000;
JSON
{
  "hex": "#562d93",
  "rgb": {
    "r": 86,
    "g": 45,
    "b": 147
  },
  "hsl": {
    "h": 264.118,
    "s": 53.125,
    "l": 37.647
  },
  "oklch": {
    "l": 0.40866,
    "c": 0.15862,
    "h": 297.3
  },
  "luminance": 0.05962
}

Semantic roles & 50–950 ramp

primary
#562D93
secondary
#96B864
accent
#DD4BA2
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #562D93

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

Preview Lab → · Contrast checker → · Palette generator →

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