#5E148E#5E148E

#5E148E is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.8% C 0.182 H 306.6°. Best body text is #FFFFFF at 10.68:1 contrast (WCAG AA passes).

Color values

HEX#5E148E
RGBrgb(94, 20, 142)
HSLhsl(276, 75%, 32%)
HSVhsv(276, 86%, 56%)
CMYKcmyk(33.8%, 85.9%, 0%, 44.3%)
CIE-LABlab(26.25, 51.91, -51.24)
CIE-LCHlch(26.25, 72.94, 315.38°)
OKLaboklab(38.82% 0.1084 -0.146)
OKLCHoklch(38.82% 0.182 306.6)
XYZxyz(9.7477, 4.8331, 26.0053)
Luminance0.0483 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E148E #448E14
analogous
#21148E #5E148E #8E1481
triadic
#5E148E #8E5E14 #148E5E
tetradic
#5E148E #8E2114 #448E14 #14818E
square
#5E148E #8E2114 #448E14 #14818E
split-complementary
#5E148E #818E14 #148E21
monochromatic
#170523 #3A0C58 #5E148E #821CC4 #A039E3

Accessibility & contrast

On white

10.68
#5E148E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#5E148E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E148E
10.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E148E#FFFFFF#000000##FFFFFF
##5E148E1.0010.681.9710.68
#FFFFFF10.681.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C91
Deuteranopia (green-blind)
#003E8C
Tritanopia (blue-blind)
#553753
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #5e148e;
/* rgb */ color: rgb(94, 20, 142);
/* oklch */ color: oklch(38.8% 0.182 306.6);
Tailwind
colors: {
  custom: {
    50: '#915eb0',
    500: '#5e148e',
    950: '#000000',
  },
}
SCSS
$custom: #5e148e;
$custom-light: #915eb0;
$custom-dark: #000000;
JSON
{
  "hex": "#5e148e",
  "rgb": {
    "r": 94,
    "g": 20,
    "b": 142
  },
  "hsl": {
    "h": 276.393,
    "s": 75.309,
    "l": 31.765
  },
  "oklch": {
    "l": 0.38816,
    "c": 0.18179,
    "h": 306.6
  },
  "luminance": 0.04833
}

Semantic roles & 50–950 ramp

primary
#5E148E
secondary
#71C23C
accent
#F23680
background
#F9F5FA
surface
#F2EAF5
border
#CCC6CF
text
#0D0511
muted
#7E7980

Preview Lab

Preview with #5E148E

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

Preview Lab → · Contrast checker → · Palette generator →

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