#6730B6#6730B6
#6730B6 is a mid, vivid violet. Relative luminance 0.084; OKLCH L 46.1% C 0.197 H 296.5°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).
Color values
| HEX | #6730B6 |
|---|---|
| RGB | rgb(103, 48, 182) |
| HSL | hsl(265, 58%, 45%) |
| HSV | hsv(265, 74%, 71%) |
| CMYK | cmyk(43.4%, 73.6%, 0%, 28.6%) |
| CIE-LAB | lab(34.75, 52.00, -61.55) |
| CIE-LCH | lch(34.75, 80.57, 310.19°) |
| OKLab | oklab(46.08% 0.0879 -0.1761) |
| OKLCH | oklch(46.08% 0.197 296.5) |
| XYZ | xyz(15.0917, 8.3745, 45.0682) |
| Luminance | 0.0838 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple Blue
#5D21D0
ΔE00 4.26
Rebeccapurple
#663399
ΔE00 4.65
Bluey Purple
#6241C7
ΔE00 4.76
Blurple
#5539CC
ΔE00 4.76
Blue With A Hint Of Purple
#533CC6
ΔE00 4.91
Ocean Blue
#4F42B5
ΔE00 6.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6730B6 #7FB630
analogous
#303CB6 #6730B6 #AA30B6
triadic
#6730B6 #B66730 #30B667
tetradic
#6730B6 #B6303C #7FB630 #30B6AA
square
#6730B6 #B6303C #7FB630 #30B6AA
split-complementary
#6730B6 #B6AA30 #3CB630
monochromatic
#301655 #4C2386 #6730B6 #8652D1 #A882DE
Accessibility & contrast
On white
7.85
#6730B6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.68
#6730B6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6730B6
7.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6730B6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6730B6 | 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)
#0052BA
Deuteranopia (green-blind)
#0050B3
Tritanopia (blue-blind)
#525370
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #6730b6; /* rgb */ color: rgb(103, 48, 182); /* oklch */ color: oklch(46.1% 0.197 296.5);
Tailwind
colors: {
custom: {
50: '#996ecd',
500: '#6730b6',
950: '#000000',
},
}SCSS
$custom: #6730b6; $custom-light: #996ecd; $custom-dark: #000000;
JSON
{
"hex": "#6730b6",
"rgb": {
"r": 103,
"g": 48,
"b": 182
},
"hsl": {
"h": 264.627,
"s": 58.261,
"l": 45.098
},
"oklch": {
"l": 0.46079,
"c": 0.19685,
"h": 296.5
},
"luminance": 0.08375
}Semantic roles & 50–950 ramp
primary
#6730B6
secondary
#A8C77B
accent
#E146A2
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0F0714
muted
#7E7A82