#91228D#91228D

#91228D is a mid, vivid purple. Relative luminance 0.091; OKLCH L 47.4% C 0.187 H 329.6°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#91228D
RGBrgb(145, 34, 141)
HSLhsl(302, 62%, 35%)
HSVhsv(302, 77%, 57%)
CMYKcmyk(0%, 76.6%, 2.8%, 43.1%)
CIE-LABlab(36.15, 57.23, -34.24)
CIE-LCHlch(36.15, 66.69, 329.11°)
OKLaboklab(47.44% 0.1616 -0.0946)
OKLCHoklch(47.44% 0.187 329.6)
XYZxyz(17.0567, 9.0882, 26.0500)
Luminance0.0909 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#91228D #229126
analogous
#5D2291 #91228D #912256
triadic
#91228D #8D9122 #228D91
tetradic
#91228D #915D22 #229126 #225691
square
#91228D #915D22 #229126 #225691
split-complementary
#91228D #569122 #22915D
monochromatic
#2E0B2D #5F165D #91228D #C32EBD #D756D3

Accessibility & contrast

On white

7.45
#91228D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#91228D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #91228D
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##91228D#FFFFFF#000000##FFFFFF
##91228D1.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#104C90
Deuteranopia (green-blind)
#445A8A
Tritanopia (blue-blind)
#963256
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #91228d;
/* rgb */ color: rgb(145, 34, 141);
/* oklch */ color: oklch(47.4% 0.187 329.6);
Tailwind
colors: {
  custom: {
    50: '#b56aaf',
    500: '#91228d',
    950: '#000000',
  },
}
SCSS
$custom: #91228d;
$custom-light: #b56aaf;
$custom-dark: #000000;
JSON
{
  "hex": "#91228d",
  "rgb": {
    "r": 145,
    "g": 34,
    "b": 141
  },
  "hsl": {
    "h": 302.162,
    "s": 62.011,
    "l": 35.098
  },
  "oklch": {
    "l": 0.47439,
    "c": 0.18728,
    "h": 329.6
  },
  "luminance": 0.09087
}

Semantic roles & 50–950 ramp

primary
#91228D
secondary
#53BB57
accent
#E54943
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #91228D

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

Preview Lab → · Contrast checker → · Palette generator →

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