#91229C#91229C
#91229C is a mid, vivid purple. Relative luminance 0.096; OKLCH L 48.4% C 0.199 H 324.0°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).
Color values
| HEX | #91229C |
|---|---|
| RGB | rgb(145, 34, 156) |
| HSL | hsl(295, 64%, 37%) |
| HSV | hsv(295, 78%, 61%) |
| CMYK | cmyk(7.1%, 78.2%, 0%, 38.8%) |
| CIE-LAB | lab(37.05, 59.78, -41.96) |
| CIE-LCH | lch(37.05, 73.04, 324.94°) |
| OKLab | oklab(48.37% 0.161 -0.1171) |
| OKLCH | oklch(48.37% 0.199 324) |
| XYZ | xyz(18.2493, 9.5653, 32.3311) |
| Luminance | 0.0956 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Barney Purple
#A00498
ΔE00 3.19
Warm Purple
#952E8F
ΔE00 3.73
Darkmagenta
#8B008B
ΔE00 4.09
Purple (survey)
#7E1E9C
ΔE00 4.10
Barney
#AC1DB8
ΔE00 5.92
Purple
#800080
ΔE00 6.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#91229C #2D9C22
analogous
#54229C #91229C #9C226A
triadic
#91229C #9C9122 #229C91
tetradic
#91229C #9C5422 #2D9C22 #226A9C
square
#91229C #9C5422 #2D9C22 #226A9C
split-complementary
#91229C #6A9C22 #229C54
monochromatic
#340C38 #62176A #91229C #C02DCE #D05DDC
Accessibility & contrast
On white
7.21
#91229C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.91
#91229C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #91229C
7.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##91229C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##91229C | 1.00 | 7.21 | 2.91 | 7.21 |
| #FFFFFF | 7.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004F9F
Deuteranopia (green-blind)
#3A5C99
Tritanopia (blue-blind)
#943A5F
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #91229c; /* rgb */ color: rgb(145, 34, 156); /* oklch */ color: oklch(48.4% 0.199 324.0);
Tailwind
colors: {
custom: {
50: '#b56bba',
500: '#91229c',
950: '#000000',
},
}SCSS
$custom: #91229c; $custom-light: #b56bba; $custom-dark: #000000;
JSON
{
"hex": "#91229c",
"rgb": {
"r": 145,
"g": 34,
"b": 156
},
"hsl": {
"h": 294.59,
"s": 64.211,
"l": 37.255
},
"oklch": {
"l": 0.48366,
"c": 0.19913,
"h": 324
},
"luminance": 0.09564
}Semantic roles & 50–950 ramp
primary
#91229C
secondary
#63C05A
accent
#E74150
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#120712
muted
#817A81