#6931C2#6931C2
#6931C2 is a mid, highly saturated violet. Relative luminance 0.091; OKLCH L 47.4% C 0.209 H 294.6°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).
Color values
| HEX | #6931C2 |
|---|---|
| RGB | rgb(105, 49, 194) |
| HSL | hsl(263, 60%, 48%) |
| HSV | hsv(263, 75%, 76%) |
| CMYK | cmyk(45.9%, 74.7%, 0%, 23.9%) |
| CIE-LAB | lab(36.17, 54.96, -66.30) |
| CIE-LCH | lch(36.17, 86.12, 309.66°) |
| OKLab | oklab(47.44% 0.0871 -0.19) |
| OKLCH | oklch(47.44% 0.209 294.6) |
| XYZ | xyz(16.6590, 9.0945, 51.9062) |
| Luminance | 0.0910 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple Blue
#5D21D0
ΔE00 3.46
Bluey Purple
#6241C7
ΔE00 3.76
Blurple
#5539CC
ΔE00 3.76
Blue With A Hint Of Purple
#533CC6
ΔE00 4.20
Burple
#6832E3
ΔE00 4.38
Purpley Blue
#5F34E7
ΔE00 5.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6931C2 #8AC231
analogous
#3142C2 #6931C2 #B131C2
triadic
#6931C2 #C26931 #31C269
tetradic
#6931C2 #C23142 #8AC231 #31C2B1
square
#6931C2 #C23142 #8AC231 #31C2B1
split-complementary
#6931C2 #C2B131 #42C231
monochromatic
#341860 #4F2591 #6931C2 #8A5BD6 #AD8CE2
Accessibility & contrast
On white
7.45
#6931C2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.82
#6931C2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6931C2
7.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6931C2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6931C2 | 1.00 | 7.45 | 2.82 | 7.45 |
| #FFFFFF | 7.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.82 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0056C6
Deuteranopia (green-blind)
#0053BF
Tritanopia (blue-blind)
#4F5877
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #6931c2; /* rgb */ color: rgb(105, 49, 194); /* oklch */ color: oklch(47.4% 0.209 294.6);
Tailwind
colors: {
custom: {
50: '#9c6fd6',
500: '#6931c2',
950: '#000000',
},
}SCSS
$custom: #6931c2; $custom-light: #9c6fd6; $custom-dark: #000000;
JSON
{
"hex": "#6931c2",
"rgb": {
"r": 105,
"g": 49,
"b": 194
},
"hsl": {
"h": 263.172,
"s": 59.671,
"l": 47.647
},
"oklch": {
"l": 0.47442,
"c": 0.20901,
"h": 294.6
},
"luminance": 0.09095
}Semantic roles & 50–950 ramp
primary
#6931C2
secondary
#B0CC83
accent
#E345A6
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#0F0814
muted
#7F7B83