#5E4191#5E4191

#5E4191 is a dark, vivid violet. Relative luminance 0.082; OKLCH L 44.7% C 0.128 H 297.8°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#5E4191
RGBrgb(94, 65, 145)
HSLhsl(262, 38%, 41%)
HSVhsv(262, 55%, 57%)
CMYKcmyk(35.2%, 55.2%, 0%, 43.1%)
CIE-LABlab(34.41, 30.86, -39.90)
CIE-LCHlch(34.41, 50.45, 307.72°)
OKLaboklab(44.74% 0.0594 -0.1129)
OKLCHoklch(44.74% 0.128 297.8)
XYZxyz(11.6160, 8.2045, 27.7542)
Luminance0.0820 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E4191 #749141
analogous
#414C91 #5E4191 #864191
triadic
#5E4191 #915E41 #41915E
tetradic
#5E4191 #91414C #749141 #419186
square
#5E4191 #91414C #749141 #419186
split-complementary
#5E4191 #918641 #4C9141
monochromatic
#271B3C #432E67 #5E4191 #7B5AB5 #9D84C8

Accessibility & contrast

On white

7.95
#5E4191 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#5E4191 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E4191
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E4191#FFFFFF#000000##FFFFFF
##5E41911.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#205194
Deuteranopia (green-blind)
#29508F
Tritanopia (blue-blind)
#535162
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #5e4191;
/* rgb */ color: rgb(94, 65, 145);
/* oklch */ color: oklch(44.7% 0.128 297.8);
Tailwind
colors: {
  custom: {
    50: '#8f76b2',
    500: '#5e4191',
    950: '#000000',
  },
}
SCSS
$custom: #5e4191;
$custom-light: #8f76b2;
$custom-dark: #000000;
JSON
{
  "hex": "#5e4191",
  "rgb": {
    "r": 94,
    "g": 65,
    "b": 145
  },
  "hsl": {
    "h": 261.75,
    "s": 38.095,
    "l": 41.176
  },
  "oklch": {
    "l": 0.44739,
    "c": 0.12757,
    "h": 297.8
  },
  "luminance": 0.08205
}

Semantic roles & 50–950 ramp

primary
#5E4191
secondary
#9FB37B
accent
#CE5AA4
background
#F9F7FB
surface
#F1EDF6
border
#CBC8D0
text
#0D0811
muted
#7E7B80

Preview Lab

Preview with #5E4191

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

Preview Lab → · Contrast checker → · Palette generator →

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