#5E389B#5E389B

#5E389B is a dark, vivid violet. Relative luminance 0.076; OKLCH L 44.0% C 0.154 H 297.3°. Best body text is #FFFFFF at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#5E389B
RGBrgb(94, 56, 155)
HSLhsl(263, 47%, 41%)
HSVhsv(263, 64%, 61%)
CMYKcmyk(39.4%, 63.9%, 0%, 39.2%)
CIE-LABlab(33.08, 38.90, -48.12)
CIE-LCHlch(33.08, 61.88, 308.95°)
OKLaboklab(43.99% 0.0708 -0.137)
OKLCHoklch(43.99% 0.154 297.3)
XYZxyz(11.9451, 7.5744, 31.8367)
Luminance0.0757 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E389B #759B38
analogous
#38449B #5E389B #90389B
triadic
#5E389B #9B5E38 #389B5E
tetradic
#5E389B #9B3844 #759B38 #389B90
square
#5E389B #9B3844 #759B38 #389B90
split-complementary
#5E389B #9B9038 #449B38
monochromatic
#271841 #43286E #5E389B #7B50C0 #9D7DD0

Accessibility & contrast

On white

8.35
#5E389B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#5E389B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E389B
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E389B#FFFFFF#000000##FFFFFF
##5E389B1.008.352.518.35
#FFFFFF8.351.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E9E
Deuteranopia (green-blind)
#014D99
Tritanopia (blue-blind)
#4F4E64
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #5e389b;
/* rgb */ color: rgb(94, 56, 155);
/* oklch */ color: oklch(44.0% 0.154 297.3);
Tailwind
colors: {
  custom: {
    50: '#9071b9',
    500: '#5e389b',
    950: '#000000',
  },
}
SCSS
$custom: #5e389b;
$custom-light: #9071b9;
$custom-dark: #000000;
JSON
{
  "hex": "#5e389b",
  "rgb": {
    "r": 94,
    "g": 56,
    "b": 155
  },
  "hsl": {
    "h": 263.03,
    "s": 46.919,
    "l": 41.373
  },
  "oklch": {
    "l": 0.43985,
    "c": 0.15421,
    "h": 297.3
  },
  "luminance": 0.07575
}

Semantic roles & 50–950 ramp

primary
#5E389B
secondary
#9FB975
accent
#D751A3
background
#F9F6FB
surface
#F1ECF6
border
#CBC7D0
text
#0D0811
muted
#7E7B80

Preview Lab

Preview with #5E389B

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

Preview Lab → · Contrast checker → · Palette generator →

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