#562C86#562C86

#562C86 is a dark, vivid violet. Relative luminance 0.055; OKLCH L 39.7% C 0.144 H 301.5°. Best body text is #FFFFFF at 10.00:1 contrast (WCAG AA passes).

Color values

HEX#562C86
RGBrgb(86, 44, 134)
HSLhsl(268, 51%, 35%)
HSVhsv(268, 67%, 53%)
CMYKcmyk(35.8%, 67.2%, 0%, 47.5%)
CIE-LABlab(28.12, 38.08, -43.28)
CIE-LCHlch(28.12, 57.65, 311.34°)
OKLaboklab(39.69% 0.0755 -0.123)
OKLCHoklch(39.69% 0.144 301.5)
XYZxyz(9.0405, 5.5010, 23.1351)
Luminance0.0550 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562C86 #5C862C
analogous
#2C2F86 #562C86 #832C86
triadic
#562C86 #86562C #2C8656
tetradic
#562C86 #862C2F #5C862C #2C8683
square
#562C86 #862C2F #5C862C #2C8683
split-complementary
#562C86 #86832C #2F862C
monochromatic
#1B0E2A #381D58 #562C86 #743BB4 #9361CB

Accessibility & contrast

On white

10.00
#562C86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#562C86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562C86
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562C86#FFFFFF#000000##FFFFFF
##562C861.0010.002.1010.00
#FFFFFF10.001.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004289
Deuteranopia (green-blind)
#054284
Tritanopia (blue-blind)
#4C4055
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #562c86;
/* rgb */ color: rgb(86, 44, 134);
/* oklch */ color: oklch(39.7% 0.144 301.5);
Tailwind
colors: {
  custom: {
    50: '#8a68aa',
    500: '#562c86',
    950: '#000000',
  },
}
SCSS
$custom: #562c86;
$custom-light: #8a68aa;
$custom-dark: #000000;
JSON
{
  "hex": "#562c86",
  "rgb": {
    "r": 86,
    "g": 44,
    "b": 134
  },
  "hsl": {
    "h": 268,
    "s": 50.562,
    "l": 34.902
  },
  "oklch": {
    "l": 0.3969,
    "c": 0.14436,
    "h": 301.5
  },
  "luminance": 0.05501
}

Semantic roles & 50–950 ramp

primary
#562C86
secondary
#8AB15C
accent
#DA4E99
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0610
muted
#7D7A7F

Preview Lab

Preview with #562C86

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

Preview Lab → · Contrast checker → · Palette generator →

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