#56409F#56409F

#56409F is a dark, vivid violet. Relative luminance 0.081; OKLCH L 44.8% C 0.147 H 289.8°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#56409F
RGBrgb(86, 64, 159)
HSLhsl(254, 43%, 44%)
HSVhsv(254, 60%, 62%)
CMYKcmyk(45.9%, 59.7%, 0%, 37.6%)
CIE-LABlab(34.29, 33.56, -48.63)
CIE-LCHlch(34.29, 59.09, 304.61°)
OKLaboklab(44.76% 0.0499 -0.1388)
OKLCHoklch(44.76% 0.147 289.8)
XYZxyz(11.9274, 8.1480, 33.7384)
Luminance0.0815 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56409F #899F40
analogous
#40599F #56409F #85409F
triadic
#56409F #9F5640 #409F56
tetradic
#56409F #9F4059 #899F40 #409F85
square
#56409F #9F4059 #899F40 #409F85
split-complementary
#56409F #9F8540 #599F40
monochromatic
#271D48 #3E2E73 #56409F #745EBE #9A8AD0

Accessibility & contrast

On white

7.99
#56409F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#56409F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #56409F
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56409F#FFFFFF#000000##FFFFFF
##56409F1.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A2
Deuteranopia (green-blind)
#004E9D
Tritanopia (blue-blind)
#405569
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #56409f;
/* rgb */ color: rgb(86, 64, 159);
/* oklch */ color: oklch(44.8% 0.147 289.8);
Tailwind
colors: {
  custom: {
    50: '#8b76bc',
    500: '#56409f',
    950: '#000000',
  },
}
SCSS
$custom: #56409f;
$custom-light: #8b76bc;
$custom-dark: #000000;
JSON
{
  "hex": "#56409f",
  "rgb": {
    "r": 86,
    "g": 64,
    "b": 159
  },
  "hsl": {
    "h": 253.895,
    "s": 42.601,
    "l": 43.725
  },
  "oklch": {
    "l": 0.4476,
    "c": 0.14747,
    "h": 289.8
  },
  "luminance": 0.08148
}

Semantic roles & 50–950 ramp

primary
#56409F
secondary
#ADBB80
accent
#D255B5
background
#F8F7FB
surface
#F0EDF6
border
#CBC8D0
text
#0C0812
muted
#7D7B81

Preview Lab

Preview with #56409F

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

Preview Lab → · Contrast checker → · Palette generator →

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