#6F3CA2#6F3CA2
#6F3CA2 is a mid, vivid violet. Relative luminance 0.092; OKLCH L 47.0% C 0.160 H 303.9°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).
Color values
| HEX | #6F3CA2 |
|---|---|
| RGB | rgb(111, 60, 162) |
| HSL | hsl(270, 46%, 44%) |
| HSV | hsv(270, 63%, 64%) |
| CMYK | cmyk(31.5%, 63%, 0%, 36.5%) |
| CIE-LAB | lab(36.40, 42.46, -46.89) |
| CIE-LCH | lch(36.40, 63.25, 312.16°) |
| OKLab | oklab(47.01% 0.0892 -0.1328) |
| OKLCH | oklch(47.01% 0.16 303.9) |
| XYZ | xyz(14.6915, 9.2199, 35.1810) |
| Luminance | 0.0922 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 2.87
Royal Purple
#7851A9
ΔE00 5.87
Purple (survey)
#7E1E9C
ΔE00 6.04
Bluey Purple
#6241C7
ΔE00 6.83
Ocean Blue
#4F42B5
ΔE00 7.54
Blue With A Hint Of Purple
#533CC6
ΔE00 7.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6F3CA2 #6FA23C
analogous
#3C3CA2 #6F3CA2 #A23CA2
triadic
#6F3CA2 #A26F3C #3CA26F
tetradic
#6F3CA2 #A23C3C #6FA23C #3CA2A2
square
#6F3CA2 #A23C3C #6FA23C #3CA2A2
split-complementary
#6F3CA2 #A2A23C #3CA23C
monochromatic
#321B49 #502B75 #6F3CA2 #8E59C2 #AC86D2
Accessibility & contrast
On white
7.38
#6F3CA2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.84
#6F3CA2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6F3CA2
7.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6F3CA2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6F3CA2 | 1.00 | 7.38 | 2.84 | 7.38 |
| #FFFFFF | 7.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0054A5
Deuteranopia (green-blind)
#2156A0
Tritanopia (blue-blind)
#665169
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #6f3ca2; /* rgb */ color: rgb(111, 60, 162); /* oklch */ color: oklch(47.0% 0.160 303.9);
Tailwind
colors: {
custom: {
50: '#9c75be',
500: '#6f3ca2',
950: '#000000',
},
}SCSS
$custom: #6f3ca2; $custom-light: #9c75be; $custom-dark: #000000;
JSON
{
"hex": "#6f3ca2",
"rgb": {
"r": 111,
"g": 60,
"b": 162
},
"hsl": {
"h": 270,
"s": 45.946,
"l": 43.529
},
"oklch": {
"l": 0.47006,
"c": 0.15997,
"h": 303.9
},
"luminance": 0.0922
}Semantic roles & 50–950 ramp
primary
#6F3CA2
secondary
#9DBC7D
accent
#D65294
background
#F9F7FB
surface
#F2EDF7
border
#CCC8D0
text
#0F0812
muted
#7E7B81