#6731C0#6731C0
#6731C0 is a mid, highly saturated violet. Relative luminance 0.089; OKLCH L 47.1% C 0.207 H 294.2°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).
Color values
| HEX | #6731C0 |
|---|---|
| RGB | rgb(103, 49, 192) |
| HSL | hsl(263, 59%, 47%) |
| HSV | hsv(263, 74%, 75%) |
| CMYK | cmyk(46.4%, 74.5%, 0%, 24.7%) |
| CIE-LAB | lab(35.76, 54.13, -65.79) |
| CIE-LCH | lch(35.76, 85.20, 309.44°) |
| OKLab | oklab(47.05% 0.0846 -0.1886) |
| OKLCH | oklch(47.05% 0.207 294.2) |
| XYZ | xyz(16.2037, 8.8855, 50.7203) |
| Luminance | 0.0889 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple Blue
#5D21D0
ΔE00 3.42
Blurple
#5539CC
ΔE00 3.67
Bluey Purple
#6241C7
ΔE00 3.80
Blue With A Hint Of Purple
#533CC6
ΔE00 4.05
Burple
#6832E3
ΔE00 4.65
Purpley Blue
#5F34E7
ΔE00 5.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6731C0 #8AC031
analogous
#3143C0 #6731C0 #AE31C0
triadic
#6731C0 #C06731 #31C067
tetradic
#6731C0 #C03143 #8AC031 #31C0AE
square
#6731C0 #C03143 #8AC031 #31C0AE
split-complementary
#6731C0 #C0AE31 #43C031
monochromatic
#33185E #4D258F #6731C0 #8859D5 #AB8AE1
Accessibility & contrast
On white
7.56
#6731C0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.78
#6731C0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6731C0
7.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6731C0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6731C0 | 1.00 | 7.56 | 2.78 | 7.56 |
| #FFFFFF | 7.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0056C4
Deuteranopia (green-blind)
#0052BD
Tritanopia (blue-blind)
#4D5776
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #6731c0; /* rgb */ color: rgb(103, 49, 192); /* oklch */ color: oklch(47.1% 0.207 294.2);
Tailwind
colors: {
custom: {
50: '#9b6fd4',
500: '#6731c0',
950: '#000000',
},
}SCSS
$custom: #6731c0; $custom-light: #9b6fd4; $custom-dark: #000000;
JSON
{
"hex": "#6731c0",
"rgb": {
"r": 103,
"g": 49,
"b": 192
},
"hsl": {
"h": 262.657,
"s": 59.336,
"l": 47.255
},
"oklch": {
"l": 0.47054,
"c": 0.20672,
"h": 294.2
},
"luminance": 0.08886
}Semantic roles & 50–950 ramp
primary
#6731C0
secondary
#AFCB82
accent
#E345A7
background
#FAF6FD
surface
#F3ECFA
border
#CDC7D3
text
#0F0814
muted
#7F7B83