#6F31E2#6F31E2
#6F31E2 is a mid, highly saturated violet. Relative luminance 0.111; OKLCH L 50.9% C 0.243 H 291.0°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).
Color values
| HEX | #6F31E2 |
|---|---|
| RGB | rgb(111, 49, 226) |
| HSL | hsl(261, 75%, 54%) |
| HSV | hsv(261, 78%, 89%) |
| CMYK | cmyk(50.9%, 78.3%, 0%, 11.4%) |
| CIE-LAB | lab(39.69, 64.02, -78.98) |
| CIE-LCH | lch(39.69, 101.67, 309.03°) |
| OKLab | oklab(50.93% 0.087 -0.227) |
| OKLCH | oklch(50.93% 0.243 291) |
| XYZ | xyz(21.3774, 11.0662, 72.9464) |
| Luminance | 0.1107 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Burple
#6832E3
ΔE00 0.97
Bluish Purple
#703BE7
ΔE00 2.08
Purpley Blue
#5F34E7
ΔE00 2.19
Purply Blue
#661AEE
ΔE00 3.13
Purplish Blue
#601EF9
ΔE00 3.49
Purpleish Blue
#6140EF
ΔE00 3.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6F31E2 #A4E231
analogous
#314CE2 #6F31E2 #C831E2
triadic
#6F31E2 #E26F31 #31E26F
tetradic
#6F31E2 #E2314C #A4E231 #31E2C8
square
#6F31E2 #E2314C #A4E231 #31E2C8
split-complementary
#6F31E2 #E2C831 #4CE231
monochromatic
#3B1386 #531ABB #6F31E2 #9567EA #BA9CF1
Accessibility & contrast
On white
6.54
#6F31E2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.21
#6F31E2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6F31E2
6.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6F31E2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6F31E2 | 1.00 | 6.54 | 3.21 | 6.54 |
| #FFFFFF | 6.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0060E7
Deuteranopia (green-blind)
#005ADF
Tritanopia (blue-blind)
#46648A
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #6f31e2; /* rgb */ color: rgb(111, 49, 226); /* oklch */ color: oklch(50.9% 0.243 291.0);
Tailwind
colors: {
custom: {
50: '#a471ec',
500: '#6f31e2',
950: '#000000',
},
}SCSS
$custom: #6f31e2; $custom-light: #a471ec; $custom-dark: #000000;
JSON
{
"hex": "#6f31e2",
"rgb": {
"r": 111,
"g": 49,
"b": 226
},
"hsl": {
"h": 261.017,
"s": 75.319,
"l": 53.922
},
"oklch": {
"l": 0.50928,
"c": 0.24309,
"h": 291
},
"luminance": 0.11067
}Semantic roles & 50–950 ramp
primary
#6F31E2
secondary
#C3DD92
accent
#F236B0
background
#FAF7FE
surface
#F4EDFD
border
#CEC8D5
text
#100816
muted
#7F7B84