#562C85#562C85

#562C85 is a dark, vivid violet. Relative luminance 0.055; OKLCH L 39.6% C 0.143 H 301.9°. Best body text is #FFFFFF at 10.03:1 contrast (WCAG AA passes).

Color values

HEX#562C85
RGBrgb(86, 44, 133)
HSLhsl(268, 50%, 35%)
HSVhsv(268, 67%, 52%)
CMYKcmyk(35.3%, 66.9%, 0%, 47.8%)
CIE-LABlab(28.04, 37.81, -42.78)
CIE-LCHlch(28.04, 57.09, 311.48°)
OKLaboklab(39.61% 0.0756 -0.1215)
OKLCHoklch(39.61% 0.143 301.9)
XYZxyz(8.9711, 5.4732, 22.7696)
Luminance0.0547 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562C85 #5B852C
analogous
#2C2E85 #562C85 #832C85
triadic
#562C85 #85562C #2C8556
tetradic
#562C85 #852C2E #5B852C #2C8583
square
#562C85 #852C2E #5B852C #2C8583
split-complementary
#562C85 #85832C #2E852C
monochromatic
#1B0E29 #381D57 #562C85 #743BB3 #9361CB

Accessibility & contrast

On white

10.03
#562C85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#562C85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562C85
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562C85#FFFFFF#000000##FFFFFF
##562C851.0010.032.0910.03
#FFFFFF10.031.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004288
Deuteranopia (green-blind)
#084283
Tritanopia (blue-blind)
#4C4054
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #562c85;
/* rgb */ color: rgb(86, 44, 133);
/* oklch */ color: oklch(39.6% 0.143 301.9);
Tailwind
colors: {
  custom: {
    50: '#8a68a9',
    500: '#562c85',
    950: '#000000',
  },
}
SCSS
$custom: #562c85;
$custom-light: #8a68a9;
$custom-dark: #000000;
JSON
{
  "hex": "#562c85",
  "rgb": {
    "r": 86,
    "g": 44,
    "b": 133
  },
  "hsl": {
    "h": 268.315,
    "s": 50.282,
    "l": 34.706
  },
  "oklch": {
    "l": 0.39613,
    "c": 0.14315,
    "h": 301.9
  },
  "luminance": 0.05473
}

Semantic roles & 50–950 ramp

primary
#562C85
secondary
#89B15C
accent
#DA4E98
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0610
muted
#7D7A7F

Preview Lab

Preview with #562C85

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

Preview Lab → · Contrast checker → · Palette generator →

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