#6F3795#6F3795
#6F3795 is a mid, vivid violet. Relative luminance 0.083; OKLCH L 45.4% C 0.152 H 309.0°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).
Color values
| HEX | #6F3795 |
|---|---|
| RGB | rgb(111, 55, 149) |
| HSL | hsl(276, 46%, 40%) |
| HSV | hsv(276, 63%, 58%) |
| CMYK | cmyk(25.5%, 63.1%, 0%, 41.6%) |
| CIE-LAB | lab(34.56, 41.93, -41.98) |
| CIE-LCH | lch(34.56, 59.33, 314.97°) |
| OKLab | oklab(45.4% 0.096 -0.1184) |
| OKLCH | oklch(45.4% 0.152 309) |
| XYZ | xyz(13.3455, 8.2820, 29.3235) |
| Luminance | 0.0828 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 2.50
Purple (survey)
#7E1E9C
ΔE00 4.86
Royal Purple
#7851A9
ΔE00 7.45
Darkmagenta
#8B008B
ΔE00 8.32
Warm Purple
#952E8F
ΔE00 8.54
Purple
#800080
ΔE00 8.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6F3795 #5D9537
analogous
#403795 #6F3795 #95378C
triadic
#6F3795 #956F37 #37956F
tetradic
#6F3795 #954037 #5D9537 #378C95
square
#6F3795 #954037 #5D9537 #378C95
split-complementary
#6F3795 #8C9537 #379540
monochromatic
#2C163C #4E2768 #6F3795 #8F4CBD #AB79CD
Accessibility & contrast
On white
7.91
#6F3795 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.66
#6F3795 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6F3795
7.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6F3795 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6F3795 | 1.00 | 7.91 | 2.66 | 7.91 |
| #FFFFFF | 7.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#094F98
Deuteranopia (green-blind)
#2A5293
Tritanopia (blue-blind)
#6A4961
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #6f3795; /* rgb */ color: rgb(111, 55, 149); /* oklch */ color: oklch(45.4% 0.152 309.0);
Tailwind
colors: {
custom: {
50: '#9b71b5',
500: '#6f3795',
950: '#000000',
},
}SCSS
$custom: #6f3795; $custom-light: #9b71b5; $custom-dark: #000000;
JSON
{
"hex": "#6f3795",
"rgb": {
"r": 111,
"g": 55,
"b": 149
},
"hsl": {
"h": 275.745,
"s": 46.078,
"l": 40
},
"oklch": {
"l": 0.45395,
"c": 0.1524,
"h": 309
},
"luminance": 0.08282
}Semantic roles & 50–950 ramp
primary
#6F3795
secondary
#8DB671
accent
#D65287
background
#F9F7FB
surface
#F2EDF6
border
#CCC8D0
text
#0E0811
muted
#7E7B80