#5E1A90#5E1A90

#5E1A90 is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.5% C 0.179 H 305.4°. Best body text is #FFFFFF at 10.36:1 contrast (WCAG AA passes).

Color values

HEX#5E1A90
RGBrgb(94, 26, 144)
HSLhsl(275, 69%, 33%)
HSVhsv(275, 82%, 56%)
CMYKcmyk(34.7%, 81.9%, 0%, 43.5%)
CIE-LABlab(27.11, 50.38, -51.08)
CIE-LCHlch(27.11, 71.74, 314.60°)
OKLaboklab(39.46% 0.1034 -0.1456)
OKLCHoklch(39.46% 0.179 305.4)
XYZxyz(10.0184, 5.1322, 26.8430)
Luminance0.0513 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1A90 #4C901A
analogous
#231A90 #5E1A90 #901A87
triadic
#5E1A90 #905E1A #1A905E
tetradic
#5E1A90 #90231A #4C901A #1A8790
square
#5E1A90 #90231A #4C901A #1A8790
split-complementary
#5E1A90 #87901A #1A9023
monochromatic
#1A0728 #3C115C #5E1A90 #8023C4 #9E47DE

Accessibility & contrast

On white

10.36
#5E1A90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#5E1A90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E1A90
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1A90#FFFFFF#000000##FFFFFF
##5E1A901.0010.362.0310.36
#FFFFFF10.361.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E93
Deuteranopia (green-blind)
#00408E
Tritanopia (blue-blind)
#553A56
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #5e1a90;
/* rgb */ color: rgb(94, 26, 144);
/* oklch */ color: oklch(39.5% 0.179 305.4);
Tailwind
colors: {
  custom: {
    50: '#9160b1',
    500: '#5e1a90',
    950: '#000000',
  },
}
SCSS
$custom: #5e1a90;
$custom-light: #9160b1;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1a90",
  "rgb": {
    "r": 94,
    "g": 26,
    "b": 144
  },
  "hsl": {
    "h": 274.576,
    "s": 69.412,
    "l": 33.333
  },
  "oklch": {
    "l": 0.39463,
    "c": 0.17853,
    "h": 305.4
  },
  "luminance": 0.05132
}

Semantic roles & 50–950 ramp

primary
#5E1A90
secondary
#7ABF47
accent
#EC3C86
background
#F9F5FB
surface
#F2EAF6
border
#CCC6D0
text
#0D0511
muted
#7E7980

Preview Lab

Preview with #5E1A90

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

Preview Lab → · Contrast checker → · Palette generator →

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