#562E84#562E84

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

Color values

HEX#562E84
RGBrgb(86, 46, 132)
HSLhsl(268, 48%, 35%)
HSVhsv(268, 65%, 52%)
CMYKcmyk(34.8%, 65.2%, 0%, 48.2%)
CIE-LABlab(28.38, 36.44, -41.61)
CIE-LCHlch(28.38, 55.32, 311.21°)
OKLaboklab(39.83% 0.0733 -0.1181)
OKLCHoklch(39.83% 0.139 301.8)
XYZxyz(8.9786, 5.5983, 22.4329)
Luminance0.0560 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562E84 #5C842E
analogous
#2E3184 #562E84 #812E84
triadic
#562E84 #84562E #2E8456
tetradic
#562E84 #842E31 #5C842E #2E8481
square
#562E84 #842E31 #5C842E #2E8481
split-complementary
#562E84 #84812E #31842E
monochromatic
#1B0E29 #381E57 #562E84 #743EB1 #9364C9

Accessibility & contrast

On white

9.91
#562E84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#562E84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562E84
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562E84#FFFFFF#000000##FFFFFF
##562E841.009.912.129.91
#FFFFFF9.911.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004287
Deuteranopia (green-blind)
#104382
Tritanopia (blue-blind)
#4D4154
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #562e84;
/* rgb */ color: rgb(86, 46, 132);
/* oklch */ color: oklch(39.8% 0.139 301.8);
Tailwind
colors: {
  custom: {
    50: '#8969a8',
    500: '#562e84',
    950: '#000000',
  },
}
SCSS
$custom: #562e84;
$custom-light: #8969a8;
$custom-dark: #000000;
JSON
{
  "hex": "#562e84",
  "rgb": {
    "r": 86,
    "g": 46,
    "b": 132
  },
  "hsl": {
    "h": 267.907,
    "s": 48.315,
    "l": 34.902
  },
  "oklch": {
    "l": 0.3983,
    "c": 0.13901,
    "h": 301.8
  },
  "luminance": 0.05598
}

Semantic roles & 50–950 ramp

primary
#562E84
secondary
#8AB05E
accent
#D85099
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0610
muted
#7D7A7F

Preview Lab

Preview with #562E84

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

Preview Lab → · Contrast checker → · Palette generator →

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