#5E2399#5E2399

#5E2399 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 41.1% C 0.179 H 301.5°. Best body text is #FFFFFF at 9.65:1 contrast (WCAG AA passes).

Color values

HEX#5E2399
RGBrgb(94, 35, 153)
HSLhsl(270, 63%, 37%)
HSVhsv(270, 77%, 60%)
CMYKcmyk(38.6%, 77.1%, 0%, 40%)
CIE-LABlab(29.11, 48.96, -53.35)
CIE-LCHlch(29.11, 72.41, 312.54°)
OKLaboklab(41.1% 0.0933 -0.1523)
OKLCHoklch(41.1% 0.179 301.5)
XYZxyz(10.9655, 5.8816, 30.6884)
Luminance0.0588 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E2399 #5E9923
analogous
#232399 #5E2399 #992399
triadic
#5E2399 #995E23 #23995E
tetradic
#5E2399 #992323 #5E9923 #239999
square
#5E2399 #992323 #5E9923 #239999
split-complementary
#5E2399 #999923 #239923
monochromatic
#210C35 #3F1867 #5E2399 #7D2ECB #9B5DDA

Accessibility & contrast

On white

9.65
#5E2399 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#5E2399 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E2399
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E2399#FFFFFF#000000##FFFFFF
##5E23991.009.652.189.65
#FFFFFF9.651.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449C
Deuteranopia (green-blind)
#004497
Tritanopia (blue-blind)
#51425D
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #5e2399;
/* rgb */ color: rgb(94, 35, 153);
/* oklch */ color: oklch(41.1% 0.179 301.5);
Tailwind
colors: {
  custom: {
    50: '#9165b8',
    500: '#5e2399',
    950: '#000000',
  },
}
SCSS
$custom: #5e2399;
$custom-light: #9165b8;
$custom-dark: #000000;
JSON
{
  "hex": "#5e2399",
  "rgb": {
    "r": 94,
    "g": 35,
    "b": 153
  },
  "hsl": {
    "h": 270,
    "s": 62.766,
    "l": 36.863
  },
  "oklch": {
    "l": 0.41102,
    "c": 0.17861,
    "h": 301.5
  },
  "luminance": 0.05882
}

Semantic roles & 50–950 ramp

primary
#5E2399
secondary
#8CBE59
accent
#E64294
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #5E2399

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

Preview Lab → · Contrast checker → · Palette generator →

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