#742AAF#742AAF
#742AAF is a mid, vivid violet. Relative luminance 0.085; OKLCH L 46.4% C 0.198 H 305.0°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).
Color values
| HEX | #742AAF |
|---|---|
| RGB | rgb(116, 42, 175) |
| HSL | hsl(273, 61%, 43%) |
| HSV | hsv(273, 76%, 69%) |
| CMYK | cmyk(33.7%, 76%, 0%, 31.4%) |
| CIE-LAB | lab(34.93, 55.20, -57.02) |
| CIE-LCH | lch(34.93, 79.36, 314.07°) |
| OKLab | oklab(46.39% 0.1137 -0.1623) |
| OKLCH | oklch(46.39% 0.198 305) |
| XYZ | xyz(15.7665, 8.4642, 41.3523) |
| Luminance | 0.0846 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 4.12
Purple (survey)
#7E1E9C
ΔE00 4.33
Purple Blue
#5D21D0
ΔE00 6.16
Darkviolet
#9400D3
ΔE00 6.49
Bluey Purple
#6241C7
ΔE00 7.01
Blurple
#5539CC
ΔE00 7.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#742AAF #65AF2A
analogous
#312AAF #742AAF #AF2AA8
triadic
#742AAF #AF742A #2AAF74
tetradic
#742AAF #AF312A #65AF2A #2AA8AF
square
#742AAF #AF312A #65AF2A #2AA8AF
split-complementary
#742AAF #A8AF2A #2AAF31
monochromatic
#33124C #531E7E #742AAF #9344D2 #B075DE
Accessibility & contrast
On white
7.80
#742AAF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.69
#742AAF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #742AAF
7.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##742AAF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##742AAF | 1.00 | 7.80 | 2.69 | 7.80 |
| #FFFFFF | 7.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0050B3
Deuteranopia (green-blind)
#0052AC
Tritanopia (blue-blind)
#694B6B
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #742aaf; /* rgb */ color: rgb(116, 42, 175); /* oklch */ color: oklch(46.4% 0.198 305.0);
Tailwind
colors: {
custom: {
50: '#a16bc8',
500: '#742aaf',
950: '#000000',
},
}SCSS
$custom: #742aaf; $custom-light: #a16bc8; $custom-dark: #000000;
JSON
{
"hex": "#742aaf",
"rgb": {
"r": 116,
"g": 42,
"b": 175
},
"hsl": {
"h": 273.383,
"s": 61.29,
"l": 42.549
},
"oklch": {
"l": 0.46394,
"c": 0.19818,
"h": 305
},
"luminance": 0.08464
}Semantic roles & 50–950 ramp
primary
#742AAF
secondary
#96C66F
accent
#E4438B
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82