#6638C2#6638C2
#6638C2 is a mid, highly saturated violet. Relative luminance 0.095; OKLCH L 48.0% C 0.201 H 292.4°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).
Color values
| HEX | #6638C2 |
|---|---|
| RGB | rgb(102, 56, 194) |
| HSL | hsl(260, 55%, 49%) |
| HSV | hsv(260, 71%, 76%) |
| CMYK | cmyk(47.4%, 71.1%, 0%, 23.9%) |
| CIE-LAB | lab(37.02, 51.12, -64.92) |
| CIE-LCH | lch(37.02, 82.63, 308.22°) |
| OKLab | oklab(47.97% 0.0766 -0.1861) |
| OKLCH | oklch(47.97% 0.201 292.4) |
| XYZ | xyz(16.6286, 9.5476, 51.9952) |
| Luminance | 0.0955 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 2.35
Blurple
#5539CC
ΔE00 2.95
Blue With A Hint Of Purple
#533CC6
ΔE00 3.18
Burple
#6832E3
ΔE00 4.24
Purple Blue
#5D21D0
ΔE00 4.32
Purpley Blue
#5F34E7
ΔE00 4.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6638C2 #94C238
analogous
#384FC2 #6638C2 #AB38C2
triadic
#6638C2 #C26638 #38C266
tetradic
#6638C2 #C2384F #94C238 #38C2AB
square
#6638C2 #C2384F #94C238 #38C2AB
split-complementary
#6638C2 #C2AB38 #4FC238
monochromatic
#341D63 #4D2A93 #6638C2 #8965D2 #AE94E0
Accessibility & contrast
On white
7.22
#6638C2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.91
#6638C2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6638C2
7.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6638C2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6638C2 | 1.00 | 7.22 | 2.91 | 7.22 |
| #FFFFFF | 7.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0059C6
Deuteranopia (green-blind)
#0054BF
Tritanopia (blue-blind)
#495C79
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #6638c2; /* rgb */ color: rgb(102, 56, 194); /* oklch */ color: oklch(48.0% 0.201 292.4);
Tailwind
colors: {
custom: {
50: '#9a72d5',
500: '#6638c2',
950: '#000000',
},
}SCSS
$custom: #6638c2; $custom-light: #9a72d5; $custom-dark: #000000;
JSON
{
"hex": "#6638c2",
"rgb": {
"r": 102,
"g": 56,
"b": 194
},
"hsl": {
"h": 260,
"s": 55.2,
"l": 49.02
},
"oklch": {
"l": 0.47968,
"c": 0.20124,
"h": 292.4
},
"luminance": 0.09548
}Semantic roles & 50–950 ramp
primary
#6638C2
secondary
#B6CB8A
accent
#DF49AD
background
#FAF7FD
surface
#F3EDFA
border
#CDC8D3
text
#0F0814
muted
#7F7B83