#742872#742872
#742872 is a dark, vivid purple. Relative luminance 0.064; OKLCH L 41.9% C 0.142 H 328.8°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).
Color values
| HEX | #742872 |
|---|---|
| RGB | rgb(116, 40, 114) |
| HSL | hsl(302, 49%, 31%) |
| HSV | hsv(302, 66%, 45%) |
| CMYK | cmyk(0%, 65.5%, 1.7%, 54.5%) |
| CIE-LAB | lab(30.51, 43.17, -26.61) |
| CIE-LCH | lch(30.51, 50.71, 328.35°) |
| OKLab | oklab(41.93% 0.1212 -0.0733) |
| OKLCH | oklch(41.93% 0.142 328.8) |
| XYZ | xyz(10.9984, 6.4462, 16.5813) |
| Luminance | 0.0644 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Darkish Purple
#751973
ΔE00 2.51
Purple
#800080
ΔE00 5.06
Grape
#6C3461
ΔE00 5.74
Darkmagenta
#8B008B
ΔE00 6.24
Rich Purple
#720058
ΔE00 6.66
Bruise
#7E4071
ΔE00 6.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#742872 #28742A
analogous
#502874 #742872 #74284C
triadic
#742872 #727428 #287274
tetradic
#742872 #745028 #28742A #284C74
square
#742872 #745028 #28742A #284C74
split-complementary
#742872 #4C7428 #287450
monochromatic
#190919 #461845 #742872 #A2389F #C453C1
Accessibility & contrast
On white
9.17
#742872 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.29
#742872 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #742872
9.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##742872 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##742872 | 1.00 | 9.17 | 2.29 | 9.17 |
| #FFFFFF | 9.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#204174
Deuteranopia (green-blind)
#3B4B70
Tritanopia (blue-blind)
#783149
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #742872; /* rgb */ color: rgb(116, 40, 114); /* oklch */ color: oklch(41.9% 0.142 328.8);
Tailwind
colors: {
custom: {
50: '#9f689b',
500: '#742872',
950: '#000000',
},
}SCSS
$custom: #742872; $custom-light: #9f689b; $custom-dark: #000000;
JSON
{
"hex": "#742872",
"rgb": {
"r": 116,
"g": 40,
"b": 114
},
"hsl": {
"h": 301.579,
"s": 48.718,
"l": 30.588
},
"oklch": {
"l": 0.4193,
"c": 0.14162,
"h": 328.8
},
"luminance": 0.06445
}Semantic roles & 50–950 ramp
primary
#742872
secondary
#52A654
accent
#D85350
background
#FAF6F9
surface
#F3EBF2
border
#CDC6CC
text
#0F060E
muted
#7F7A7E