#5E2393#5E2393

#5E2393 is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.6% C 0.172 H 303.4°. Best body text is #FFFFFF at 9.82:1 contrast (WCAG AA passes).

Color values

HEX#5E2393
RGBrgb(94, 35, 147)
HSLhsl(272, 62%, 36%)
HSVhsv(272, 76%, 58%)
CMYKcmyk(36.1%, 76.2%, 0%, 42.4%)
CIE-LABlab(28.61, 47.49, -50.48)
CIE-LCHlch(28.61, 69.31, 313.25°)
OKLaboklab(40.6% 0.0948 -0.1439)
OKLCHoklch(40.6% 0.172 303.4)
XYZxyz(10.4824, 5.6883, 28.1438)
Luminance0.0569 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E2393 #589323
analogous
#262393 #5E2393 #932390
triadic
#5E2393 #935E23 #23935E
tetradic
#5E2393 #932623 #589323 #239093
square
#5E2393 #932623 #589323 #239093
split-complementary
#5E2393 #909323 #239326
monochromatic
#1F0B30 #3E1762 #5E2393 #7E2FC4 #9C59D7

Accessibility & contrast

On white

9.82
#5E2393 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#5E2393 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E2393
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E2393#FFFFFF#000000##FFFFFF
##5E23931.009.822.149.82
#FFFFFF9.821.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004296
Deuteranopia (green-blind)
#004391
Tritanopia (blue-blind)
#533F59
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #5e2393;
/* rgb */ color: rgb(94, 35, 147);
/* oklch */ color: oklch(40.6% 0.172 303.4);
Tailwind
colors: {
  custom: {
    50: '#9164b4',
    500: '#5e2393',
    950: '#000000',
  },
}
SCSS
$custom: #5e2393;
$custom-light: #9164b4;
$custom-dark: #000000;
JSON
{
  "hex": "#5e2393",
  "rgb": {
    "r": 94,
    "g": 35,
    "b": 147
  },
  "hsl": {
    "h": 271.607,
    "s": 61.538,
    "l": 35.686
  },
  "oklch": {
    "l": 0.40595,
    "c": 0.17226,
    "h": 303.4
  },
  "luminance": 0.05688
}

Semantic roles & 50–950 ramp

primary
#5E2393
secondary
#86BC56
accent
#E54390
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #5E2393

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

Preview Lab → · Contrast checker → · Palette generator →

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