#74309F#74309F
#74309F is a mid, vivid violet. Relative luminance 0.083; OKLCH L 45.8% C 0.175 H 309.2°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).
Color values
| HEX | #74309F |
|---|---|
| RGB | rgb(116, 48, 159) |
| HSL | hsl(277, 54%, 41%) |
| HSV | hsv(277, 70%, 62%) |
| CMYK | cmyk(27%, 69.8%, 0%, 37.6%) |
| CIE-LAB | lab(34.66, 48.90, -47.85) |
| CIE-LCH | lch(34.66, 68.42, 315.62°) |
| OKLab | oklab(45.83% 0.1104 -0.1354) |
| OKLCH | oklch(45.83% 0.175 309.2) |
| XYZ | xyz(14.5162, 8.3304, 33.6374) |
| Luminance | 0.0833 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 2.73
Purple (survey)
#7E1E9C
ΔE00 3.25
Darkmagenta
#8B008B
ΔE00 7.59
Purply
#983FB2
ΔE00 8.17
Purple
#800080
ΔE00 8.20
Royal Purple
#7851A9
ΔE00 8.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#74309F #5B9F30
analogous
#3D309F #74309F #9F3092
triadic
#74309F #9F7430 #309F74
tetradic
#74309F #9F3D30 #5B9F30 #30929F
square
#74309F #9F3D30 #5B9F30 #30929F
split-complementary
#74309F #929F30 #309F3D
monochromatic
#2F1441 #522270 #74309F #9545C7 #B074D5
Accessibility & contrast
On white
7.88
#74309F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.67
#74309F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #74309F
7.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##74309F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##74309F | 1.00 | 7.88 | 2.67 | 7.88 |
| #FFFFFF | 7.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004FA2
Deuteranopia (green-blind)
#1A529D
Tritanopia (blue-blind)
#6E4864
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #74309f; /* rgb */ color: rgb(116, 48, 159); /* oklch */ color: oklch(45.8% 0.175 309.2);
Tailwind
colors: {
custom: {
50: '#a06ebc',
500: '#74309f',
950: '#000000',
},
}SCSS
$custom: #74309f; $custom-light: #a06ebc; $custom-dark: #000000;
JSON
{
"hex": "#74309f",
"rgb": {
"r": 116,
"g": 48,
"b": 159
},
"hsl": {
"h": 276.757,
"s": 53.623,
"l": 40.588
},
"oklch": {
"l": 0.45827,
"c": 0.17472,
"h": 309.2
},
"luminance": 0.0833
}Semantic roles & 50–950 ramp
primary
#74309F
secondary
#8CBD6E
accent
#DD4B83
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0712
muted
#7F7A81