#6639C2#6639C2
#6639C2 is a mid, highly saturated violet. Relative luminance 0.096; OKLCH L 48.1% C 0.200 H 292.2°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).
Color values
| HEX | #6639C2 |
|---|---|
| RGB | rgb(102, 57, 194) |
| HSL | hsl(260, 55%, 49%) |
| HSV | hsv(260, 71%, 76%) |
| CMYK | cmyk(47.4%, 70.6%, 0%, 23.9%) |
| CIE-LAB | lab(37.20, 50.62, -64.62) |
| CIE-LCH | lch(37.20, 82.08, 308.07°) |
| OKLab | oklab(48.1% 0.0757 -0.1852) |
| OKLCH | oklch(48.1% 0.2 292.2) |
| XYZ | xyz(16.6775, 9.6455, 52.0115) |
| Luminance | 0.0965 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 2.16
Blurple
#5539CC
ΔE00 2.93
Blue With A Hint Of Purple
#533CC6
ΔE00 3.12
Burple
#6832E3
ΔE00 4.26
Purple Blue
#5D21D0
ΔE00 4.50
Purpley Blue
#5F34E7
ΔE00 4.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6639C2 #95C239
analogous
#3951C2 #6639C2 #AB39C2
triadic
#6639C2 #C26639 #39C266
tetradic
#6639C2 #C23951 #95C239 #39C2AB
square
#6639C2 #C23951 #95C239 #39C2AB
split-complementary
#6639C2 #C2AB39 #51C239
monochromatic
#341D63 #4D2B93 #6639C2 #8A66D2 #AE95E0
Accessibility & contrast
On white
7.17
#6639C2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.93
#6639C2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6639C2
7.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6639C2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6639C2 | 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)
#0059C6
Deuteranopia (green-blind)
#0055BF
Tritanopia (blue-blind)
#495C79
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #6639c2; /* rgb */ color: rgb(102, 57, 194); /* oklch */ color: oklch(48.1% 0.200 292.2);
Tailwind
colors: {
custom: {
50: '#9a73d5',
500: '#6639c2',
950: '#000000',
},
}SCSS
$custom: #6639c2; $custom-light: #9a73d5; $custom-dark: #000000;
JSON
{
"hex": "#6639c2",
"rgb": {
"r": 102,
"g": 57,
"b": 194
},
"hsl": {
"h": 259.708,
"s": 54.582,
"l": 49.216
},
"oklch": {
"l": 0.48096,
"c": 0.2001,
"h": 292.2
},
"luminance": 0.09646
}Semantic roles & 50–950 ramp
primary
#6639C2
secondary
#B6CB8B
accent
#DE4AAD
background
#FAF7FD
surface
#F3EDFA
border
#CDC8D3
text
#0F0814
muted
#7F7B83