#562E93#562E93

#562E93 is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.0% C 0.157 H 297.1°. Best body text is #FFFFFF at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#562E93
RGBrgb(86, 46, 147)
HSLhsl(264, 52%, 38%)
HSVhsv(264, 69%, 58%)
CMYKcmyk(41.5%, 68.7%, 0%, 42.4%)
CIE-LABlab(29.51, 40.50, -49.07)
CIE-LCHlch(29.51, 63.63, 309.54°)
OKLaboklab(41.01% 0.0716 -0.1401)
OKLCHoklch(41.01% 0.157 297.1)
XYZxyz(10.0798, 6.0388, 28.2326)
Luminance0.0604 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562E93 #6B932E
analogous
#2E3993 #562E93 #882E93
triadic
#562E93 #93562E #2E9356
tetradic
#562E93 #932E39 #6B932E #2E9388
square
#562E93 #932E39 #6B932E #2E9388
split-complementary
#562E93 #93882E #39932E
monochromatic
#1F1136 #3B1F64 #562E93 #713DC2 #936BD1

Accessibility & contrast

On white

9.51
#562E93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#562E93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562E93
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562E93#FFFFFF#000000##FFFFFF
##562E931.009.512.219.51
#FFFFFF9.511.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004696
Deuteranopia (green-blind)
#004491
Tritanopia (blue-blind)
#47465C
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #562e93;
/* rgb */ color: rgb(86, 46, 147);
/* oklch */ color: oklch(41.0% 0.157 297.1);
Tailwind
colors: {
  custom: {
    50: '#8b6ab3',
    500: '#562e93',
    950: '#000000',
  },
}
SCSS
$custom: #562e93;
$custom-light: #8b6ab3;
$custom-dark: #000000;
JSON
{
  "hex": "#562e93",
  "rgb": {
    "r": 86,
    "g": 46,
    "b": 147
  },
  "hsl": {
    "h": 263.762,
    "s": 52.332,
    "l": 37.843
  },
  "oklch": {
    "l": 0.41006,
    "c": 0.1573,
    "h": 297.1
  },
  "luminance": 0.06039
}

Semantic roles & 50–950 ramp

primary
#562E93
secondary
#97B865
accent
#DC4CA3
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #562E93

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

Preview Lab → · Contrast checker → · Palette generator →

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