#9D1999#9D1999

#9D1999 is a mid, highly saturated purple. Relative luminance 0.102; OKLCH L 49.5% C 0.210 H 329.6°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#9D1999
RGBrgb(157, 25, 153)
HSLhsl(302, 73%, 36%)
HSVhsv(302, 84%, 62%)
CMYKcmyk(0%, 84.1%, 2.5%, 38.4%)
CIE-LABlab(38.14, 64.06, -38.29)
CIE-LCHlch(38.14, 74.63, 329.13°)
OKLaboklab(49.47% 0.1809 -0.106)
OKLCHoklch(49.47% 0.21 329.6)
XYZxyz(20.0019, 10.1649, 31.0394)
Luminance0.1016 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1999 #199D1D
analogous
#5F199D #9D1999 #9D1957
triadic
#9D1999 #999D19 #19999D
tetradic
#9D1999 #9D5F19 #199D1D #19579D
square
#9D1999 #9D5F19 #199D1D #19579D
split-complementary
#9D1999 #579D19 #199D5F
monochromatic
#330832 #681166 #9D1999 #D221CC #E34EDE

Accessibility & contrast

On white

6.92
#9D1999 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9D1999
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1999#FFFFFF#000000##FFFFFF
##9D19991.006.923.036.92
#FFFFFF6.921.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004F9C
Deuteranopia (green-blind)
#456096
Tritanopia (blue-blind)
#A3305B
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9d1999;
/* rgb */ color: rgb(157, 25, 153);
/* oklch */ color: oklch(49.5% 0.210 329.6);
Tailwind
colors: {
  custom: {
    50: '#be6ab7',
    500: '#9d1999',
    950: '#000000',
  },
}
SCSS
$custom: #9d1999;
$custom-light: #be6ab7;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1999",
  "rgb": {
    "r": 157,
    "g": 25,
    "b": 153
  },
  "hsl": {
    "h": 301.818,
    "s": 72.527,
    "l": 35.686
  },
  "oklch": {
    "l": 0.49474,
    "c": 0.20967,
    "h": 329.6
  },
  "luminance": 0.10163
}

Semantic roles & 50–950 ramp

primary
#9D1999
secondary
#4DC551
accent
#EF3E39
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130711
muted
#827A80

Preview Lab

Preview with #9D1999

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

Preview Lab → · Contrast checker → · Palette generator →

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