#74309B#74309B
#74309B is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.5% C 0.171 H 310.5°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).
Color values
| HEX | #74309B |
|---|---|
| RGB | rgb(116, 48, 155) |
| HSL | hsl(278, 53%, 40%) |
| HSV | hsv(278, 69%, 61%) |
| CMYK | cmyk(25.2%, 69%, 0%, 39.2%) |
| CIE-LAB | lab(34.38, 47.98, -45.88) |
| CIE-LCH | lch(34.38, 66.39, 316.28°) |
| OKLab | oklab(45.54% 0.1108 -0.1296) |
| OKLCH | oklch(45.54% 0.171 310.5) |
| XYZ | xyz(14.1747, 8.1938, 31.8388) |
| Luminance | 0.0819 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 2.81
Purple (survey)
#7E1E9C
ΔE00 3.09
Darkmagenta
#8B008B
ΔE00 7.18
Purple
#800080
ΔE00 7.71
Warm Purple
#952E8F
ΔE00 8.12
Purply
#983FB2
ΔE00 8.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#74309B #579B30
analogous
#3F309B #74309B #9B308C
triadic
#74309B #9B7430 #309B74
tetradic
#74309B #9B3F30 #579B30 #308C9B
square
#74309B #9B3F30 #579B30 #308C9B
split-complementary
#74309B #8C9B30 #309B3F
monochromatic
#2E133E #51226C #74309B #9643C5 #B072D3
Accessibility & contrast
On white
7.96
#74309B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.64
#74309B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #74309B
7.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##74309B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##74309B | 1.00 | 7.96 | 2.64 | 7.96 |
| #FFFFFF | 7.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004E9E
Deuteranopia (green-blind)
#215299
Tritanopia (blue-blind)
#6F4762
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #74309b; /* rgb */ color: rgb(116, 48, 155); /* oklch */ color: oklch(45.5% 0.171 310.5);
Tailwind
colors: {
custom: {
50: '#a06eb9',
500: '#74309b',
950: '#000000',
},
}SCSS
$custom: #74309b; $custom-light: #a06eb9; $custom-dark: #000000;
JSON
{
"hex": "#74309b",
"rgb": {
"r": 116,
"g": 48,
"b": 155
},
"hsl": {
"h": 278.131,
"s": 52.709,
"l": 39.804
},
"oklch": {
"l": 0.45539,
"c": 0.17054,
"h": 310.5
},
"luminance": 0.08193
}Semantic roles & 50–950 ramp
primary
#74309B
secondary
#89BB6C
accent
#DC4C80
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0711
muted
#7F7A80