#6730C2#6730C2
#6730C2 is a mid, highly saturated violet. Relative luminance 0.089; OKLCH L 47.1% C 0.210 H 293.9°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).
Color values
| HEX | #6730C2 |
|---|---|
| RGB | rgb(103, 48, 194) |
| HSL | hsl(263, 60%, 47%) |
| HSV | hsv(263, 75%, 76%) |
| CMYK | cmyk(46.9%, 75.3%, 0%, 23.9%) |
| CIE-LAB | lab(35.78, 55.11, -66.94) |
| CIE-LCH | lch(35.78, 86.71, 309.46°) |
| OKLab | oklab(47.12% 0.085 -0.192) |
| OKLCH | oklch(47.12% 0.21 293.9) |
| XYZ | xyz(16.3854, 8.8920, 51.8815) |
| Luminance | 0.0889 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple Blue
#5D21D0
ΔE00 3.15
Blurple
#5539CC
ΔE00 3.61
Bluey Purple
#6241C7
ΔE00 3.87
Blue With A Hint Of Purple
#533CC6
ΔE00 4.06
Burple
#6832E3
ΔE00 4.43
Purpley Blue
#5F34E7
ΔE00 5.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6730C2 #8BC230
analogous
#3042C2 #6730C2 #B030C2
triadic
#6730C2 #C26730 #30C267
tetradic
#6730C2 #C23042 #8BC230 #30C2B0
square
#6730C2 #C23042 #8BC230 #30C2B0
split-complementary
#6730C2 #C2B030 #42C230
monochromatic
#331860 #4D2491 #6730C2 #8859D6 #AB8AE2
Accessibility & contrast
On white
7.56
#6730C2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.78
#6730C2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6730C2
7.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6730C2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6730C2 | 1.00 | 7.56 | 2.78 | 7.56 |
| #FFFFFF | 7.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0056C6
Deuteranopia (green-blind)
#0052BF
Tritanopia (blue-blind)
#4C5877
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #6730c2; /* rgb */ color: rgb(103, 48, 194); /* oklch */ color: oklch(47.1% 0.210 293.9);
Tailwind
colors: {
custom: {
50: '#9b6ed6',
500: '#6730c2',
950: '#000000',
},
}SCSS
$custom: #6730c2; $custom-light: #9b6ed6; $custom-dark: #000000;
JSON
{
"hex": "#6730c2",
"rgb": {
"r": 103,
"g": 48,
"b": 194
},
"hsl": {
"h": 262.603,
"s": 60.331,
"l": 47.451
},
"oklch": {
"l": 0.47116,
"c": 0.20994,
"h": 293.9
},
"luminance": 0.08893
}Semantic roles & 50–950 ramp
primary
#6730C2
secondary
#B0CC82
accent
#E344A8
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#0F0814
muted
#7F7B83