#56409A#56409A

#56409A is a dark, vivid violet. Relative luminance 0.080; OKLCH L 44.4% C 0.141 H 290.8°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#56409A
RGBrgb(86, 64, 154)
HSLhsl(255, 41%, 43%)
HSVhsv(255, 58%, 60%)
CMYKcmyk(44.2%, 58.4%, 0%, 39.6%)
CIE-LABlab(33.94, 32.07, -46.18)
CIE-LCHlch(33.94, 56.22, 304.78°)
OKLaboklab(44.39% 0.05 -0.1316)
OKLCHoklch(44.39% 0.141 290.8)
XYZxyz(11.5023, 7.9779, 31.4994)
Luminance0.0798 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56409A #849A40
analogous
#40579A #56409A #83409A
triadic
#56409A #9A5640 #409A56
tetradic
#56409A #9A4057 #849A40 #409A83
square
#56409A #9A4057 #849A40 #409A83
split-complementary
#56409A #9A8340 #579A40
monochromatic
#261C44 #3E2E6F #56409A #735CBB #9887CD

Accessibility & contrast

On white

8.09
#56409A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#56409A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #56409A
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56409A#FFFFFF#000000##FFFFFF
##56409A1.008.092.608.09
#FFFFFF8.091.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#06519D
Deuteranopia (green-blind)
#0F4E98
Tritanopia (blue-blind)
#425466
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #56409a;
/* rgb */ color: rgb(86, 64, 154);
/* oklch */ color: oklch(44.4% 0.141 290.8);
Tailwind
colors: {
  custom: {
    50: '#8a75b8',
    500: '#56409a',
    950: '#000000',
  },
}
SCSS
$custom: #56409a;
$custom-light: #8a75b8;
$custom-dark: #000000;
JSON
{
  "hex": "#56409a",
  "rgb": {
    "r": 86,
    "g": 64,
    "b": 154
  },
  "hsl": {
    "h": 254.667,
    "s": 41.284,
    "l": 42.745
  },
  "oklch": {
    "l": 0.44389,
    "c": 0.14073,
    "h": 290.8
  },
  "luminance": 0.07978
}

Semantic roles & 50–950 ramp

primary
#56409A
secondary
#AAB87E
accent
#D157B3
background
#F8F7FB
surface
#F0EDF6
border
#CBC8D0
text
#0C0811
muted
#7D7B80

Preview Lab

Preview with #56409A

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

Preview Lab → · Contrast checker → · Palette generator →

#56409A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva