#562089#562089

#562089 is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.4% C 0.163 H 302.6°. Best body text is #FFFFFF at 10.69:1 contrast (WCAG AA passes).

Color values

HEX#562089
RGBrgb(86, 32, 137)
HSLhsl(271, 62%, 33%)
HSVhsv(271, 77%, 54%)
CMYKcmyk(37.2%, 76.6%, 0%, 46.3%)
CIE-LABlab(26.21, 44.85, -48.25)
CIE-LCHlch(26.21, 65.87, 312.91°)
OKLaboklab(38.4% 0.088 -0.1376)
OKLCHoklch(38.4% 0.163 302.6)
XYZxyz(8.8685, 4.8176, 24.1247)
Luminance0.0482 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562089 #538920
analogous
#212089 #562089 #892087
triadic
#562089 #895620 #208956
tetradic
#562089 #892120 #538920 #208789
square
#562089 #892120 #538920 #208789
split-complementary
#562089 #878920 #208921
monochromatic
#180926 #371457 #562089 #752CBB #944ED6

Accessibility & contrast

On white

10.69
#562089 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#562089 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562089
10.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562089#FFFFFF#000000##FFFFFF
##5620891.0010.691.9610.69
#FFFFFF10.691.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.691.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #562089;
/* rgb */ color: rgb(86, 32, 137);
/* oklch */ color: oklch(38.4% 0.163 302.6);
Tailwind
colors: {
  custom: {
    50: '#8b61ac',
    500: '#562089',
    950: '#000000',
  },
}
SCSS
$custom: #562089;
$custom-light: #8b61ac;
$custom-dark: #000000;
JSON
{
  "hex": "#562089",
  "rgb": {
    "r": 86,
    "g": 32,
    "b": 137
  },
  "hsl": {
    "h": 270.857,
    "s": 62.13,
    "l": 33.137
  },
  "oklch": {
    "l": 0.38404,
    "c": 0.16333,
    "h": 302.6
  },
  "luminance": 0.04818
}

Semantic roles & 50–950 ramp

primary
#562089
secondary
#81B94C
accent
#E54392
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0510
muted
#7D7A7F

Preview Lab

Preview with #562089

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

Preview Lab → · Contrast checker → · Palette generator →

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