#5E148D#5E148D

#5E148D is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.7% C 0.181 H 306.9°. Best body text is #FFFFFF at 10.71:1 contrast (WCAG AA passes).

Color values

HEX#5E148D
RGBrgb(94, 20, 141)
HSLhsl(277, 75%, 32%)
HSVhsv(277, 86%, 55%)
CMYKcmyk(33.3%, 85.8%, 0%, 44.7%)
CIE-LABlab(26.17, 51.69, -50.76)
CIE-LCHlch(26.17, 72.44, 315.52°)
OKLaboklab(38.73% 0.1087 -0.1446)
OKLCHoklch(38.73% 0.181 306.9)
XYZxyz(9.6729, 4.8032, 25.6117)
Luminance0.0480 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E148D #438D14
analogous
#22148D #5E148D #8D1480
triadic
#5E148D #8D5E14 #148D5E
tetradic
#5E148D #8D2214 #438D14 #14808D
square
#5E148D #8D2214 #438D14 #14808D
split-complementary
#5E148D #808D14 #148D22
monochromatic
#170522 #3A0C57 #5E148D #821CC3 #A139E3

Accessibility & contrast

On white

10.71
#5E148D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#5E148D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E148D
10.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E148D#FFFFFF#000000##FFFFFF
##5E148D1.0010.711.9610.71
#FFFFFF10.711.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C90
Deuteranopia (green-blind)
#003E8B
Tritanopia (blue-blind)
#563653
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #5e148d;
/* rgb */ color: rgb(94, 20, 141);
/* oklch */ color: oklch(38.7% 0.181 306.9);
Tailwind
colors: {
  custom: {
    50: '#915daf',
    500: '#5e148d',
    950: '#000000',
  },
}
SCSS
$custom: #5e148d;
$custom-light: #915daf;
$custom-dark: #000000;
JSON
{
  "hex": "#5e148d",
  "rgb": {
    "r": 94,
    "g": 20,
    "b": 141
  },
  "hsl": {
    "h": 276.694,
    "s": 75.155,
    "l": 31.569
  },
  "oklch": {
    "l": 0.38728,
    "c": 0.18085,
    "h": 306.9
  },
  "luminance": 0.04803
}

Semantic roles & 50–950 ramp

primary
#5E148D
secondary
#70C13C
accent
#F2367F
background
#F9F5FA
surface
#F2E9F5
border
#CCC5CF
text
#0D0510
muted
#7E797F

Preview Lab

Preview with #5E148D

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

Preview Lab → · Contrast checker → · Palette generator →

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