#5F146C#5F146C

#5F146C is a dark, vivid purple. Relative luminance 0.040; OKLCH L 36.2% C 0.151 H 321.1°. Best body text is #FFFFFF at 11.65:1 contrast (WCAG AA passes).

Color values

HEX#5F146C
RGBrgb(95, 20, 108)
HSLhsl(291, 69%, 25%)
HSVhsv(291, 81%, 42%)
CMYKcmyk(12%, 81.5%, 0%, 57.6%)
CIE-LABlab(23.73, 44.89, -33.77)
CIE-LCHlch(23.73, 56.18, 323.05°)
OKLaboklab(36.24% 0.1175 -0.0946)
OKLCHoklch(36.24% 0.151 321.1)
XYZxyz(7.6759, 4.0163, 14.5554)
Luminance0.0402 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F146C #216C14
analogous
#33146C #5F146C #6C144D
triadic
#5F146C #6C5F14 #146C5F
tetradic
#5F146C #6C3314 #216C14 #144D6C
square
#5F146C #6C3314 #216C14 #144D6C
split-complementary
#5F146C #4D6C14 #146C33
monochromatic
#17051A #320A38 #5F146C #8C1EA0 #BA27D3

Accessibility & contrast

On white

11.65
#5F146C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#5F146C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F146C
11.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F146C#FFFFFF#000000##FFFFFF
##5F146C1.0011.651.8011.65
#FFFFFF11.651.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00336E
Deuteranopia (green-blind)
#1F3B6A
Tritanopia (blue-blind)
#602640
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #5f146c;
/* rgb */ color: rgb(95, 20, 108);
/* oklch */ color: oklch(36.2% 0.151 321.1);
Tailwind
colors: {
  custom: {
    50: '#905c97',
    500: '#5f146c',
    950: '#000000',
  },
}
SCSS
$custom: #5f146c;
$custom-light: #905c97;
$custom-dark: #000000;
JSON
{
  "hex": "#5f146c",
  "rgb": {
    "r": 95,
    "g": 20,
    "b": 108
  },
  "hsl": {
    "h": 291.136,
    "s": 68.75,
    "l": 25.098
  },
  "oklch": {
    "l": 0.36236,
    "c": 0.15089,
    "h": 321.1
  },
  "luminance": 0.04016
}

Semantic roles & 50–950 ramp

primary
#5F146C
secondary
#49A339
accent
#EC3C56
background
#F9F5F9
surface
#F1E9F2
border
#CBC5CC
text
#0D040D
muted
#7E797E

Preview Lab

Preview with #5F146C

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

Preview Lab → · Contrast checker → · Palette generator →

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