#562289#562289

#562289 is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.6% C 0.161 H 302.3°. Best body text is #FFFFFF at 10.58:1 contrast (WCAG AA passes).

Color values

HEX#562289
RGBrgb(86, 34, 137)
HSLhsl(270, 60%, 34%)
HSVhsv(270, 75%, 54%)
CMYKcmyk(37.2%, 75.2%, 0%, 46.3%)
CIE-LABlab(26.53, 43.93, -47.72)
CIE-LCHlch(26.53, 64.87, 312.63°)
OKLaboklab(38.63% 0.0861 -0.136)
OKLCHoklch(38.63% 0.161 302.3)
XYZxyz(8.9241, 4.9286, 24.1432)
Luminance0.0493 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562289 #558922
analogous
#222289 #562289 #892288
triadic
#562289 #895622 #228956
tetradic
#562289 #892222 #558922 #228889
square
#562289 #892222 #558922 #228889
split-complementary
#562289 #888922 #228922
monochromatic
#180A27 #371658 #562289 #752EBA #9351D4

Accessibility & contrast

On white

10.58
#562289 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#562289 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562289
10.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562289#FFFFFF#000000##FFFFFF
##5622891.0010.581.9910.58
#FFFFFF10.581.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.581.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #562289;
/* rgb */ color: rgb(86, 34, 137);
/* oklch */ color: oklch(38.6% 0.161 302.3);
Tailwind
colors: {
  custom: {
    50: '#8b62ac',
    500: '#562289',
    950: '#000000',
  },
}
SCSS
$custom: #562289;
$custom-light: #8b62ac;
$custom-dark: #000000;
JSON
{
  "hex": "#562289",
  "rgb": {
    "r": 86,
    "g": 34,
    "b": 137
  },
  "hsl": {
    "h": 270.291,
    "s": 60.234,
    "l": 33.529
  },
  "oklch": {
    "l": 0.38631,
    "c": 0.16099,
    "h": 302.3
  },
  "luminance": 0.04929
}

Semantic roles & 50–950 ramp

primary
#562289
secondary
#83B84F
accent
#E34493
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0510
muted
#7D7A7F

Preview Lab

Preview with #562289

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

Preview Lab → · Contrast checker → · Palette generator →

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