#5E1A93#5E1A93

#5E1A93 is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.7% C 0.181 H 304.4°. Best body text is #FFFFFF at 10.27:1 contrast (WCAG AA passes).

Color values

HEX#5E1A93
RGBrgb(94, 26, 147)
HSLhsl(274, 70%, 34%)
HSVhsv(274, 82%, 58%)
CMYKcmyk(36.1%, 82.3%, 0%, 42.4%)
CIE-LABlab(27.37, 51.07, -52.51)
CIE-LCHlch(27.37, 73.25, 314.20°)
OKLaboklab(39.72% 0.1025 -0.1498)
OKLCHoklch(39.72% 0.181 304.4)
XYZxyz(10.2507, 5.2251, 28.0666)
Luminance0.0522 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1A93 #4F931A
analogous
#221A93 #5E1A93 #931A8C
triadic
#5E1A93 #935E1A #1A935E
tetradic
#5E1A93 #93221A #4F931A #1A8C93
square
#5E1A93 #93221A #4F931A #1A8C93
split-complementary
#5E1A93 #8C931A #1A9322
monochromatic
#1B082B #3D115F #5E1A93 #7F23C7 #9D49DF

Accessibility & contrast

On white

10.27
#5E1A93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#5E1A93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E1A93
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1A93#FFFFFF#000000##FFFFFF
##5E1A931.0010.272.0510.27
#FFFFFF10.271.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F96
Deuteranopia (green-blind)
#004191
Tritanopia (blue-blind)
#543B57
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #5e1a93;
/* rgb */ color: rgb(94, 26, 147);
/* oklch */ color: oklch(39.7% 0.181 304.4);
Tailwind
colors: {
  custom: {
    50: '#9160b4',
    500: '#5e1a93',
    950: '#000000',
  },
}
SCSS
$custom: #5e1a93;
$custom-light: #9160b4;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1a93",
  "rgb": {
    "r": 94,
    "g": 26,
    "b": 147
  },
  "hsl": {
    "h": 273.719,
    "s": 69.942,
    "l": 33.922
  },
  "oklch": {
    "l": 0.39723,
    "c": 0.18147,
    "h": 304.4
  },
  "luminance": 0.05225
}

Semantic roles & 50–950 ramp

primary
#5E1A93
secondary
#7DC048
accent
#ED3B89
background
#F9F5FB
surface
#F2EAF6
border
#CCC6D0
text
#0D0511
muted
#7E7980

Preview Lab

Preview with #5E1A93

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

Preview Lab → · Contrast checker → · Palette generator →

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