#5E148F#5E148F

#5E148F is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.9% C 0.183 H 306.2°. Best body text is #FFFFFF at 10.65:1 contrast (WCAG AA passes).

Color values

HEX#5E148F
RGBrgb(94, 20, 143)
HSLhsl(276, 75%, 32%)
HSVhsv(276, 86%, 56%)
CMYKcmyk(34.3%, 86%, 0%, 43.9%)
CIE-LABlab(26.34, 52.14, -51.71)
CIE-LCHlch(26.34, 73.43, 315.23°)
OKLaboklab(38.9% 0.108 -0.1474)
OKLCHoklch(38.9% 0.183 306.2)
XYZxyz(9.8231, 4.8633, 26.4025)
Luminance0.0486 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E148F #458F14
analogous
#21148F #5E148F #8F1482
triadic
#5E148F #8F5E14 #148F5E
tetradic
#5E148F #8F2114 #458F14 #14828F
square
#5E148F #8F2114 #458F14 #14828F
split-complementary
#5E148F #828F14 #148F21
monochromatic
#170524 #3B0C59 #5E148F #811CC5 #A03AE3

Accessibility & contrast

On white

10.65
#5E148F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5E148F
10.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E148F#FFFFFF#000000##FFFFFF
##5E148F1.0010.651.9710.65
#FFFFFF10.651.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C92
Deuteranopia (green-blind)
#003F8D
Tritanopia (blue-blind)
#553754
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #5e148f;
/* rgb */ color: rgb(94, 20, 143);
/* oklch */ color: oklch(38.9% 0.183 306.2);
Tailwind
colors: {
  custom: {
    50: '#915eb1',
    500: '#5e148f',
    950: '#000000',
  },
}
SCSS
$custom: #5e148f;
$custom-light: #915eb1;
$custom-dark: #000000;
JSON
{
  "hex": "#5e148f",
  "rgb": {
    "r": 94,
    "g": 20,
    "b": 143
  },
  "hsl": {
    "h": 276.098,
    "s": 75.46,
    "l": 31.961
  },
  "oklch": {
    "l": 0.38904,
    "c": 0.18272,
    "h": 306.2
  },
  "luminance": 0.04863
}

Semantic roles & 50–950 ramp

primary
#5E148F
secondary
#72C33C
accent
#F23681
background
#F9F5FB
surface
#F2EAF6
border
#CCC6D0
text
#0D0511
muted
#7E7980

Preview Lab

Preview with #5E148F

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

Preview Lab → · Contrast checker → · Palette generator →

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