#91237F#91237F

#91237F is a mid, vivid purple. Relative luminance 0.088; OKLCH L 46.7% C 0.176 H 335.6°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#91237F
RGBrgb(145, 35, 127)
HSLhsl(310, 61%, 35%)
HSVhsv(310, 76%, 57%)
CMYKcmyk(0%, 75.9%, 12.4%, 43.1%)
CIE-LABlab(35.51, 54.68, -26.59)
CIE-LCHlch(35.51, 60.80, 334.07°)
OKLaboklab(46.73% 0.16 -0.0726)
OKLCHoklch(46.73% 0.176 335.6)
XYZxyz(16.1091, 8.7556, 20.9161)
Luminance0.0875 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#91237F #239135
analogous
#6C2391 #91237F #912348
triadic
#91237F #7F9123 #237F91
tetradic
#91237F #916C23 #239135 #234891
square
#91237F #916C23 #239135 #234891
split-complementary
#91237F #489123 #23916C
monochromatic
#2E0B29 #601754 #91237F #C22FAA #D758C2

Accessibility & contrast

On white

7.63
#91237F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#91237F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #91237F
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##91237F#FFFFFF#000000##FFFFFF
##91237F1.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244981
Deuteranopia (green-blind)
#4B597C
Tritanopia (blue-blind)
#992C4F
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #91237f;
/* rgb */ color: rgb(145, 35, 127);
/* oklch */ color: oklch(46.7% 0.176 335.6);
Tailwind
colors: {
  custom: {
    50: '#b56aa4',
    500: '#91237f',
    950: '#000000',
  },
}
SCSS
$custom: #91237f;
$custom-light: #b56aa4;
$custom-dark: #000000;
JSON
{
  "hex": "#91237f",
  "rgb": {
    "r": 145,
    "g": 35,
    "b": 127
  },
  "hsl": {
    "h": 309.818,
    "s": 61.111,
    "l": 35.294
  },
  "oklch": {
    "l": 0.46732,
    "c": 0.17572,
    "h": 335.6
  },
  "luminance": 0.08754
}

Semantic roles & 50–950 ramp

primary
#91237F
secondary
#55BB66
accent
#E45E44
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #91237F

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

Preview Lab → · Contrast checker → · Palette generator →

#91237F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva