#6F34C7#6F34C7
#6F34C7 is a mid, highly saturated violet. Relative luminance 0.100; OKLCH L 48.9% C 0.212 H 295.8°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).
Color values
| HEX | #6F34C7 |
|---|---|
| RGB | rgb(111, 52, 199) |
| HSL | hsl(264, 59%, 49%) |
| HSV | hsv(264, 74%, 78%) |
| CMYK | cmyk(44.2%, 73.9%, 0%, 22%) |
| CIE-LAB | lab(37.77, 55.85, -66.57) |
| CIE-LCH | lch(37.77, 86.89, 310.00°) |
| OKLab | oklab(48.86% 0.0921 -0.1906) |
| OKLCH | oklch(48.86% 0.212 295.8) |
| XYZ | xyz(18.0896, 9.9586, 54.9909) |
| Luminance | 0.0996 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 3.45
Burple
#6832E3
ΔE00 3.75
Blurple
#5539CC
ΔE00 4.15
Purple Blue
#5D21D0
ΔE00 4.30
Blue With A Hint Of Purple
#533CC6
ΔE00 4.64
Purpley Blue
#5F34E7
ΔE00 4.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6F34C7 #8CC734
analogous
#3442C7 #6F34C7 #B934C7
triadic
#6F34C7 #C76F34 #34C76F
tetradic
#6F34C7 #C73442 #8CC734 #34C7B9
square
#6F34C7 #C73442 #8CC734 #34C7B9
split-complementary
#6F34C7 #C7B934 #42C734
monochromatic
#391B66 #542796 #6F34C7 #9162D6 #B393E3
Accessibility & contrast
On white
7.02
#6F34C7 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.99
#6F34C7 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6F34C7
7.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6F34C7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6F34C7 | 1.00 | 7.02 | 2.99 | 7.02 |
| #FFFFFF | 7.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005ACB
Deuteranopia (green-blind)
#0057C4
Tritanopia (blue-blind)
#575B7B
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #6f34c7; /* rgb */ color: rgb(111, 52, 199); /* oklch */ color: oklch(48.9% 0.212 295.8);
Tailwind
colors: {
custom: {
50: '#a071d9',
500: '#6f34c7',
950: '#000000',
},
}SCSS
$custom: #6f34c7; $custom-light: #a071d9; $custom-dark: #000000;
JSON
{
"hex": "#6f34c7",
"rgb": {
"r": 111,
"g": 52,
"b": 199
},
"hsl": {
"h": 264.082,
"s": 58.566,
"l": 49.216
},
"oklch": {
"l": 0.48858,
"c": 0.21169,
"h": 295.8
},
"luminance": 0.09959
}Semantic roles & 50–950 ramp
primary
#6F34C7
secondary
#B2CE89
accent
#E246A3
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100815
muted
#7F7B83