#9F1C8D#9F1C8D

#9F1C8D is a mid, vivid purple. Relative luminance 0.101; OKLCH L 49.3% C 0.200 H 334.8°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#9F1C8D
RGBrgb(159, 28, 141)
HSLhsl(308, 70%, 37%)
HSVhsv(308, 82%, 62%)
CMYKcmyk(0%, 82.4%, 11.3%, 37.6%)
CIE-LABlab(38.07, 61.95, -31.05)
CIE-LCHlch(38.07, 69.30, 333.38°)
OKLaboklab(49.28% 0.1808 -0.0851)
OKLCHoklch(49.28% 0.2 334.8)
XYZxyz(19.5213, 10.1263, 26.1206)
Luminance0.1013 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1C8D #1C9F2E
analogous
#701C9F #9F1C8D #9F1C4C
triadic
#9F1C8D #8D9F1C #1C8D9F
tetradic
#9F1C8D #9F701C #1C9F2E #1C4C9F
square
#9F1C8D #9F701C #1C9F2E #1C4C9F
split-complementary
#9F1C8D #4C9F1C #1C9F70
monochromatic
#370A31 #6B135F #9F1C8D #D325BB #E154CE

Accessibility & contrast

On white

6.94
#9F1C8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#9F1C8D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F1C8D
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1C8D#FFFFFF#000000##FFFFFF
##9F1C8D1.006.943.036.94
#FFFFFF6.941.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A4E90
Deuteranopia (green-blind)
#4E608A
Tritanopia (blue-blind)
#A72A55
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9f1c8d;
/* rgb */ color: rgb(159, 28, 141);
/* oklch */ color: oklch(49.3% 0.200 334.8);
Tailwind
colors: {
  custom: {
    50: '#bf6aaf',
    500: '#9f1c8d',
    950: '#000000',
  },
}
SCSS
$custom: #9f1c8d;
$custom-light: #bf6aaf;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1c8d",
  "rgb": {
    "r": 159,
    "g": 28,
    "b": 141
  },
  "hsl": {
    "h": 308.244,
    "s": 70.053,
    "l": 36.667
  },
  "oklch": {
    "l": 0.49277,
    "c": 0.19985,
    "h": 334.8
  },
  "luminance": 0.10125
}

Semantic roles & 50–950 ramp

primary
#9F1C8D
secondary
#53C462
accent
#ED533B
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130710
muted
#827A7F

Preview Lab

Preview with #9F1C8D

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

Preview Lab → · Contrast checker → · Palette generator →

#9F1C8D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva