#6631C8#6631C8
#6631C8 is a mid, highly saturated violet. Relative luminance 0.092; OKLCH L 47.7% C 0.215 H 292.1°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).
Color values
| HEX | #6631C8 |
|---|---|
| RGB | rgb(102, 49, 200) |
| HSL | hsl(261, 61%, 49%) |
| HSV | hsv(261, 76%, 78%) |
| CMYK | cmyk(49%, 75.5%, 0%, 21.6%) |
| CIE-LAB | lab(36.35, 56.07, -69.52) |
| CIE-LCH | lch(36.35, 89.31, 308.89°) |
| OKLab | oklab(47.65% 0.0811 -0.1995) |
| OKLCH | oklch(47.65% 0.215 292.1) |
| XYZ | xyz(17.0002, 9.1909, 55.5107) |
| Luminance | 0.0919 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple Blue
#5D21D0
ΔE00 2.93
Blurple
#5539CC
ΔE00 3.03
Bluey Purple
#6241C7
ΔE00 3.44
Burple
#6832E3
ΔE00 3.58
Blue With A Hint Of Purple
#533CC6
ΔE00 3.65
Purpley Blue
#5F34E7
ΔE00 4.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6631C8 #93C831
analogous
#3147C8 #6631C8 #B231C8
triadic
#6631C8 #C86631 #31C866
tetradic
#6631C8 #C83147 #93C831 #31C8B2
square
#6631C8 #C83147 #93C831 #31C8B2
split-complementary
#6631C8 #C8B231 #47C831
monochromatic
#341966 #4D2597 #6631C8 #895FD8 #AD90E4
Accessibility & contrast
On white
7.40
#6631C8 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.84
#6631C8 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6631C8
7.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6631C8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6631C8 | 1.00 | 7.40 | 2.84 | 7.40 |
| #FFFFFF | 7.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0058CC
Deuteranopia (green-blind)
#0052C5
Tritanopia (blue-blind)
#465A7B
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #6631c8; /* rgb */ color: rgb(102, 49, 200); /* oklch */ color: oklch(47.7% 0.215 292.1);
Tailwind
colors: {
custom: {
50: '#9b6fda',
500: '#6631c8',
950: '#000000',
},
}SCSS
$custom: #6631c8; $custom-light: #9b6fda; $custom-dark: #000000;
JSON
{
"hex": "#6631c8",
"rgb": {
"r": 102,
"g": 49,
"b": 200
},
"hsl": {
"h": 261.06,
"s": 60.643,
"l": 48.824
},
"oklch": {
"l": 0.47654,
"c": 0.21541,
"h": 292.1
},
"luminance": 0.09192
}Semantic roles & 50–950 ramp
primary
#6631C8
secondary
#B5CE86
accent
#E444AC
background
#FAF6FD
surface
#F4ECFB
border
#CEC7D4
text
#0F0815
muted
#7F7B83