#6738C3#6738C3
#6738C3 is a mid, highly saturated violet. Relative luminance 0.097; OKLCH L 48.2% C 0.202 H 292.6°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).
Color values
| HEX | #6738C3 |
|---|---|
| RGB | rgb(103, 56, 195) |
| HSL | hsl(260, 55%, 49%) |
| HSV | hsv(260, 71%, 76%) |
| CMYK | cmyk(47.2%, 71.3%, 0%, 23.5%) |
| CIE-LAB | lab(37.21, 51.56, -65.18) |
| CIE-LCH | lch(37.21, 83.11, 308.34°) |
| OKLab | oklab(48.16% 0.0778 -0.1869) |
| OKLCH | oklch(48.16% 0.202 292.6) |
| XYZ | xyz(16.8553, 9.6515, 52.5940) |
| Luminance | 0.0965 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 2.34
Blurple
#5539CC
ΔE00 3.02
Blue With A Hint Of Purple
#533CC6
ΔE00 3.29
Burple
#6832E3
ΔE00 4.10
Purple Blue
#5D21D0
ΔE00 4.34
Purpley Blue
#5F34E7
ΔE00 4.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6738C3 #94C338
analogous
#384FC3 #6738C3 #AD38C3
triadic
#6738C3 #C36738 #38C367
tetradic
#6738C3 #C3384F #94C338 #38C3AD
square
#6738C3 #C3384F #94C338 #38C3AD
split-complementary
#6738C3 #C3AD38 #4FC338
monochromatic
#351D64 #4E2A93 #6738C3 #8A65D3 #AE95E1
Accessibility & contrast
On white
7.17
#6738C3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.93
#6738C3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6738C3
7.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6738C3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6738C3 | 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)
#0059C7
Deuteranopia (green-blind)
#0055C0
Tritanopia (blue-blind)
#4B5C7A
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #6738c3; /* rgb */ color: rgb(103, 56, 195); /* oklch */ color: oklch(48.2% 0.202 292.6);
Tailwind
colors: {
custom: {
50: '#9b73d6',
500: '#6738c3',
950: '#000000',
},
}SCSS
$custom: #6738c3; $custom-light: #9b73d6; $custom-dark: #000000;
JSON
{
"hex": "#6738c3",
"rgb": {
"r": 103,
"g": 56,
"b": 195
},
"hsl": {
"h": 260.288,
"s": 55.378,
"l": 49.216
},
"oklch": {
"l": 0.48155,
"c": 0.20242,
"h": 292.6
},
"luminance": 0.09652
}Semantic roles & 50–950 ramp
primary
#6738C3
secondary
#B6CC8B
accent
#DF49AC
background
#FAF7FD
surface
#F3EDFA
border
#CDC8D3
text
#0F0814
muted
#7F7B83