#562194#562194

#562194 is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.5% C 0.174 H 299.0°. Best body text is #FFFFFF at 10.29:1 contrast (WCAG AA passes).

Color values

HEX#562194
RGBrgb(86, 33, 148)
HSLhsl(268, 64%, 35%)
HSVhsv(268, 78%, 58%)
CMYKcmyk(41.9%, 77.7%, 0%, 42%)
CIE-LABlab(27.31, 47.19, -53.27)
CIE-LCHlch(27.31, 71.17, 311.54°)
OKLaboklab(39.47% 0.0844 -0.1523)
OKLCHoklch(39.47% 0.174 299)
XYZxyz(9.7255, 5.2041, 28.5033)
Luminance0.0520 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562194 #5F9421
analogous
#212694 #562194 #8F2194
triadic
#562194 #945621 #219456
tetradic
#562194 #942126 #5F9421 #21948F
square
#562194 #942126 #5F9421 #21948F
split-complementary
#562194 #948F21 #269421
monochromatic
#1C0B30 #391662 #562194 #732CC6 #9356D9

Accessibility & contrast

On white

10.29
#562194 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#562194 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562194
10.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562194#FFFFFF#000000##FFFFFF
##5621941.0010.292.0410.29
#FFFFFF10.291.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004097
Deuteranopia (green-blind)
#003F92
Tritanopia (blue-blind)
#474059
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #562194;
/* rgb */ color: rgb(86, 33, 148);
/* oklch */ color: oklch(39.5% 0.174 299.0);
Tailwind
colors: {
  custom: {
    50: '#8c62b4',
    500: '#562194',
    950: '#000000',
  },
}
SCSS
$custom: #562194;
$custom-light: #8c62b4;
$custom-dark: #000000;
JSON
{
  "hex": "#562194",
  "rgb": {
    "r": 86,
    "g": 33,
    "b": 148
  },
  "hsl": {
    "h": 267.652,
    "s": 63.536,
    "l": 35.49
  },
  "oklch": {
    "l": 0.3947,
    "c": 0.17412,
    "h": 299
  },
  "luminance": 0.05204
}

Semantic roles & 50–950 ramp

primary
#562194
secondary
#8DBD54
accent
#E7419A
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0511
muted
#7E7A80

Preview Lab

Preview with #562194

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

Preview Lab → · Contrast checker → · Palette generator →

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