#9C3291#9C3291

#9C3291 is a mid, vivid purple. Relative luminance 0.114; OKLCH L 50.8% C 0.178 H 332.3°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#9C3291
RGBrgb(156, 50, 145)
HSLhsl(306, 51%, 40%)
HSVhsv(306, 68%, 61%)
CMYKcmyk(0%, 67.9%, 7.1%, 38.8%)
CIE-LABlab(40.24, 54.80, -30.12)
CIE-LCHlch(40.24, 62.53, 331.21°)
OKLaboklab(50.81% 0.1573 -0.0826)
OKLCHoklch(50.81% 0.178 332.3)
XYZxyz(19.9618, 11.3950, 27.9307)
Luminance0.1139 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C3291 #329C3D
analogous
#72329C #9C3291 #9C325C
triadic
#9C3291 #919C32 #32919C
tetradic
#9C3291 #9C7232 #329C3D #325C9C
square
#9C3291 #9C7232 #329C3D #325C9C
split-complementary
#9C3291 #5C9C32 #329C72
monochromatic
#3F143B #6E2366 #9C3291 #C447B7 #D375C9

Accessibility & contrast

On white

6.41
#9C3291 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#9C3291 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C3291
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C3291#FFFFFF#000000##FFFFFF
##9C32911.006.413.286.41
#FFFFFF6.411.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5594
Deuteranopia (green-blind)
#52648E
Tritanopia (blue-blind)
#A33C5D
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9c3291;
/* rgb */ color: rgb(156, 50, 145);
/* oklch */ color: oklch(50.8% 0.178 332.3);
Tailwind
colors: {
  custom: {
    50: '#bc73b1',
    500: '#9c3291',
    950: '#000000',
  },
}
SCSS
$custom: #9c3291;
$custom-light: #bc73b1;
$custom-dark: #000000;
JSON
{
  "hex": "#9c3291",
  "rgb": {
    "r": 156,
    "g": 50,
    "b": 145
  },
  "hsl": {
    "h": 306.226,
    "s": 51.456,
    "l": 40.392
  },
  "oklch": {
    "l": 0.50806,
    "c": 0.17764,
    "h": 332.3
  },
  "luminance": 0.11393
}

Semantic roles & 50–950 ramp

primary
#9C3291
secondary
#6FBB77
accent
#DB5C4D
background
#FBF7FA
surface
#F7EDF5
border
#D0C8CF
text
#120911
muted
#817B80

Preview Lab

Preview with #9C3291

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

Preview Lab → · Contrast checker → · Palette generator →

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