#9F1592#9F1592

#9F1592 is a mid, highly saturated purple. Relative luminance 0.100; OKLCH L 49.2% C 0.208 H 332.9°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#9F1592
RGBrgb(159, 21, 146)
HSLhsl(306, 77%, 35%)
HSVhsv(306, 87%, 62%)
CMYKcmyk(0%, 86.8%, 8.2%, 37.6%)
CIE-LABlab(37.81, 64.22, -34.51)
CIE-LCHlch(37.81, 72.90, 331.74°)
OKLaboklab(49.18% 0.1854 -0.095)
OKLCHoklch(49.18% 0.208 332.9)
XYZxyz(19.7547, 9.9844, 28.0753)
Luminance0.0998 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1592 #159F22
analogous
#67159F #9F1592 #9F154D
triadic
#9F1592 #929F15 #15929F
tetradic
#9F1592 #9F6715 #159F22 #154D9F
square
#9F1592 #9F6715 #159F22 #154D9F
split-complementary
#9F1592 #4D9F15 #159F67
monochromatic
#33072F #690E60 #9F1592 #D51CC4 #E748D8

Accessibility & contrast

On white

7.01
#9F1592 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#9F1592 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F1592
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1592#FFFFFF#000000##FFFFFF
##9F15921.007.013.007.01
#FFFFFF7.011.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#064D95
Deuteranopia (green-blind)
#4A608F
Tritanopia (blue-blind)
#A62956
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9f1592;
/* rgb */ color: rgb(159, 21, 146);
/* oklch */ color: oklch(49.2% 0.208 332.9);
Tailwind
colors: {
  custom: {
    50: '#c069b2',
    500: '#9f1592',
    950: '#000000',
  },
}
SCSS
$custom: #9f1592;
$custom-light: #c069b2;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1592",
  "rgb": {
    "r": 159,
    "g": 21,
    "b": 146
  },
  "hsl": {
    "h": 305.652,
    "s": 76.667,
    "l": 35.294
  },
  "oklch": {
    "l": 0.49184,
    "c": 0.20837,
    "h": 332.9
  },
  "luminance": 0.09983
}

Semantic roles & 50–950 ramp

primary
#9F1592
secondary
#48C854
accent
#F34735
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130711
muted
#827A80

Preview Lab

Preview with #9F1592

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

Preview Lab → · Contrast checker → · Palette generator →

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