#91227F#91227F

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

Color values

HEX#91227F
RGBrgb(145, 34, 127)
HSLhsl(310, 62%, 35%)
HSVhsv(310, 77%, 57%)
CMYKcmyk(0%, 76.6%, 12.4%, 43.1%)
CIE-LABlab(35.40, 55.01, -26.77)
CIE-LCHlch(35.40, 61.17, 334.05°)
OKLaboklab(46.65% 0.161 -0.0731)
OKLCHoklch(46.65% 0.177 335.6)
XYZxyz(16.0801, 8.6976, 20.9065)
Luminance0.0870 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#91227F #229134
analogous
#6C2291 #91227F #912247
triadic
#91227F #7F9122 #227F91
tetradic
#91227F #916C22 #229134 #224791
square
#91227F #916C22 #229134 #224791
split-complementary
#91227F #479122 #22916C
monochromatic
#2E0B28 #5F1654 #91227F #C32EAA #D756C2

Accessibility & contrast

On white

7.67
#91227F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#91227F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #91227F
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##91227F#FFFFFF#000000##FFFFFF
##91227F1.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234982
Deuteranopia (green-blind)
#4A597C
Tritanopia (blue-blind)
#992B4E
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #91227f;
/* rgb */ color: rgb(145, 34, 127);
/* oklch */ color: oklch(46.7% 0.177 335.6);
Tailwind
colors: {
  custom: {
    50: '#b56aa4',
    500: '#91227f',
    950: '#000000',
  },
}
SCSS
$custom: #91227f;
$custom-light: #b56aa4;
$custom-dark: #000000;
JSON
{
  "hex": "#91227f",
  "rgb": {
    "r": 145,
    "g": 34,
    "b": 127
  },
  "hsl": {
    "h": 309.73,
    "s": 62.011,
    "l": 35.098
  },
  "oklch": {
    "l": 0.4665,
    "c": 0.1768,
    "h": 335.6
  },
  "luminance": 0.08696
}

Semantic roles & 50–950 ramp

primary
#91227F
secondary
#53BB64
accent
#E55D43
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #91227F

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

Preview Lab → · Contrast checker → · Palette generator →

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