#9F3591#9F3591

#9F3591 is a mid, vivid purple. Relative luminance 0.120; OKLCH L 51.6% C 0.175 H 333.5°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#9F3591
RGBrgb(159, 53, 145)
HSLhsl(308, 50%, 42%)
HSVhsv(308, 67%, 62%)
CMYKcmyk(0%, 66.7%, 8.8%, 37.6%)
CIE-LABlab(41.16, 54.37, -28.64)
CIE-LCHlch(41.16, 61.45, 332.22°)
OKLaboklab(51.57% 0.157 -0.0783)
OKLCHoklch(51.57% 0.175 333.5)
XYZxyz(20.6821, 11.9631, 28.0024)
Luminance0.1196 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F3591 #359F43
analogous
#78359F #9F3591 #9F355C
triadic
#9F3591 #919F35 #35919F
tetradic
#9F3591 #9F7835 #359F43 #355C9F
square
#9F3591 #9F7835 #359F43 #355C9F
split-complementary
#9F3591 #5C9F35 #359F78
monochromatic
#43163D #712667 #9F3591 #C44DB4 #D37BC8

Accessibility & contrast

On white

6.19
#9F3591 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#9F3591 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F3591
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F3591#FFFFFF#000000##FFFFFF
##9F35911.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#325794
Deuteranopia (green-blind)
#56678E
Tritanopia (blue-blind)
#A63E5E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9f3591;
/* rgb */ color: rgb(159, 53, 145);
/* oklch */ color: oklch(51.6% 0.175 333.5);
Tailwind
colors: {
  custom: {
    50: '#be75b1',
    500: '#9f3591',
    950: '#000000',
  },
}
SCSS
$custom: #9f3591;
$custom-light: #be75b1;
$custom-dark: #000000;
JSON
{
  "hex": "#9f3591",
  "rgb": {
    "r": 159,
    "g": 53,
    "b": 145
  },
  "hsl": {
    "h": 307.925,
    "s": 50,
    "l": 41.569
  },
  "oklch": {
    "l": 0.51569,
    "c": 0.17548,
    "h": 333.5
  },
  "luminance": 0.11961
}

Semantic roles & 50–950 ramp

primary
#9F3591
secondary
#74BC7D
accent
#DA614E
background
#FCF7FA
surface
#F8EDF5
border
#D1C8CF
text
#130911
muted
#827B80

Preview Lab

Preview with #9F3591

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

Preview Lab → · Contrast checker → · Palette generator →

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