#7331AF#7331AF
#7331AF is a mid, vivid violet. Relative luminance 0.089; OKLCH L 47.0% C 0.190 H 303.8°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).
Color values
| HEX | #7331AF |
|---|---|
| RGB | rgb(115, 49, 175) |
| HSL | hsl(271, 56%, 44%) |
| HSV | hsv(271, 72%, 69%) |
| CMYK | cmyk(34.3%, 72%, 0%, 31.4%) |
| CIE-LAB | lab(35.86, 51.98, -55.52) |
| CIE-LCH | lch(35.86, 76.06, 313.12°) |
| OKLab | oklab(47.02% 0.1056 -0.158) |
| OKLCH | oklch(47.02% 0.19 303.8) |
| XYZ | xyz(15.9046, 8.9366, 41.4362) |
| Luminance | 0.0894 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 3.82
Purple (survey)
#7E1E9C
ΔE00 5.00
Bluey Purple
#6241C7
ΔE00 6.19
Purple Blue
#5D21D0
ΔE00 6.42
Darkviolet
#9400D3
ΔE00 6.85
Blurple
#5539CC
ΔE00 7.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7331AF #6DAF31
analogous
#3431AF #7331AF #AF31AC
triadic
#7331AF #AF7331 #31AF73
tetradic
#7331AF #AF3431 #6DAF31 #31ACAF
square
#7331AF #AF3431 #6DAF31 #31ACAF
split-complementary
#7331AF #ACAF31 #31AF34
monochromatic
#34164F #54247F #7331AF #924FCE #AF7FDB
Accessibility & contrast
On white
7.53
#7331AF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.79
#7331AF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7331AF
7.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7331AF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7331AF | 1.00 | 7.53 | 2.79 | 7.53 |
| #FFFFFF | 7.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0053B3
Deuteranopia (green-blind)
#0054AC
Tritanopia (blue-blind)
#674F6D
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #7331af; /* rgb */ color: rgb(115, 49, 175); /* oklch */ color: oklch(47.0% 0.190 303.8);
Tailwind
colors: {
custom: {
50: '#a06fc8',
500: '#7331af',
950: '#000000',
},
}SCSS
$custom: #7331af; $custom-light: #a06fc8; $custom-dark: #000000;
JSON
{
"hex": "#7331af",
"rgb": {
"r": 115,
"g": 49,
"b": 175
},
"hsl": {
"h": 271.429,
"s": 56.25,
"l": 43.922
},
"oklch": {
"l": 0.47023,
"c": 0.19003,
"h": 303.8
},
"luminance": 0.08937
}Semantic roles & 50–950 ramp
primary
#7331AF
secondary
#9CC478
accent
#E04890
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0813
muted
#7F7B82