#5E399E#5E399E

#5E399E is a dark, vivid violet. Relative luminance 0.078; OKLCH L 44.4% C 0.157 H 296.3°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#5E399E
RGBrgb(94, 57, 158)
HSLhsl(262, 47%, 42%)
HSVhsv(262, 64%, 62%)
CMYKcmyk(40.5%, 63.9%, 0%, 38%)
CIE-LABlab(33.51, 39.16, -49.25)
CIE-LCHlch(33.51, 62.92, 308.49°)
OKLaboklab(44.36% 0.0694 -0.1403)
OKLCHoklch(44.36% 0.157 296.3)
XYZxyz(12.2492, 7.7743, 33.1964)
Luminance0.0777 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E399E #799E39
analogous
#39479E #5E399E #91399E
triadic
#5E399E #9E5E39 #399E5E
tetradic
#5E399E #9E3947 #799E39 #399E91
square
#5E399E #9E3947 #799E39 #399E91
split-complementary
#5E399E #9E9139 #479E39
monochromatic
#281944 #432971 #5E399E #7B53C1 #9E80D1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5E399E#FFFFFF#000000##FFFFFF
##5E399E1.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)
#004FA1
Deuteranopia (green-blind)
#004D9C
Tritanopia (blue-blind)
#4E5066
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #5e399e;
/* rgb */ color: rgb(94, 57, 158);
/* oklch */ color: oklch(44.4% 0.157 296.3);
Tailwind
colors: {
  custom: {
    50: '#9071bb',
    500: '#5e399e',
    950: '#000000',
  },
}
SCSS
$custom: #5e399e;
$custom-light: #9071bb;
$custom-dark: #000000;
JSON
{
  "hex": "#5e399e",
  "rgb": {
    "r": 94,
    "g": 57,
    "b": 158
  },
  "hsl": {
    "h": 261.98,
    "s": 46.977,
    "l": 42.157
  },
  "oklch": {
    "l": 0.44364,
    "c": 0.15654,
    "h": 296.3
  },
  "luminance": 0.07775
}

Semantic roles & 50–950 ramp

primary
#5E399E
secondary
#A2BB78
accent
#D751A6
background
#F9F6FB
surface
#F1ECF6
border
#CBC7D0
text
#0D0812
muted
#7E7B81

Preview Lab

Preview with #5E399E

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

Preview Lab → · Contrast checker → · Palette generator →

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