#5E3091#5E3091

#5E3091 is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.1% C 0.153 H 301.9°. Best body text is #FFFFFF at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#5E3091
RGBrgb(94, 48, 145)
HSLhsl(268, 50%, 38%)
HSVhsv(268, 67%, 57%)
CMYKcmyk(35.2%, 66.9%, 0%, 43.1%)
CIE-LABlab(30.73, 40.62, -45.81)
CIE-LCHlch(30.73, 61.23, 311.56°)
OKLaboklab(42.06% 0.0812 -0.1302)
OKLCHoklch(42.06% 0.153 301.9)
XYZxyz(10.7827, 6.5379, 27.4764)
Luminance0.0654 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E3091 #639130
analogous
#303291 #5E3091 #8F3091
triadic
#5E3091 #915E30 #30915E
tetradic
#5E3091 #913032 #639130 #30918F
square
#5E3091 #913032 #639130 #30918F
split-complementary
#5E3091 #918F30 #329130
monochromatic
#221235 #402163 #5E3091 #7C3FBF #9B6DCF

Accessibility & contrast

On white

9.10
#5E3091 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#5E3091 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E3091
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E3091#FFFFFF#000000##FFFFFF
##5E30911.009.102.319.10
#FFFFFF9.101.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004894
Deuteranopia (green-blind)
#07488F
Tritanopia (blue-blind)
#54465C
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #5e3091;
/* rgb */ color: rgb(94, 48, 145);
/* oklch */ color: oklch(42.1% 0.153 301.9);
Tailwind
colors: {
  custom: {
    50: '#906bb2',
    500: '#5e3091',
    950: '#000000',
  },
}
SCSS
$custom: #5e3091;
$custom-light: #906bb2;
$custom-dark: #000000;
JSON
{
  "hex": "#5e3091",
  "rgb": {
    "r": 94,
    "g": 48,
    "b": 145
  },
  "hsl": {
    "h": 268.454,
    "s": 50.259,
    "l": 37.843
  },
  "oklch": {
    "l": 0.42055,
    "c": 0.15343,
    "h": 301.9
  },
  "luminance": 0.06538
}

Semantic roles & 50–950 ramp

primary
#5E3091
secondary
#90B667
accent
#DA4E98
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0711
muted
#7E7A80

Preview Lab

Preview with #5E3091

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

Preview Lab → · Contrast checker → · Palette generator →

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