#562C90#562C90

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

Color values

HEX#562C90
RGBrgb(86, 44, 144)
HSLhsl(265, 53%, 37%)
HSVhsv(265, 69%, 56%)
CMYKcmyk(40.3%, 69.4%, 0%, 43.5%)
CIE-LABlab(28.88, 40.76, -48.24)
CIE-LCHlch(28.88, 63.15, 310.20°)
OKLaboklab(40.48% 0.0743 -0.1376)
OKLCHoklch(40.48% 0.156 298.3)
XYZxyz(9.7712, 5.7933, 26.9836)
Luminance0.0579 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562C90 #66902C
analogous
#2C3490 #562C90 #882C90
triadic
#562C90 #90562C #2C9056
tetradic
#562C90 #902C34 #66902C #2C9088
square
#562C90 #902C34 #66902C #2C9088
split-complementary
#562C90 #90882C #34902C
monochromatic
#1E0F32 #3A1E61 #562C90 #723ABF #9366D0

Accessibility & contrast

On white

9.73
#562C90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #562C90
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562C90#FFFFFF#000000##FFFFFF
##562C901.009.732.169.73
#FFFFFF9.731.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004493
Deuteranopia (green-blind)
#00438E
Tritanopia (blue-blind)
#48445A
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #562c90;
/* rgb */ color: rgb(86, 44, 144);
/* oklch */ color: oklch(40.5% 0.156 298.3);
Tailwind
colors: {
  custom: {
    50: '#8b68b1',
    500: '#562c90',
    950: '#000000',
  },
}
SCSS
$custom: #562c90;
$custom-light: #8b68b1;
$custom-dark: #000000;
JSON
{
  "hex": "#562c90",
  "rgb": {
    "r": 86,
    "g": 44,
    "b": 144
  },
  "hsl": {
    "h": 265.2,
    "s": 53.191,
    "l": 36.863
  },
  "oklch": {
    "l": 0.40484,
    "c": 0.15636,
    "h": 298.3
  },
  "luminance": 0.05793
}

Semantic roles & 50–950 ramp

primary
#562C90
secondary
#93B761
accent
#DD4BA0
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #562C90

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

Preview Lab → · Contrast checker → · Palette generator →

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