#562989#562989

#562989 is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.5% C 0.152 H 301.1°. Best body text is #FFFFFF at 10.13:1 contrast (WCAG AA passes).

Color values

HEX#562989
RGBrgb(86, 41, 137)
HSLhsl(268, 54%, 35%)
HSVhsv(268, 70%, 54%)
CMYKcmyk(37.2%, 70.1%, 0%, 46.3%)
CIE-LABlab(27.77, 40.47, -45.72)
CIE-LCHlch(27.77, 61.06, 311.52°)
OKLaboklab(39.51% 0.0786 -0.1302)
OKLCHoklch(39.51% 0.152 301.1)
XYZxyz(9.1450, 5.3704, 24.2169)
Luminance0.0537 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562989 #5C8929
analogous
#292C89 #562989 #862989
triadic
#562989 #895629 #298956
tetradic
#562989 #89292C #5C8929 #298986
square
#562989 #89292C #5C8929 #298986
split-complementary
#562989 #898629 #2C8929
monochromatic
#1B0D2B #381B5A #562989 #7437B8 #935ECF

Accessibility & contrast

On white

10.13
#562989 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#562989 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562989
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562989#FFFFFF#000000##FFFFFF
##5629891.0010.132.0710.13
#FFFFFF10.131.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418C
Deuteranopia (green-blind)
#004187
Tritanopia (blue-blind)
#4B3F55
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #562989;
/* rgb */ color: rgb(86, 41, 137);
/* oklch */ color: oklch(39.5% 0.152 301.1);
Tailwind
colors: {
  custom: {
    50: '#8a66ac',
    500: '#562989',
    950: '#000000',
  },
}
SCSS
$custom: #562989;
$custom-light: #8a66ac;
$custom-dark: #000000;
JSON
{
  "hex": "#562989",
  "rgb": {
    "r": 86,
    "g": 41,
    "b": 137
  },
  "hsl": {
    "h": 268.125,
    "s": 53.933,
    "l": 34.902
  },
  "oklch": {
    "l": 0.39509,
    "c": 0.15209,
    "h": 301.1
  },
  "luminance": 0.0537
}

Semantic roles & 50–950 ramp

primary
#562989
secondary
#8AB45A
accent
#DD4A98
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0610
muted
#7D7A7F

Preview Lab

Preview with #562989

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

Preview Lab → · Contrast checker → · Palette generator →

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