#9F1F92#9F1F92

#9F1F92 is a mid, highly saturated purple. Relative luminance 0.104; OKLCH L 49.7% C 0.201 H 332.9°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#9F1F92
RGBrgb(159, 31, 146)
HSLhsl(306, 67%, 37%)
HSVhsv(306, 81%, 62%)
CMYKcmyk(0%, 80.5%, 8.2%, 37.6%)
CIE-LABlab(38.60, 61.93, -33.27)
CIE-LCHlch(38.60, 70.31, 331.76°)
OKLaboklab(49.74% 0.1788 -0.0915)
OKLCHoklch(49.74% 0.201 332.9)
XYZxyz(19.9765, 10.4280, 28.1493)
Luminance0.1043 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1F92 #1F9F2C
analogous
#6C1F9F #9F1F92 #9F1F52
triadic
#9F1F92 #929F1F #1F929F
tetradic
#9F1F92 #9F6C1F #1F9F2C #1F529F
square
#9F1F92 #9F6C1F #1F9F2C #1F529F
split-complementary
#9F1F92 #529F1F #1F9F6C
monochromatic
#390B34 #6C1563 #9F1F92 #D229C1 #DF5AD1

Accessibility & contrast

On white

6.81
#9F1F92 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#9F1F92 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F1F92
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1F92#FFFFFF#000000##FFFFFF
##9F1F921.006.813.096.81
#FFFFFF6.811.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#174F95
Deuteranopia (green-blind)
#4D618F
Tritanopia (blue-blind)
#A62F58
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9f1f92;
/* rgb */ color: rgb(159, 31, 146);
/* oklch */ color: oklch(49.7% 0.201 332.9);
Tailwind
colors: {
  custom: {
    50: '#bf6bb2',
    500: '#9f1f92',
    950: '#000000',
  },
}
SCSS
$custom: #9f1f92;
$custom-light: #bf6bb2;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1f92",
  "rgb": {
    "r": 159,
    "g": 31,
    "b": 146
  },
  "hsl": {
    "h": 306.094,
    "s": 67.368,
    "l": 37.255
  },
  "oklch": {
    "l": 0.49743,
    "c": 0.20081,
    "h": 332.9
  },
  "luminance": 0.10426
}

Semantic roles & 50–950 ramp

primary
#9F1F92
secondary
#57C362
accent
#EA4F3E
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130811
muted
#827A80

Preview Lab

Preview with #9F1F92

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

Preview Lab → · Contrast checker → · Palette generator →

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