#6F31C9#6F31C9
#6F31C9 is a mid, highly saturated violet. Relative luminance 0.098; OKLCH L 48.7% C 0.217 H 295.7°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).
Color values
| HEX | #6F31C9 |
|---|---|
| RGB | rgb(111, 49, 201) |
| HSL | hsl(264, 61%, 49%) |
| HSV | hsv(264, 76%, 79%) |
| CMYK | cmyk(44.8%, 75.6%, 0%, 21.2%) |
| CIE-LAB | lab(37.47, 57.69, -68.22) |
| CIE-LCH | lch(37.47, 89.35, 310.22°) |
| OKLab | oklab(48.7% 0.0941 -0.1955) |
| OKLCH | oklch(48.7% 0.217 295.7) |
| XYZ | xyz(18.1936, 9.7927, 56.1786) |
| Luminance | 0.0979 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Burple
#6832E3
ΔE00 3.57
Bluey Purple
#6241C7
ΔE00 3.83
Purple Blue
#5D21D0
ΔE00 3.87
Blurple
#5539CC
ΔE00 4.21
Purpley Blue
#5F34E7
ΔE00 4.51
Bluish Purple
#703BE7
ΔE00 4.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6F31C9 #8BC931
analogous
#313FC9 #6F31C9 #BB31C9
triadic
#6F31C9 #C96F31 #31C96F
tetradic
#6F31C9 #C9313F #8BC931 #31C9BB
square
#6F31C9 #C9313F #8BC931 #31C9BB
split-complementary
#6F31C9 #C9BB31 #3FC931
monochromatic
#391967 #542598 #6F31C9 #905FD8 #B290E4
Accessibility & contrast
On white
7.10
#6F31C9 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.96
#6F31C9 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6F31C9
7.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6F31C9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6F31C9 | 1.00 | 7.10 | 2.96 | 7.10 |
| #FFFFFF | 7.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0059CD
Deuteranopia (green-blind)
#0056C6
Tritanopia (blue-blind)
#565A7B
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #6f31c9; /* rgb */ color: rgb(111, 49, 201); /* oklch */ color: oklch(48.7% 0.217 295.7);
Tailwind
colors: {
custom: {
50: '#a070db',
500: '#6f31c9',
950: '#000000',
},
}SCSS
$custom: #6f31c9; $custom-light: #a070db; $custom-dark: #000000;
JSON
{
"hex": "#6f31c9",
"rgb": {
"r": 111,
"g": 49,
"b": 201
},
"hsl": {
"h": 264.474,
"s": 60.8,
"l": 49.02
},
"oklch": {
"l": 0.48699,
"c": 0.21693,
"h": 295.7
},
"luminance": 0.09793
}Semantic roles & 50–950 ramp
primary
#6F31C9
secondary
#B1CF87
accent
#E444A3
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100815
muted
#7F7B83