#7431AF#7431AF
#7431AF is a mid, vivid violet. Relative luminance 0.090; OKLCH L 47.1% C 0.190 H 304.2°. Best body text is #FFFFFF at 7.50:1 contrast (WCAG AA passes).
Color values
| HEX | #7431AF |
|---|---|
| RGB | rgb(116, 49, 175) |
| HSL | hsl(272, 56%, 44%) |
| HSV | hsv(272, 72%, 69%) |
| CMYK | cmyk(33.7%, 72%, 0%, 31.4%) |
| CIE-LAB | lab(35.99, 52.18, -55.30) |
| CIE-LCH | lch(35.99, 76.03, 313.34°) |
| OKLab | oklab(47.15% 0.107 -0.1573) |
| OKLCH | oklch(47.15% 0.19 304.2) |
| XYZ | xyz(16.0369, 9.0048, 41.4424) |
| Luminance | 0.0901 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 3.90
Purple (survey)
#7E1E9C
ΔE00 4.91
Bluey Purple
#6241C7
ΔE00 6.29
Purple Blue
#5D21D0
ΔE00 6.55
Darkviolet
#9400D3
ΔE00 6.74
Blurple
#5539CC
ΔE00 7.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7431AF #6CAF31
analogous
#3531AF #7431AF #AF31AB
triadic
#7431AF #AF7431 #31AF74
tetradic
#7431AF #AF3531 #6CAF31 #31ABAF
square
#7431AF #AF3531 #6CAF31 #31ABAF
split-complementary
#7431AF #ABAF31 #31AF35
monochromatic
#35164F #54247F #7431AF #934FCE #B07FDB
Accessibility & contrast
On white
7.50
#7431AF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.80
#7431AF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7431AF
7.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7431AF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7431AF | 1.00 | 7.50 | 2.80 | 7.50 |
| #FFFFFF | 7.50 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.80 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.50 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0053B3
Deuteranopia (green-blind)
#0055AC
Tritanopia (blue-blind)
#694F6D
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #7431af; /* rgb */ color: rgb(116, 49, 175); /* oklch */ color: oklch(47.1% 0.190 304.2);
Tailwind
colors: {
custom: {
50: '#a16fc8',
500: '#7431af',
950: '#000000',
},
}SCSS
$custom: #7431af; $custom-light: #a16fc8; $custom-dark: #000000;
JSON
{
"hex": "#7431af",
"rgb": {
"r": 116,
"g": 49,
"b": 175
},
"hsl": {
"h": 271.905,
"s": 56.25,
"l": 43.922
},
"oklch": {
"l": 0.47145,
"c": 0.19025,
"h": 304.2
},
"luminance": 0.09005
}Semantic roles & 50–950 ramp
primary
#7431AF
secondary
#9BC478
accent
#E0488F
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0813
muted
#7F7B82