#562C94#562C94

#562C94 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 40.8% C 0.161 H 297.2°. Best body text is #FFFFFF at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#562C94
RGBrgb(86, 44, 148)
HSLhsl(264, 54%, 38%)
HSVhsv(264, 70%, 58%)
CMYKcmyk(41.9%, 70.3%, 0%, 42%)
CIE-LABlab(29.20, 41.84, -50.18)
CIE-LCHlch(29.20, 65.34, 309.82°)
OKLaboklab(40.81% 0.0736 -0.1433)
OKLCHoklch(40.81% 0.161 297.2)
XYZxyz(10.0823, 5.9177, 28.6223)
Luminance0.0592 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562C94 #6A942C
analogous
#2C3694 #562C94 #8A2C94
triadic
#562C94 #94562C #2C9456
tetradic
#562C94 #942C36 #6A942C #2C948A
square
#562C94 #942C36 #6A942C #2C948A
split-complementary
#562C94 #948A2C #36942C
monochromatic
#1F1036 #3B1E65 #562C94 #713AC3 #9368D2

Accessibility & contrast

On white

9.62
#562C94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#562C94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562C94
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562C94#FFFFFF#000000##FFFFFF
##562C941.009.622.189.62
#FFFFFF9.621.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004597
Deuteranopia (green-blind)
#004492
Tritanopia (blue-blind)
#46455C
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #562c94;
/* rgb */ color: rgb(86, 44, 148);
/* oklch */ color: oklch(40.8% 0.161 297.2);
Tailwind
colors: {
  custom: {
    50: '#8b68b4',
    500: '#562c94',
    950: '#000000',
  },
}
SCSS
$custom: #562c94;
$custom-light: #8b68b4;
$custom-dark: #000000;
JSON
{
  "hex": "#562c94",
  "rgb": {
    "r": 86,
    "g": 44,
    "b": 148
  },
  "hsl": {
    "h": 264.231,
    "s": 54.167,
    "l": 37.647
  },
  "oklch": {
    "l": 0.40812,
    "c": 0.16112,
    "h": 297.2
  },
  "luminance": 0.05918
}

Semantic roles & 50–950 ramp

primary
#562C94
secondary
#96B963
accent
#DE4AA2
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #562C94

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

Preview Lab → · Contrast checker → · Palette generator →

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