#6B1E9D#6B1E9D
#6B1E9D is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.6% C 0.191 H 307.3°. Best body text is #FFFFFF at 9.14:1 contrast (WCAG AA passes).
Color values
| HEX | #6B1E9D |
|---|---|
| RGB | rgb(107, 30, 157) |
| HSL | hsl(276, 68%, 37%) |
| HSV | hsv(276, 81%, 62%) |
| CMYK | cmyk(31.8%, 80.9%, 0%, 38.4%) |
| CIE-LAB | lab(30.61, 54.11, -53.26) |
| CIE-LCH | lch(30.61, 75.93, 315.45°) |
| OKLab | oklab(42.65% 0.1155 -0.1515) |
| OKLCH | oklch(42.65% 0.191 307.3) |
| XYZ | xyz(12.6122, 6.4888, 32.4798) |
| Luminance | 0.0649 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 3.79
Rebeccapurple
#663399
ΔE00 3.89
Indigo
#4B0082
ΔE00 7.51
Violet Blue
#510AC9
ΔE00 7.70
Purple
#800080
ΔE00 7.75
Purple Blue
#5D21D0
ΔE00 7.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6B1E9D #509D1E
analogous
#2C1E9D #6B1E9D #9D1E90
triadic
#6B1E9D #9D6B1E #1E9D6B
tetradic
#6B1E9D #9D2C1E #509D1E #1E909D
square
#6B1E9D #9D2C1E #509D1E #1E909D
split-complementary
#6B1E9D #909D1E #1E9D2C
monochromatic
#250A36 #48146A #6B1E9D #8E28D0 #A957DF
Accessibility & contrast
On white
9.14
#6B1E9D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.30
#6B1E9D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6B1E9D
9.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6B1E9D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6B1E9D | 1.00 | 9.14 | 2.30 | 9.14 |
| #FFFFFF | 9.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0046A0
Deuteranopia (green-blind)
#00499B
Tritanopia (blue-blind)
#623F5E
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #6b1e9d; /* rgb */ color: rgb(107, 30, 157); /* oklch */ color: oklch(42.6% 0.191 307.3);
Tailwind
colors: {
custom: {
50: '#9b64bb',
500: '#6b1e9d',
950: '#000000',
},
}SCSS
$custom: #6b1e9d; $custom-light: #9b64bb; $custom-dark: #000000;
JSON
{
"hex": "#6b1e9d",
"rgb": {
"r": 107,
"g": 30,
"b": 157
},
"hsl": {
"h": 276.378,
"s": 67.914,
"l": 36.667
},
"oklch": {
"l": 0.42647,
"c": 0.19052,
"h": 307.3
},
"luminance": 0.06489
}Semantic roles & 50–950 ramp
primary
#6B1E9D
secondary
#80C254
accent
#EB3D81
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0612
muted
#7E7A81