#562189#562189

#562189 is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.5% C 0.162 H 302.5°. Best body text is #FFFFFF at 10.64:1 contrast (WCAG AA passes).

Color values

HEX#562189
RGBrgb(86, 33, 137)
HSLhsl(271, 61%, 33%)
HSVhsv(271, 76%, 54%)
CMYKcmyk(37.2%, 75.9%, 0%, 46.3%)
CIE-LABlab(26.37, 44.39, -47.99)
CIE-LCHlch(26.37, 65.37, 312.77°)
OKLaboklab(38.52% 0.0871 -0.1368)
OKLCHoklch(38.52% 0.162 302.5)
XYZxyz(8.8959, 4.8723, 24.1338)
Luminance0.0487 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562189 #548921
analogous
#222189 #562189 #892188
triadic
#562189 #895621 #218956
tetradic
#562189 #892221 #548921 #218889
square
#562189 #892221 #548921 #218889
split-complementary
#562189 #888921 #218922
monochromatic
#180926 #371558 #562189 #752DBA #9350D5

Accessibility & contrast

On white

10.64
#562189 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#562189 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562189
10.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562189#FFFFFF#000000##FFFFFF
##5621891.0010.641.9710.64
#FFFFFF10.641.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E8C
Deuteranopia (green-blind)
#003E87
Tritanopia (blue-blind)
#4B3B53
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #562189;
/* rgb */ color: rgb(86, 33, 137);
/* oklch */ color: oklch(38.5% 0.162 302.5);
Tailwind
colors: {
  custom: {
    50: '#8b62ac',
    500: '#562189',
    950: '#000000',
  },
}
SCSS
$custom: #562189;
$custom-light: #8b62ac;
$custom-dark: #000000;
JSON
{
  "hex": "#562189",
  "rgb": {
    "r": 86,
    "g": 33,
    "b": 137
  },
  "hsl": {
    "h": 270.577,
    "s": 61.176,
    "l": 33.333
  },
  "oklch": {
    "l": 0.38517,
    "c": 0.16218,
    "h": 302.5
  },
  "luminance": 0.04872
}

Semantic roles & 50–950 ramp

primary
#562189
secondary
#82B84E
accent
#E44492
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0510
muted
#7D7A7F

Preview Lab

Preview with #562189

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

Preview Lab → · Contrast checker → · Palette generator →

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