#6F34C2#6F34C2
#6F34C2 is a mid, highly saturated violet. Relative luminance 0.097; OKLCH L 48.4% C 0.206 H 296.9°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).
Color values
| HEX | #6F34C2 |
|---|---|
| RGB | rgb(111, 52, 194) |
| HSL | hsl(265, 58%, 48%) |
| HSV | hsv(265, 73%, 76%) |
| CMYK | cmyk(42.8%, 73.2%, 0%, 23.9%) |
| CIE-LAB | lab(37.35, 54.58, -64.33) |
| CIE-LCH | lch(37.35, 84.36, 310.31°) |
| OKLab | oklab(48.44% 0.0932 -0.184) |
| OKLCH | oklch(48.44% 0.206 296.9) |
| XYZ | xyz(17.5186, 9.7302, 51.9836) |
| Luminance | 0.0973 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 3.67
Blurple
#5539CC
ΔE00 4.43
Burple
#6832E3
ΔE00 4.44
Purple Blue
#5D21D0
ΔE00 4.50
Blue With A Hint Of Purple
#533CC6
ΔE00 4.81
Purpley Blue
#5F34E7
ΔE00 5.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6F34C2 #87C234
analogous
#3440C2 #6F34C2 #B634C2
triadic
#6F34C2 #C26F34 #34C26F
tetradic
#6F34C2 #C23440 #87C234 #34C2B6
square
#6F34C2 #C23440 #87C234 #34C2B6
split-complementary
#6F34C2 #C2B634 #40C234
monochromatic
#381A61 #532792 #6F34C2 #905FD4 #B18FE1
Accessibility & contrast
On white
7.13
#6F34C2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.95
#6F34C2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6F34C2
7.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6F34C2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6F34C2 | 1.00 | 7.13 | 2.95 | 7.13 |
| #FFFFFF | 7.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0058C6
Deuteranopia (green-blind)
#0056BF
Tritanopia (blue-blind)
#595978
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #6f34c2; /* rgb */ color: rgb(111, 52, 194); /* oklch */ color: oklch(48.4% 0.206 296.9);
Tailwind
colors: {
custom: {
50: '#a071d5',
500: '#6f34c2',
950: '#000000',
},
}SCSS
$custom: #6f34c2; $custom-light: #a071d5; $custom-dark: #000000;
JSON
{
"hex": "#6f34c2",
"rgb": {
"r": 111,
"g": 52,
"b": 194
},
"hsl": {
"h": 264.93,
"s": 57.724,
"l": 48.235
},
"oklch": {
"l": 0.48438,
"c": 0.20629,
"h": 296.9
},
"luminance": 0.09731
}Semantic roles & 50–950 ramp
primary
#6F34C2
secondary
#AFCC86
accent
#E147A1
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#0F0814
muted
#7F7B83