#6638BC#6638BC
#6638BC is a mid, vivid violet. Relative luminance 0.093; OKLCH L 47.5% C 0.194 H 293.6°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).
Color values
| HEX | #6638BC |
|---|---|
| RGB | rgb(102, 56, 188) |
| HSL | hsl(261, 54%, 48%) |
| HSV | hsv(261, 70%, 74%) |
| CMYK | cmyk(45.7%, 70.2%, 0%, 26.3%) |
| CIE-LAB | lab(36.52, 49.50, -62.20) |
| CIE-LCH | lch(36.52, 79.49, 308.51°) |
| OKLab | oklab(47.46% 0.0777 -0.1781) |
| OKLCH | oklch(47.46% 0.194 293.6) |
| XYZ | xyz(15.9683, 9.2835, 48.5178) |
| Luminance | 0.0928 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 2.84
Blurple
#5539CC
ΔE00 3.50
Blue With A Hint Of Purple
#533CC6
ΔE00 3.54
Purple Blue
#5D21D0
ΔE00 4.67
Ocean Blue
#4F42B5
ΔE00 4.82
Burple
#6832E3
ΔE00 5.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6638BC #8EBC38
analogous
#384CBC #6638BC #A838BC
triadic
#6638BC #BC6638 #38BC66
tetradic
#6638BC #BC384C #8EBC38 #38BCA8
square
#6638BC #BC384C #8EBC38 #38BCA8
split-complementary
#6638BC #BCA838 #4CBC38
monochromatic
#331C5E #4C2A8D #6638BC #8861D0 #AB90DE
Accessibility & contrast
On white
7.35
#6638BC on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.86
#6638BC on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6638BC
7.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6638BC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6638BC | 1.00 | 7.35 | 2.86 | 7.35 |
| #FFFFFF | 7.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0057C0
Deuteranopia (green-blind)
#0054B9
Tritanopia (blue-blind)
#4D5976
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #6638bc; /* rgb */ color: rgb(102, 56, 188); /* oklch */ color: oklch(47.5% 0.194 293.6);
Tailwind
colors: {
custom: {
50: '#9972d1',
500: '#6638bc',
950: '#000000',
},
}SCSS
$custom: #6638bc; $custom-light: #9972d1; $custom-dark: #000000;
JSON
{
"hex": "#6638bc",
"rgb": {
"r": 102,
"g": 56,
"b": 188
},
"hsl": {
"h": 260.909,
"s": 54.098,
"l": 47.843
},
"oklch": {
"l": 0.47464,
"c": 0.19435,
"h": 293.6
},
"luminance": 0.09284
}Semantic roles & 50–950 ramp
primary
#6638BC
secondary
#B2C987
accent
#DD4AAA
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0F0814
muted
#7E7B83