#562C88#562C88

#562C88 is a dark, vivid violet. Relative luminance 0.056; OKLCH L 39.8% C 0.147 H 300.9°. Best body text is #FFFFFF at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#562C88
RGBrgb(86, 44, 136)
HSLhsl(267, 51%, 35%)
HSVhsv(267, 68%, 53%)
CMYKcmyk(36.8%, 67.6%, 0%, 46.7%)
CIE-LABlab(28.27, 38.61, -44.28)
CIE-LCHlch(28.27, 58.75, 311.09°)
OKLaboklab(39.85% 0.0753 -0.126)
OKLCHoklch(39.85% 0.147 300.9)
XYZxyz(9.1813, 5.5573, 23.8767)
Luminance0.0556 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562C88 #5E882C
analogous
#2C3088 #562C88 #842C88
triadic
#562C88 #88562C #2C8856
tetradic
#562C88 #882C30 #5E882C #2C8884
square
#562C88 #882C30 #5E882C #2C8884
split-complementary
#562C88 #88842C #30882C
monochromatic
#1C0E2C #391D5A #562C88 #733BB6 #9362CC

Accessibility & contrast

On white

9.95
#562C88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#562C88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562C88
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562C88#FFFFFF#000000##FFFFFF
##562C881.009.952.119.95
#FFFFFF9.951.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00428B
Deuteranopia (green-blind)
#004286
Tritanopia (blue-blind)
#4B4156
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #562c88;
/* rgb */ color: rgb(86, 44, 136);
/* oklch */ color: oklch(39.8% 0.147 300.9);
Tailwind
colors: {
  custom: {
    50: '#8a68ab',
    500: '#562c88',
    950: '#000000',
  },
}
SCSS
$custom: #562c88;
$custom-light: #8a68ab;
$custom-dark: #000000;
JSON
{
  "hex": "#562c88",
  "rgb": {
    "r": 86,
    "g": 44,
    "b": 136
  },
  "hsl": {
    "h": 267.391,
    "s": 51.111,
    "l": 35.294
  },
  "oklch": {
    "l": 0.39845,
    "c": 0.14677,
    "h": 300.9
  },
  "luminance": 0.05557
}

Semantic roles & 50–950 ramp

primary
#562C88
secondary
#8CB35D
accent
#DB4D9A
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0610
muted
#7D7A7F

Preview Lab

Preview with #562C88

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

Preview Lab → · Contrast checker → · Palette generator →

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