#91228B#91228B

#91228B is a mid, vivid purple. Relative luminance 0.090; OKLCH L 47.3% C 0.186 H 330.5°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#91228B
RGBrgb(145, 34, 139)
HSLhsl(303, 62%, 35%)
HSVhsv(303, 77%, 57%)
CMYKcmyk(0%, 76.6%, 4.1%, 43.1%)
CIE-LABlab(36.04, 56.90, -33.19)
CIE-LCHlch(36.04, 65.87, 329.75°)
OKLaboklab(47.32% 0.1616 -0.0916)
OKLCHoklch(47.32% 0.186 330.5)
XYZxyz(16.9092, 9.0292, 25.2733)
Luminance0.0903 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#91228B #229128
analogous
#5F2291 #91228B #912254
triadic
#91228B #8B9122 #228B91
tetradic
#91228B #915F22 #229128 #225491
square
#91228B #915F22 #229128 #225491
split-complementary
#91228B #549122 #22915F
monochromatic
#2E0B2C #5F165B #91228B #C32EBB #D756D0

Accessibility & contrast

On white

7.49
#91228B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#91228B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #91228B
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##91228B#FFFFFF#000000##FFFFFF
##91228B1.007.492.817.49
#FFFFFF7.491.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#144B8E
Deuteranopia (green-blind)
#455A88
Tritanopia (blue-blind)
#973155
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #91228b;
/* rgb */ color: rgb(145, 34, 139);
/* oklch */ color: oklch(47.3% 0.186 330.5);
Tailwind
colors: {
  custom: {
    50: '#b56aad',
    500: '#91228b',
    950: '#000000',
  },
}
SCSS
$custom: #91228b;
$custom-light: #b56aad;
$custom-dark: #000000;
JSON
{
  "hex": "#91228b",
  "rgb": {
    "r": 145,
    "g": 34,
    "b": 139
  },
  "hsl": {
    "h": 303.243,
    "s": 62.011,
    "l": 35.098
  },
  "oklch": {
    "l": 0.47322,
    "c": 0.18574,
    "h": 330.5
  },
  "luminance": 0.09028
}

Semantic roles & 50–950 ramp

primary
#91228B
secondary
#53BB59
accent
#E54B43
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #91228B

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

Preview Lab → · Contrast checker → · Palette generator →

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