#562889#562889

#562889 is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.4% C 0.153 H 301.3°. Best body text is #FFFFFF at 10.19:1 contrast (WCAG AA passes).

Color values

HEX#562889
RGBrgb(86, 40, 137)
HSLhsl(268, 55%, 35%)
HSVhsv(268, 71%, 54%)
CMYKcmyk(37.2%, 70.8%, 0%, 46.3%)
CIE-LABlab(27.58, 40.99, -46.02)
CIE-LCHlch(27.58, 61.63, 311.69°)
OKLaboklab(39.38% 0.0798 -0.1311)
OKLCHoklch(39.38% 0.153 301.3)
XYZxyz(9.1108, 5.3021, 24.2055)
Luminance0.0530 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562889 #5B8928
analogous
#282A89 #562889 #872889
triadic
#562889 #895628 #288956
tetradic
#562889 #89282A #5B8928 #288987
square
#562889 #89282A #5B8928 #288987
split-complementary
#562889 #898728 #2A8928
monochromatic
#1B0C2A #381A5A #562889 #7436B8 #935CCF

Accessibility & contrast

On white

10.19
#562889 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#562889 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562889
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562889#FFFFFF#000000##FFFFFF
##5628891.0010.192.0610.19
#FFFFFF10.191.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.191.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #562889;
/* rgb */ color: rgb(86, 40, 137);
/* oklch */ color: oklch(39.4% 0.153 301.3);
Tailwind
colors: {
  custom: {
    50: '#8a66ac',
    500: '#562889',
    950: '#000000',
  },
}
SCSS
$custom: #562889;
$custom-light: #8a66ac;
$custom-dark: #000000;
JSON
{
  "hex": "#562889",
  "rgb": {
    "r": 86,
    "g": 40,
    "b": 137
  },
  "hsl": {
    "h": 268.454,
    "s": 54.802,
    "l": 34.706
  },
  "oklch": {
    "l": 0.39376,
    "c": 0.15343,
    "h": 301.3
  },
  "luminance": 0.05302
}

Semantic roles & 50–950 ramp

primary
#562889
secondary
#89B558
accent
#DE4A98
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0610
muted
#7D7A7F

Preview Lab

Preview with #562889

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

Preview Lab → · Contrast checker → · Palette generator →

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