#562084#562084

#562084 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.0% C 0.158 H 304.4°. Best body text is #FFFFFF at 10.85:1 contrast (WCAG AA passes).

Color values

HEX#562084
RGBrgb(86, 32, 132)
HSLhsl(272, 61%, 32%)
HSVhsv(272, 76%, 52%)
CMYKcmyk(34.8%, 75.8%, 0%, 48.2%)
CIE-LABlab(25.80, 43.60, -45.79)
CIE-LCHlch(25.80, 63.23, 313.60°)
OKLaboklab(37.98% 0.0891 -0.1303)
OKLCHoklch(37.98% 0.158 304.4)
XYZxyz(8.5182, 4.6774, 22.2794)
Luminance0.0468 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562084 #4E8420
analogous
#242084 #562084 #842080
triadic
#562084 #845620 #208456
tetradic
#562084 #842420 #4E8420 #208084
square
#562084 #842420 #4E8420 #208084
split-complementary
#562084 #808420 #208424
monochromatic
#160821 #361453 #562084 #762CB5 #954BD3

Accessibility & contrast

On white

10.85
#562084 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#562084 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562084
10.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562084#FFFFFF#000000##FFFFFF
##5620841.0010.851.9410.85
#FFFFFF10.851.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C87
Deuteranopia (green-blind)
#003D82
Tritanopia (blue-blind)
#4D3850
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #562084;
/* rgb */ color: rgb(86, 32, 132);
/* oklch */ color: oklch(38.0% 0.158 304.4);
Tailwind
colors: {
  custom: {
    50: '#8a61a9',
    500: '#562084',
    950: '#000000',
  },
}
SCSS
$custom: #562084;
$custom-light: #8a61a9;
$custom-dark: #000000;
JSON
{
  "hex": "#562084",
  "rgb": {
    "r": 86,
    "g": 32,
    "b": 132
  },
  "hsl": {
    "h": 272.4,
    "s": 60.976,
    "l": 32.157
  },
  "oklch": {
    "l": 0.37984,
    "c": 0.15792,
    "h": 304.4
  },
  "luminance": 0.04677
}

Semantic roles & 50–950 ramp

primary
#562084
secondary
#7CB64A
accent
#E4448D
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #562084

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

Preview Lab → · Contrast checker → · Palette generator →

#562084 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva