#7331C0#7331C0
#7331C0 is a mid, highly saturated violet. Relative luminance 0.096; OKLCH L 48.4% C 0.208 H 299.4°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).
Color values
| HEX | #7331C0 |
|---|---|
| RGB | rgb(115, 49, 192) |
| HSL | hsl(268, 59%, 47%) |
| HSV | hsv(268, 74%, 75%) |
| CMYK | cmyk(40.1%, 74.5%, 0%, 24.7%) |
| CIE-LAB | lab(37.20, 56.11, -63.38) |
| CIE-LCH | lch(37.20, 84.65, 311.52°) |
| OKLab | oklab(48.39% 0.1021 -0.1811) |
| OKLCH | oklch(48.39% 0.208 299.4) |
| XYZ | xyz(17.6806, 9.6470, 50.7895) |
| Luminance | 0.0965 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 4.58
Purple Blue
#5D21D0
ΔE00 4.78
Burple
#6832E3
ΔE00 5.02
Blurple
#5539CC
ΔE00 5.30
Blueviolet
#8A2BE2
ΔE00 5.58
Blue With A Hint Of Purple
#533CC6
ΔE00 5.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7331C0 #7EC031
analogous
#3137C0 #7331C0 #BA31C0
triadic
#7331C0 #C07331 #31C073
tetradic
#7331C0 #C03137 #7EC031 #31C0BA
square
#7331C0 #C03137 #7EC031 #31C0BA
split-complementary
#7331C0 #C0BA31 #37C031
monochromatic
#39185E #56258F #7331C0 #9259D5 #B28AE1
Accessibility & contrast
On white
7.17
#7331C0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.93
#7331C0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7331C0
7.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7331C0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7331C0 | 1.00 | 7.17 | 2.93 | 7.17 |
| #FFFFFF | 7.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0057C4
Deuteranopia (green-blind)
#0056BD
Tritanopia (blue-blind)
#615676
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #7331c0; /* rgb */ color: rgb(115, 49, 192); /* oklch */ color: oklch(48.4% 0.208 299.4);
Tailwind
colors: {
custom: {
50: '#a270d4',
500: '#7331c0',
950: '#000000',
},
}SCSS
$custom: #7331c0; $custom-light: #a270d4; $custom-dark: #000000;
JSON
{
"hex": "#7331c0",
"rgb": {
"r": 115,
"g": 49,
"b": 192
},
"hsl": {
"h": 267.692,
"s": 59.336,
"l": 47.255
},
"oklch": {
"l": 0.48387,
"c": 0.2079,
"h": 299.4
},
"luminance": 0.09647
}Semantic roles & 50–950 ramp
primary
#7331C0
secondary
#A9CB82
accent
#E3459A
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83