#6A34C2#6A34C2
#6A34C2 is a mid, highly saturated violet. Relative luminance 0.094; OKLCH L 47.9% C 0.206 H 294.7°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).
Color values
| HEX | #6A34C2 |
|---|---|
| RGB | rgb(106, 52, 194) |
| HSL | hsl(263, 58%, 48%) |
| HSV | hsv(263, 73%, 76%) |
| CMYK | cmyk(45.4%, 73.2%, 0%, 23.9%) |
| CIE-LAB | lab(36.77, 53.74, -65.30) |
| CIE-LCH | lch(36.77, 84.57, 309.45°) |
| OKLab | oklab(47.9% 0.086 -0.1871) |
| OKLCH | oklch(47.9% 0.206 294.7) |
| XYZ | xyz(16.9068, 9.4147, 51.9549) |
| Luminance | 0.0941 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 3.29
Blurple
#5539CC
ΔE00 3.69
Purple Blue
#5D21D0
ΔE00 3.97
Blue With A Hint Of Purple
#533CC6
ΔE00 4.06
Burple
#6832E3
ΔE00 4.29
Purpley Blue
#5F34E7
ΔE00 5.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6A34C2 #8CC234
analogous
#3445C2 #6A34C2 #B134C2
triadic
#6A34C2 #C26A34 #34C26A
tetradic
#6A34C2 #C23445 #8CC234 #34C2B1
square
#6A34C2 #C23445 #8CC234 #34C2B1
split-complementary
#6A34C2 #C2B134 #45C234
monochromatic
#351A61 #502792 #6A34C2 #8C5FD4 #AE8FE1
Accessibility & contrast
On white
7.28
#6A34C2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.88
#6A34C2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6A34C2
7.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6A34C2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6A34C2 | 1.00 | 7.28 | 2.88 | 7.28 |
| #FFFFFF | 7.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0058C6
Deuteranopia (green-blind)
#0054BF
Tritanopia (blue-blind)
#515978
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #6a34c2; /* rgb */ color: rgb(106, 52, 194); /* oklch */ color: oklch(47.9% 0.206 294.7);
Tailwind
colors: {
custom: {
50: '#9c71d5',
500: '#6a34c2',
950: '#000000',
},
}SCSS
$custom: #6a34c2; $custom-light: #9c71d5; $custom-dark: #000000;
JSON
{
"hex": "#6a34c2",
"rgb": {
"r": 106,
"g": 52,
"b": 194
},
"hsl": {
"h": 262.817,
"s": 57.724,
"l": 48.235
},
"oklch": {
"l": 0.47895,
"c": 0.20588,
"h": 294.7
},
"luminance": 0.09415
}Semantic roles & 50–950 ramp
primary
#6A34C2
secondary
#B1CC86
accent
#E147A6
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#0F0814
muted
#7F7B83