#5F146F#5F146F

#5F146F is a dark, vivid purple. Relative luminance 0.041; OKLCH L 36.5% C 0.154 H 319.7°. Best body text is #FFFFFF at 11.56:1 contrast (WCAG AA passes).

Color values

HEX#5F146F
RGBrgb(95, 20, 111)
HSLhsl(289, 69%, 26%)
HSVhsv(289, 82%, 44%)
CMYKcmyk(14.4%, 82%, 0%, 56.5%)
CIE-LABlab(23.94, 45.49, -35.37)
CIE-LCHlch(23.94, 57.62, 322.13°)
OKLaboklab(36.45% 0.1171 -0.0993)
OKLCHoklch(36.45% 0.154 319.7)
XYZxyz(7.8383, 4.0813, 15.4107)
Luminance0.0408 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F146F #246F14
analogous
#32146F #5F146F #6F1451
triadic
#5F146F #6F5F14 #146F5F
tetradic
#5F146F #6F3214 #246F14 #14516F
square
#5F146F #6F3214 #246F14 #14516F
split-complementary
#5F146F #516F14 #146F32
monochromatic
#16051A #330B3B #5F146F #8B1DA3 #B827D7

Accessibility & contrast

On white

11.56
#5F146F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#5F146F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F146F
11.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F146F#FFFFFF#000000##FFFFFF
##5F146F1.0011.561.8211.56
#FFFFFF11.561.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003471
Deuteranopia (green-blind)
#1C3B6D
Tritanopia (blue-blind)
#5F2842
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #5f146f;
/* rgb */ color: rgb(95, 20, 111);
/* oklch */ color: oklch(36.5% 0.154 319.7);
Tailwind
colors: {
  custom: {
    50: '#905c99',
    500: '#5f146f',
    950: '#000000',
  },
}
SCSS
$custom: #5f146f;
$custom-light: #905c99;
$custom-dark: #000000;
JSON
{
  "hex": "#5f146f",
  "rgb": {
    "r": 95,
    "g": 20,
    "b": 111
  },
  "hsl": {
    "h": 289.451,
    "s": 69.466,
    "l": 25.686
  },
  "oklch": {
    "l": 0.36454,
    "c": 0.15357,
    "h": 319.7
  },
  "luminance": 0.04081
}

Semantic roles & 50–950 ramp

primary
#5F146F
secondary
#4CA639
accent
#EC3C5B
background
#F9F5F9
surface
#F1E9F2
border
#CBC5CC
text
#0D040E
muted
#7E797E

Preview Lab

Preview with #5F146F

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

Preview Lab → · Contrast checker → · Palette generator →

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