#6F31C4#6F31C4
#6F31C4 is a mid, highly saturated violet. Relative luminance 0.096; OKLCH L 48.3% C 0.212 H 296.8°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).
Color values
| HEX | #6F31C4 |
|---|---|
| RGB | rgb(111, 49, 196) |
| HSL | hsl(265, 60%, 48%) |
| HSV | hsv(265, 75%, 77%) |
| CMYK | cmyk(43.4%, 75%, 0%, 23.1%) |
| CIE-LAB | lab(37.04, 56.44, -66.00) |
| CIE-LCH | lch(37.04, 86.84, 310.53°) |
| OKLab | oklab(48.27% 0.0954 -0.1889) |
| OKLCH | oklch(48.27% 0.212 296.8) |
| XYZ | xyz(17.6150, 9.5613, 53.1313) |
| Luminance | 0.0956 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 4.00
Purple Blue
#5D21D0
ΔE00 4.03
Burple
#6832E3
ΔE00 4.25
Blurple
#5539CC
ΔE00 4.45
Blue With A Hint Of Purple
#533CC6
ΔE00 4.92
Purpley Blue
#5F34E7
ΔE00 5.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6F31C4 #86C431
analogous
#313DC4 #6F31C4 #B831C4
triadic
#6F31C4 #C46F31 #31C46F
tetradic
#6F31C4 #C4313D #86C431 #31C4B8
square
#6F31C4 #C4313D #86C431 #31C4B8
split-complementary
#6F31C4 #C4B831 #3DC431
monochromatic
#381962 #532593 #6F31C4 #905CD6 #B18DE2
Accessibility & contrast
On white
7.21
#6F31C4 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.91
#6F31C4 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6F31C4
7.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6F31C4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6F31C4 | 1.00 | 7.21 | 2.91 | 7.21 |
| #FFFFFF | 7.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0058C8
Deuteranopia (green-blind)
#0055C1
Tritanopia (blue-blind)
#585879
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #6f31c4; /* rgb */ color: rgb(111, 49, 196); /* oklch */ color: oklch(48.3% 0.212 296.8);
Tailwind
colors: {
custom: {
50: '#a06fd7',
500: '#6f31c4',
950: '#000000',
},
}SCSS
$custom: #6f31c4; $custom-light: #a06fd7; $custom-dark: #000000;
JSON
{
"hex": "#6f31c4",
"rgb": {
"r": 111,
"g": 49,
"b": 196
},
"hsl": {
"h": 265.306,
"s": 60,
"l": 48.039
},
"oklch": {
"l": 0.4827,
"c": 0.21165,
"h": 296.8
},
"luminance": 0.09562
}Semantic roles & 50–950 ramp
primary
#6F31C4
secondary
#AECD84
accent
#E345A0
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100815
muted
#7F7B83