#562184#562184

#562184 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.1% C 0.157 H 304.2°. Best body text is #FFFFFF at 10.79:1 contrast (WCAG AA passes).

Color values

HEX#562184
RGBrgb(86, 33, 132)
HSLhsl(272, 60%, 32%)
HSVhsv(272, 75%, 52%)
CMYKcmyk(34.8%, 75%, 0%, 48.2%)
CIE-LABlab(25.96, 43.14, -45.53)
CIE-LCHlch(25.96, 62.72, 313.46°)
OKLaboklab(38.1% 0.0881 -0.1296)
OKLCHoklch(38.1% 0.157 304.2)
XYZxyz(8.5455, 4.7321, 22.2885)
Luminance0.0473 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562184 #4F8421
analogous
#242184 #562184 #842181
triadic
#562184 #845621 #218456
tetradic
#562184 #842421 #4F8421 #218184
square
#562184 #842421 #4F8421 #218184
split-complementary
#562184 #818421 #218424
monochromatic
#160922 #361553 #562184 #762DB5 #944DD2

Accessibility & contrast

On white

10.79
#562184 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#562184 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562184
10.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562184#FFFFFF#000000##FFFFFF
##5621841.0010.791.9510.79
#FFFFFF10.791.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.791.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #562184;
/* rgb */ color: rgb(86, 33, 132);
/* oklch */ color: oklch(38.1% 0.157 304.2);
Tailwind
colors: {
  custom: {
    50: '#8a62a8',
    500: '#562184',
    950: '#000000',
  },
}
SCSS
$custom: #562184;
$custom-light: #8a62a8;
$custom-dark: #000000;
JSON
{
  "hex": "#562184",
  "rgb": {
    "r": 86,
    "g": 33,
    "b": 132
  },
  "hsl": {
    "h": 272.121,
    "s": 60,
    "l": 32.353
  },
  "oklch": {
    "l": 0.38098,
    "c": 0.15672,
    "h": 304.2
  },
  "luminance": 0.04732
}

Semantic roles & 50–950 ramp

primary
#562184
secondary
#7DB64B
accent
#E3458E
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0510
muted
#7D7A7F

Preview Lab

Preview with #562184

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

Preview Lab → · Contrast checker → · Palette generator →

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