#5E4086#5E4086

#5E4086 is a dark, moderate violet. Relative luminance 0.078; OKLCH L 43.8% C 0.114 H 301.7°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#5E4086
RGBrgb(94, 64, 134)
HSLhsl(266, 35%, 39%)
HSVhsv(266, 52%, 53%)
CMYKcmyk(29.9%, 52.2%, 0%, 47.5%)
CIE-LABlab(33.49, 28.48, -34.60)
CIE-LCHlch(33.49, 44.81, 309.45°)
OKLaboklab(43.85% 0.06 -0.0974)
OKLCHoklch(43.85% 0.114 301.7)
XYZxyz(10.7516, 7.7677, 23.4825)
Luminance0.0777 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E4086 #688640
analogous
#404586 #5E4086 #814086
triadic
#5E4086 #865E40 #40865E
tetradic
#5E4086 #864045 #688640 #408681
square
#5E4086 #864045 #688640 #408681
split-complementary
#5E4086 #868140 #458640
monochromatic
#241833 #412C5D #5E4086 #7B55AE #9B7FC2

Accessibility & contrast

On white

8.22
#5E4086 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#5E4086 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E4086
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E4086#FFFFFF#000000##FFFFFF
##5E40861.008.222.558.22
#FFFFFF8.221.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#294E88
Deuteranopia (green-blind)
#314E84
Tritanopia (blue-blind)
#564D5D
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #5e4086;
/* rgb */ color: rgb(94, 64, 134);
/* oklch */ color: oklch(43.8% 0.114 301.7);
Tailwind
colors: {
  custom: {
    50: '#8e76a9',
    500: '#5e4086',
    950: '#000000',
  },
}
SCSS
$custom: #5e4086;
$custom-light: #8e76a9;
$custom-dark: #000000;
JSON
{
  "hex": "#5e4086",
  "rgb": {
    "r": 94,
    "g": 64,
    "b": 134
  },
  "hsl": {
    "h": 265.714,
    "s": 35.354,
    "l": 38.824
  },
  "oklch": {
    "l": 0.43846,
    "c": 0.11438,
    "h": 301.7
  },
  "luminance": 0.07768
}

Semantic roles & 50–950 ramp

primary
#5E4086
secondary
#95AC76
accent
#CB5C9C
background
#F8F7FA
surface
#F0EDF4
border
#CBC8CE
text
#0C0810
muted
#7D7B7F

Preview Lab

Preview with #5E4086

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

Preview Lab → · Contrast checker → · Palette generator →

#5E4086 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva