#5E1283#5E1283

#5E1283 is a dark, vivid purple. Relative luminance 0.045; OKLCH L 37.7% C 0.173 H 310.7°. Best body text is #FFFFFF at 11.11:1 contrast (WCAG AA passes).

Color values

HEX#5E1283
RGBrgb(94, 18, 131)
HSLhsl(280, 76%, 29%)
HSVhsv(280, 86%, 51%)
CMYKcmyk(28.2%, 86.3%, 0%, 48.6%)
CIE-LABlab(25.11, 50.09, -46.23)
CIE-LCHlch(25.11, 68.16, 317.30°)
OKLaboklab(37.73% 0.113 -0.1312)
OKLCHoklch(37.73% 0.173 310.7)
XYZxyz(8.9283, 4.4512, 21.8572)
Luminance0.0445 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1283 #378312
analogous
#261283 #5E1283 #831270
triadic
#5E1283 #835E12 #12835E
tetradic
#5E1283 #832612 #378312 #127083
square
#5E1283 #832612 #378312 #127083
split-complementary
#5E1283 #708312 #128326
monochromatic
#13041B #370B4D #5E1283 #8519B9 #A72DE2

Accessibility & contrast

On white

11.11
#5E1283 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#5E1283 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E1283
11.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1283#FFFFFF#000000##FFFFFF
##5E12831.0011.111.8911.11
#FFFFFF11.111.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003886
Deuteranopia (green-blind)
#003D81
Tritanopia (blue-blind)
#59314D
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #5e1283;
/* rgb */ color: rgb(94, 18, 131);
/* oklch */ color: oklch(37.7% 0.173 310.7);
Tailwind
colors: {
  custom: {
    50: '#905ca8',
    500: '#5e1283',
    950: '#000000',
  },
}
SCSS
$custom: #5e1283;
$custom-light: #905ca8;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1283",
  "rgb": {
    "r": 94,
    "g": 18,
    "b": 131
  },
  "hsl": {
    "h": 280.354,
    "s": 75.839,
    "l": 29.216
  },
  "oklch": {
    "l": 0.37731,
    "c": 0.17319,
    "h": 310.7
  },
  "luminance": 0.04451
}

Semantic roles & 50–950 ramp

primary
#5E1283
secondary
#62B838
accent
#F23573
background
#F9F5FA
surface
#F2E9F4
border
#CCC5CE
text
#0D0510
muted
#7E797F

Preview Lab

Preview with #5E1283

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

Preview Lab → · Contrast checker → · Palette generator →

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