#5E1683#5E1683

#5E1683 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 38.0% C 0.170 H 310.4°. Best body text is #FFFFFF at 10.95:1 contrast (WCAG AA passes).

Color values

HEX#5E1683
RGBrgb(94, 22, 131)
HSLhsl(280, 71%, 30%)
HSVhsv(280, 83%, 51%)
CMYKcmyk(28.2%, 83.2%, 0%, 48.6%)
CIE-LABlab(25.54, 48.83, -45.53)
CIE-LCHlch(25.54, 66.76, 317.01°)
OKLaboklab(38.03% 0.1101 -0.1292)
OKLCHoklch(38.03% 0.17 310.4)
XYZxyz(8.9989, 4.5924, 21.8807)
Luminance0.0459 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1683 #3B8316
analogous
#271683 #5E1683 #831672
triadic
#5E1683 #835E16 #16835E
tetradic
#5E1683 #832716 #3B8316 #167283
square
#5E1683 #832716 #3B8316 #167283
split-complementary
#5E1683 #728316 #168327
monochromatic
#13041A #380D4F #5E1683 #841FB7 #A536DD

Accessibility & contrast

On white

10.95
#5E1683 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#5E1683 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E1683
10.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1683#FFFFFF#000000##FFFFFF
##5E16831.0010.951.9210.95
#FFFFFF10.951.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A86
Deuteranopia (green-blind)
#003E81
Tritanopia (blue-blind)
#59324D
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #5e1683;
/* rgb */ color: rgb(94, 22, 131);
/* oklch */ color: oklch(38.0% 0.170 310.4);
Tailwind
colors: {
  custom: {
    50: '#905ea8',
    500: '#5e1683',
    950: '#000000',
  },
}
SCSS
$custom: #5e1683;
$custom-light: #905ea8;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1683",
  "rgb": {
    "r": 94,
    "g": 22,
    "b": 131
  },
  "hsl": {
    "h": 279.633,
    "s": 71.242,
    "l": 30
  },
  "oklch": {
    "l": 0.38031,
    "c": 0.16972,
    "h": 310.4
  },
  "luminance": 0.04592
}

Semantic roles & 50–950 ramp

primary
#5E1683
secondary
#67B73D
accent
#EE3A77
background
#F9F5FA
surface
#F1E9F4
border
#CBC5CE
text
#0D0510
muted
#7E797F

Preview Lab

Preview with #5E1683

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

Preview Lab → · Contrast checker → · Palette generator →

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