#5E1883#5E1883

#5E1883 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.2% C 0.168 H 310.3°. Best body text is #FFFFFF at 10.86:1 contrast (WCAG AA passes).

Color values

HEX#5E1883
RGBrgb(94, 24, 131)
HSLhsl(279, 69%, 30%)
HSVhsv(279, 82%, 51%)
CMYKcmyk(28.2%, 81.7%, 0%, 48.6%)
CIE-LABlab(25.78, 48.14, -45.14)
CIE-LCHlch(25.78, 65.99, 316.84°)
OKLaboklab(38.2% 0.1084 -0.1281)
OKLCHoklch(38.2% 0.168 310.3)
XYZxyz(9.0387, 4.6718, 21.8939)
Luminance0.0467 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1883 #3D8318
analogous
#281883 #5E1883 #831872
triadic
#5E1883 #835E18 #18835E
tetradic
#5E1883 #832818 #3D8318 #187283
square
#5E1883 #832818 #3D8318 #187283
split-complementary
#5E1883 #728318 #188328
monochromatic
#14051C #390F4F #5E1883 #8321B7 #A33ADB

Accessibility & contrast

On white

10.86
#5E1883 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#5E1883 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E1883
10.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1883#FFFFFF#000000##FFFFFF
##5E18831.0010.861.9310.86
#FFFFFF10.861.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A86
Deuteranopia (green-blind)
#003E81
Tritanopia (blue-blind)
#59334E
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #5e1883;
/* rgb */ color: rgb(94, 24, 131);
/* oklch */ color: oklch(38.2% 0.168 310.3);
Tailwind
colors: {
  custom: {
    50: '#905ea8',
    500: '#5e1883',
    950: '#000000',
  },
}
SCSS
$custom: #5e1883;
$custom-light: #905ea8;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1883",
  "rgb": {
    "r": 94,
    "g": 24,
    "b": 131
  },
  "hsl": {
    "h": 279.252,
    "s": 69.032,
    "l": 30.392
  },
  "oklch": {
    "l": 0.38197,
    "c": 0.16781,
    "h": 310.3
  },
  "luminance": 0.04672
}

Semantic roles & 50–950 ramp

primary
#5E1883
secondary
#69B740
accent
#EC3C79
background
#F9F5FA
surface
#F1EAF4
border
#CBC6CE
text
#0D0510
muted
#7E797F

Preview Lab

Preview with #5E1883

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

Preview Lab → · Contrast checker → · Palette generator →

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