#7A41B5#7A41B5
#7A41B5 is a mid, vivid violet. Relative luminance 0.113; OKLCH L 50.3% C 0.177 H 303.2°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).
Color values
| HEX | #7A41B5 |
|---|---|
| RGB | rgb(122, 65, 181) |
| HSL | hsl(269, 47%, 48%) |
| HSV | hsv(269, 64%, 71%) |
| CMYK | cmyk(32.6%, 64.1%, 0%, 29%) |
| CIE-LAB | lab(40.01, 47.08, -52.32) |
| CIE-LCH | lch(40.01, 70.38, 311.98°) |
| OKLab | oklab(50.32% 0.097 -0.1484) |
| OKLCH | oklch(50.32% 0.177 303.2) |
| XYZ | xyz(18.2549, 11.2544, 44.9177) |
| Luminance | 0.1125 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 4.81
Bluey Purple
#6241C7
ΔE00 5.52
Darkorchid
#9932CC
ΔE00 6.02
Rebeccapurple
#663399
ΔE00 6.19
Purply
#983FB2
ΔE00 6.21
Blueviolet
#8A2BE2
ΔE00 6.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A41B5 #7CB541
analogous
#4142B5 #7A41B5 #B441B5
triadic
#7A41B5 #B57A41 #41B57A
tetradic
#7A41B5 #B54142 #7CB541 #41B5B4
square
#7A41B5 #B54142 #7CB541 #41B5B4
split-complementary
#7A41B5 #B5B441 #42B541
monochromatic
#3D215B #5C3188 #7A41B5 #996AC9 #B897DA
Accessibility & contrast
On white
6.46
#7A41B5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.25
#7A41B5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7A41B5
6.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A41B5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7A41B5 | 1.00 | 6.46 | 3.25 | 6.46 |
| #FFFFFF | 6.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005DB9
Deuteranopia (green-blind)
#1C5EB2
Tritanopia (blue-blind)
#6F5A75
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #7a41b5; /* rgb */ color: rgb(122, 65, 181); /* oklch */ color: oklch(50.3% 0.177 303.2);
Tailwind
colors: {
custom: {
50: '#a579cc',
500: '#7a41b5',
950: '#000000',
},
}SCSS
$custom: #7a41b5; $custom-light: #a579cc; $custom-dark: #000000;
JSON
{
"hex": "#7a41b5",
"rgb": {
"r": 122,
"g": 65,
"b": 181
},
"hsl": {
"h": 269.483,
"s": 47.154,
"l": 48.235
},
"oklch": {
"l": 0.50321,
"c": 0.17731,
"h": 303.2
},
"luminance": 0.11254
}Semantic roles & 50–950 ramp
primary
#7A41B5
secondary
#A9C58C
accent
#D75195
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#100913
muted
#7F7B82