#5F146A#5F146A

#5F146A is a dark, vivid purple. Relative luminance 0.040; OKLCH L 36.1% C 0.149 H 322.1°. Best body text is #FFFFFF at 11.70:1 contrast (WCAG AA passes).

Color values

HEX#5F146A
RGBrgb(95, 20, 106)
HSLhsl(292, 68%, 25%)
HSVhsv(292, 81%, 42%)
CMYKcmyk(10.4%, 81.1%, 0%, 58.4%)
CIE-LABlab(23.59, 44.50, -32.70)
CIE-LCHlch(23.59, 55.22, 323.69°)
OKLaboklab(36.09% 0.1177 -0.0915)
OKLCHoklch(36.09% 0.149 322.1)
XYZxyz(7.5707, 3.9743, 14.0012)
Luminance0.0397 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F146A #1F6A14
analogous
#34146A #5F146A #6A144A
triadic
#5F146A #6A5F14 #146A5F
tetradic
#5F146A #6A3414 #1F6A14 #144A6A
square
#5F146A #6A3414 #1F6A14 #144A6A
split-complementary
#5F146A #4A6A14 #146A34
monochromatic
#17051A #310A37 #5F146A #8D1E9D #BB27D1

Accessibility & contrast

On white

11.70
#5F146A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#5F146A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F146A
11.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F146A#FFFFFF#000000##FFFFFF
##5F146A1.0011.701.7911.70
#FFFFFF11.701.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00336C
Deuteranopia (green-blind)
#213B68
Tritanopia (blue-blind)
#60253F
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #5f146a;
/* rgb */ color: rgb(95, 20, 106);
/* oklch */ color: oklch(36.1% 0.149 322.1);
Tailwind
colors: {
  custom: {
    50: '#905c95',
    500: '#5f146a',
    950: '#000000',
  },
}
SCSS
$custom: #5f146a;
$custom-light: #905c95;
$custom-dark: #000000;
JSON
{
  "hex": "#5f146a",
  "rgb": {
    "r": 95,
    "g": 20,
    "b": 106
  },
  "hsl": {
    "h": 292.326,
    "s": 68.254,
    "l": 24.706
  },
  "oklch": {
    "l": 0.36093,
    "c": 0.14911,
    "h": 322.1
  },
  "luminance": 0.03974
}

Semantic roles & 50–950 ramp

primary
#5F146A
secondary
#46A139
accent
#EB3D53
background
#F9F5F9
surface
#F1E9F2
border
#CBC5CC
text
#0D040D
muted
#7E797E

Preview Lab

Preview with #5F146A

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

Preview Lab → · Contrast checker → · Palette generator →

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