#73339B#73339B
#73339B is a mid, vivid violet. Relative luminance 0.084; OKLCH L 45.8% C 0.166 H 309.6°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).
Color values
| HEX | #73339B |
|---|---|
| RGB | rgb(115, 51, 155) |
| HSL | hsl(277, 50%, 40%) |
| HSV | hsv(277, 67%, 61%) |
| CMYK | cmyk(25.8%, 67.1%, 0%, 39.2%) |
| CIE-LAB | lab(34.76, 46.32, -45.28) |
| CIE-LCH | lch(34.76, 64.78, 315.65°) |
| OKLab | oklab(45.78% 0.106 -0.1279) |
| OKLCH | oklch(45.78% 0.166 309.6) |
| XYZ | xyz(14.1693, 8.3793, 31.8749) |
| Luminance | 0.0838 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 2.59
Purple (survey)
#7E1E9C
ΔE00 3.69
Darkmagenta
#8B008B
ΔE00 7.66
Royal Purple
#7851A9
ΔE00 7.84
Purply
#983FB2
ΔE00 8.16
Purple
#800080
ΔE00 8.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#73339B #5B9B33
analogous
#3F339B #73339B #9B338F
triadic
#73339B #9B7333 #339B73
tetradic
#73339B #9B3F33 #5B9B33 #338F9B
square
#73339B #9B3F33 #5B9B33 #338F9B
split-complementary
#73339B #8F9B33 #339B3F
monochromatic
#2F153F #51246D #73339B #9448C3 #AF76D2
Accessibility & contrast
On white
7.85
#73339B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.68
#73339B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #73339B
7.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##73339B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##73339B | 1.00 | 7.85 | 2.68 | 7.85 |
| #FFFFFF | 7.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004F9E
Deuteranopia (green-blind)
#235399
Tritanopia (blue-blind)
#6D4962
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #73339b; /* rgb */ color: rgb(115, 51, 155); /* oklch */ color: oklch(45.8% 0.166 309.6);
Tailwind
colors: {
custom: {
50: '#9f6fb9',
500: '#73339b',
950: '#000000',
},
}SCSS
$custom: #73339b; $custom-light: #9f6fb9; $custom-dark: #000000;
JSON
{
"hex": "#73339b",
"rgb": {
"r": 115,
"g": 51,
"b": 155
},
"hsl": {
"h": 276.923,
"s": 50.485,
"l": 40.392
},
"oklch": {
"l": 0.45781,
"c": 0.16613,
"h": 309.6
},
"luminance": 0.08379
}Semantic roles & 50–950 ramp
primary
#73339B
secondary
#8CBA6F
accent
#DA4E84
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0811
muted
#7F7B80