#9F1F92#9F1F92
#9F1F92 is a mid, highly saturated purple. Relative luminance 0.104; OKLCH L 49.7% C 0.201 H 332.9°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).
Color values
| HEX | #9F1F92 |
|---|---|
| RGB | rgb(159, 31, 146) |
| HSL | hsl(306, 67%, 37%) |
| HSV | hsv(306, 81%, 62%) |
| CMYK | cmyk(0%, 80.5%, 8.2%, 37.6%) |
| CIE-LAB | lab(38.60, 61.93, -33.27) |
| CIE-LCH | lch(38.60, 70.31, 331.76°) |
| OKLab | oklab(49.74% 0.1788 -0.0915) |
| OKLCH | oklch(49.74% 0.201 332.9) |
| XYZ | xyz(19.9765, 10.4280, 28.1493) |
| Luminance | 0.1043 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Barney Purple
#A00498
ΔE00 2.13
Warm Purple
#952E8F
ΔE00 2.14
Darkmagenta
#8B008B
ΔE00 5.37
Ugly Purple
#A442A0
ΔE00 6.11
Medium Purple
#9E43A2
ΔE00 6.14
Barney
#AC1DB8
ΔE00 6.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F1F92 #1F9F2C
analogous
#6C1F9F #9F1F92 #9F1F52
triadic
#9F1F92 #929F1F #1F929F
tetradic
#9F1F92 #9F6C1F #1F9F2C #1F529F
square
#9F1F92 #9F6C1F #1F9F2C #1F529F
split-complementary
#9F1F92 #529F1F #1F9F6C
monochromatic
#390B34 #6C1563 #9F1F92 #D229C1 #DF5AD1
Accessibility & contrast
On white
6.81
#9F1F92 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.09
#9F1F92 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9F1F92
6.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F1F92 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F1F92 | 1.00 | 6.81 | 3.09 | 6.81 |
| #FFFFFF | 6.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#174F95
Deuteranopia (green-blind)
#4D618F
Tritanopia (blue-blind)
#A62F58
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #9f1f92; /* rgb */ color: rgb(159, 31, 146); /* oklch */ color: oklch(49.7% 0.201 332.9);
Tailwind
colors: {
custom: {
50: '#bf6bb2',
500: '#9f1f92',
950: '#000000',
},
}SCSS
$custom: #9f1f92; $custom-light: #bf6bb2; $custom-dark: #000000;
JSON
{
"hex": "#9f1f92",
"rgb": {
"r": 159,
"g": 31,
"b": 146
},
"hsl": {
"h": 306.094,
"s": 67.368,
"l": 37.255
},
"oklch": {
"l": 0.49743,
"c": 0.20081,
"h": 332.9
},
"luminance": 0.10426
}Semantic roles & 50–950 ramp
primary
#9F1F92
secondary
#57C362
accent
#EA4F3E
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130811
muted
#827A80