#6629C2#6629C2
#6629C2 is a mid, highly saturated violet. Relative luminance 0.083; OKLCH L 46.3% C 0.217 H 294.2°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).
Color values
| HEX | #6629C2 |
|---|---|
| RGB | rgb(102, 41, 194) |
| HSL | hsl(264, 65%, 46%) |
| HSV | hsv(264, 79%, 76%) |
| CMYK | cmyk(47.4%, 78.9%, 0%, 23.9%) |
| CIE-LAB | lab(34.61, 57.97, -68.86) |
| CIE-LCH | lch(34.61, 90.01, 310.09°) |
| OKLab | oklab(46.28% 0.0889 -0.1976) |
| OKLCH | oklch(46.28% 0.217 294.2) |
| XYZ | xyz(16.0074, 8.3052, 51.7881) |
| Luminance | 0.0831 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple Blue
#5D21D0
ΔE00 2.39
Blurple
#5539CC
ΔE00 4.27
Violet Blue
#510AC9
ΔE00 4.74
Blue With A Hint Of Purple
#533CC6
ΔE00 4.81
Burple
#6832E3
ΔE00 4.93
Bluey Purple
#6241C7
ΔE00 5.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6629C2 #85C229
analogous
#2938C2 #6629C2 #B229C2
triadic
#6629C2 #C26629 #29C266
tetradic
#6629C2 #C22938 #85C229 #29C2B2
square
#6629C2 #C22938 #85C229 #29C2B2
split-complementary
#6629C2 #C2B229 #38C229
monochromatic
#31145D #4B1E8F #6629C2 #864EDA #A981E4
Accessibility & contrast
On white
7.89
#6629C2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.66
#6629C2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6629C2
7.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6629C2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6629C2 | 1.00 | 7.89 | 2.66 | 7.89 |
| #FFFFFF | 7.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0053C6
Deuteranopia (green-blind)
#004FBF
Tritanopia (blue-blind)
#4A5576
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #6629c2; /* rgb */ color: rgb(102, 41, 194); /* oklch */ color: oklch(46.3% 0.217 294.2);
Tailwind
colors: {
custom: {
50: '#9b6ad6',
500: '#6629c2',
950: '#000000',
},
}SCSS
$custom: #6629c2; $custom-light: #9b6ad6; $custom-dark: #000000;
JSON
{
"hex": "#6629c2",
"rgb": {
"r": 102,
"g": 41,
"b": 194
},
"hsl": {
"h": 263.922,
"s": 65.106,
"l": 46.078
},
"oklch": {
"l": 0.46276,
"c": 0.21664,
"h": 294.2
},
"luminance": 0.08306
}Semantic roles & 50–950 ramp
primary
#6629C2
secondary
#ACCD7A
accent
#E840A5
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#0F0714
muted
#7F7A83