#5E3499#5E3499

#5E3499 is a dark, vivid violet. Relative luminance 0.071; OKLCH L 43.2% C 0.157 H 298.7°. Best body text is #FFFFFF at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#5E3499
RGBrgb(94, 52, 153)
HSLhsl(265, 49%, 40%)
HSVhsv(265, 66%, 60%)
CMYKcmyk(38.6%, 66%, 0%, 40%)
CIE-LABlab(32.11, 40.58, -48.47)
CIE-LCHlch(32.11, 63.21, 309.93°)
OKLaboklab(43.24% 0.0757 -0.138)
OKLCHoklch(43.24% 0.157 298.7)
XYZxyz(11.5924, 7.1354, 30.8973)
Luminance0.0714 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E3499 #6F9934
analogous
#343D99 #5E3499 #903499
triadic
#5E3499 #995E34 #34995E
tetradic
#5E3499 #99343D #6F9934 #349990
square
#5E3499 #99343D #6F9934 #349990
split-complementary
#5E3499 #999034 #3D9934
monochromatic
#26153E #42246B #5E3499 #7B49C1 #9C77D1

Accessibility & contrast

On white

8.65
#5E3499 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#5E3499 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E3499
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E3499#FFFFFF#000000##FFFFFF
##5E34991.008.652.438.65
#FFFFFF8.651.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9C
Deuteranopia (green-blind)
#004B97
Tritanopia (blue-blind)
#504B62
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #5e3499;
/* rgb */ color: rgb(94, 52, 153);
/* oklch */ color: oklch(43.2% 0.157 298.7);
Tailwind
colors: {
  custom: {
    50: '#906eb8',
    500: '#5e3499',
    950: '#000000',
  },
}
SCSS
$custom: #5e3499;
$custom-light: #906eb8;
$custom-dark: #000000;
JSON
{
  "hex": "#5e3499",
  "rgb": {
    "r": 94,
    "g": 52,
    "b": 153
  },
  "hsl": {
    "h": 264.95,
    "s": 49.268,
    "l": 40.196
  },
  "oklch": {
    "l": 0.43239,
    "c": 0.15741,
    "h": 298.7
  },
  "luminance": 0.07136
}

Semantic roles & 50–950 ramp

primary
#5E3499
secondary
#9BB970
accent
#D94F9F
background
#F9F6FB
surface
#F1ECF6
border
#CBC7D0
text
#0D0711
muted
#7E7A80

Preview Lab

Preview with #5E3499

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

Preview Lab → · Contrast checker → · Palette generator →

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