#96319B#96319B

#96319B is a mid, vivid purple. Relative luminance 0.110; OKLCH L 50.4% C 0.184 H 325.9°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#96319B
RGBrgb(150, 49, 155)
HSLhsl(297, 52%, 40%)
HSVhsv(297, 68%, 61%)
CMYKcmyk(3.2%, 68.4%, 0%, 39.2%)
CIE-LABlab(39.66, 55.44, -37.15)
CIE-LCHlch(39.66, 66.73, 326.17°)
OKLaboklab(50.37% 0.1522 -0.1031)
OKLCHoklch(50.37% 0.184 325.9)
XYZxyz(19.5920, 11.0485, 32.1046)
Luminance0.1105 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96319B #369B31
analogous
#61319B #96319B #9B316B
triadic
#96319B #9B9631 #319B96
tetradic
#96319B #9B6131 #369B31 #316B9B
square
#96319B #9B6131 #369B31 #316B9B
split-complementary
#96319B #6B9B31 #319B61
monochromatic
#3C143E #69226D #96319B #BE45C4 #CE73D3

Accessibility & contrast

On white

6.54
#96319B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#96319B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #96319B
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96319B#FFFFFF#000000##FFFFFF
##96319B1.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C559E
Deuteranopia (green-blind)
#476298
Tritanopia (blue-blind)
#9A4162
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #96319b;
/* rgb */ color: rgb(150, 49, 155);
/* oklch */ color: oklch(50.4% 0.184 325.9);
Tailwind
colors: {
  custom: {
    50: '#b872b9',
    500: '#96319b',
    950: '#000000',
  },
}
SCSS
$custom: #96319b;
$custom-light: #b872b9;
$custom-dark: #000000;
JSON
{
  "hex": "#96319b",
  "rgb": {
    "r": 150,
    "g": 49,
    "b": 155
  },
  "hsl": {
    "h": 297.17,
    "s": 51.961,
    "l": 40
  },
  "oklch": {
    "l": 0.50374,
    "c": 0.18382,
    "h": 325.9
  },
  "luminance": 0.11047
}

Semantic roles & 50–950 ramp

primary
#96319B
secondary
#71BB6D
accent
#DB4C53
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #96319B

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

Preview Lab → · Contrast checker → · Palette generator →

#96319B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva