#56409E#56409E

#56409E is a dark, vivid violet. Relative luminance 0.081; OKLCH L 44.7% C 0.146 H 290.0°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#56409E
RGBrgb(86, 64, 158)
HSLhsl(254, 42%, 44%)
HSVhsv(254, 59%, 62%)
CMYKcmyk(45.6%, 59.5%, 0%, 38%)
CIE-LABlab(34.22, 33.26, -48.14)
CIE-LCHlch(34.22, 58.52, 304.64°)
OKLaboklab(44.69% 0.0499 -0.1373)
OKLCHoklch(44.69% 0.146 290)
XYZxyz(11.8410, 8.1134, 33.2833)
Luminance0.0811 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56409E #889E40
analogous
#40599E #56409E #85409E
triadic
#56409E #9E5640 #409E56
tetradic
#56409E #9E4059 #889E40 #409E85
square
#56409E #9E4059 #889E40 #409E85
split-complementary
#56409E #9E8540 #599E40
monochromatic
#271D47 #3E2E72 #56409E #745EBE #9A89CF

Accessibility & contrast

On white

8.01
#56409E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#56409E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #56409E
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56409E#FFFFFF#000000##FFFFFF
##56409E1.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A1
Deuteranopia (green-blind)
#014E9C
Tritanopia (blue-blind)
#405568
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #56409e;
/* rgb */ color: rgb(86, 64, 158);
/* oklch */ color: oklch(44.7% 0.146 290.0);
Tailwind
colors: {
  custom: {
    50: '#8b76bb',
    500: '#56409e',
    950: '#000000',
  },
}
SCSS
$custom: #56409e;
$custom-light: #8b76bb;
$custom-dark: #000000;
JSON
{
  "hex": "#56409e",
  "rgb": {
    "r": 86,
    "g": 64,
    "b": 158
  },
  "hsl": {
    "h": 254.043,
    "s": 42.342,
    "l": 43.529
  },
  "oklch": {
    "l": 0.44685,
    "c": 0.14614,
    "h": 290
  },
  "luminance": 0.08114
}

Semantic roles & 50–950 ramp

primary
#56409E
secondary
#ACBA80
accent
#D256B5
background
#F8F7FB
surface
#F0EDF6
border
#CBC8D0
text
#0C0812
muted
#7D7B81

Preview Lab

Preview with #56409E

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

Preview Lab → · Contrast checker → · Palette generator →

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