#6729C2#6729C2
#6729C2 is a mid, highly saturated violet. Relative luminance 0.084; OKLCH L 46.4% C 0.217 H 294.7°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).
Color values
| HEX | #6729C2 |
|---|---|
| RGB | rgb(103, 41, 194) |
| HSL | hsl(264, 65%, 46%) |
| HSV | hsv(264, 79%, 76%) |
| CMYK | cmyk(46.9%, 78.9%, 0%, 23.9%) |
| CIE-LAB | lab(34.73, 58.11, -68.66) |
| CIE-LCH | lch(34.73, 89.95, 310.24°) |
| OKLab | oklab(46.39% 0.0904 -0.1969) |
| OKLCH | oklch(46.39% 0.217 294.7) |
| XYZ | xyz(16.1214, 8.3640, 51.7935) |
| Luminance | 0.0836 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple Blue
#5D21D0
ΔE00 2.49
Blurple
#5539CC
ΔE00 4.35
Violet Blue
#510AC9
ΔE00 4.85
Blue With A Hint Of Purple
#533CC6
ΔE00 4.89
Burple
#6832E3
ΔE00 4.92
Bluey Purple
#6241C7
ΔE00 5.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6729C2 #84C229
analogous
#2937C2 #6729C2 #B329C2
triadic
#6729C2 #C26729 #29C267
tetradic
#6729C2 #C22937 #84C229 #29C2B3
square
#6729C2 #C22937 #84C229 #29C2B3
split-complementary
#6729C2 #C2B329 #37C229
monochromatic
#31145D #4C1E8F #6729C2 #874EDA #A981E4
Accessibility & contrast
On white
7.86
#6729C2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.67
#6729C2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6729C2
7.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6729C2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6729C2 | 1.00 | 7.86 | 2.67 | 7.86 |
| #FFFFFF | 7.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0053C6
Deuteranopia (green-blind)
#004FBF
Tritanopia (blue-blind)
#4C5476
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #6729c2; /* rgb */ color: rgb(103, 41, 194); /* oklch */ color: oklch(46.4% 0.217 294.7);
Tailwind
colors: {
custom: {
50: '#9b6bd6',
500: '#6729c2',
950: '#000000',
},
}SCSS
$custom: #6729c2; $custom-light: #9b6bd6; $custom-dark: #000000;
JSON
{
"hex": "#6729c2",
"rgb": {
"r": 103,
"g": 41,
"b": 194
},
"hsl": {
"h": 264.314,
"s": 65.106,
"l": 46.078
},
"oklch": {
"l": 0.46385,
"c": 0.2167,
"h": 294.7
},
"luminance": 0.08364
}Semantic roles & 50–950 ramp
primary
#6729C2
secondary
#ABCD7A
accent
#E840A4
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#0F0714
muted
#7F7A83