#6B219E#6B219E
#6B219E is a dark, vivid violet. Relative luminance 0.067; OKLCH L 43.0% C 0.189 H 306.7°. Best body text is #FFFFFF at 8.99:1 contrast (WCAG AA passes).
Color values
| HEX | #6B219E |
|---|---|
| RGB | rgb(107, 33, 158) |
| HSL | hsl(276, 65%, 37%) |
| HSV | hsv(276, 79%, 62%) |
| CMYK | cmyk(32.3%, 79.1%, 0%, 38%) |
| CIE-LAB | lab(31.07, 53.24, -53.13) |
| CIE-LCH | lch(31.07, 75.21, 315.06°) |
| OKLab | oklab(42.99% 0.1128 -0.1511) |
| OKLCH | oklch(42.99% 0.189 306.7) |
| XYZ | xyz(12.7775, 6.6823, 32.9578) |
| Luminance | 0.0668 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 3.49
Purple (survey)
#7E1E9C
ΔE00 3.78
Purple Blue
#5D21D0
ΔE00 7.61
Violet Blue
#510AC9
ΔE00 7.68
Indigo
#4B0082
ΔE00 7.84
Darkmagenta
#8B008B
ΔE00 7.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6B219E #549E21
analogous
#2D219E #6B219E #9E2193
triadic
#6B219E #9E6B21 #219E6B
tetradic
#6B219E #9E2D21 #549E21 #21939E
square
#6B219E #9E2D21 #549E21 #21939E
split-complementary
#6B219E #939E21 #219E2D
monochromatic
#260C39 #49166B #6B219E #8D2CD1 #A95CDD
Accessibility & contrast
On white
8.99
#6B219E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.34
#6B219E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6B219E
8.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6B219E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6B219E | 1.00 | 8.99 | 2.34 | 8.99 |
| #FFFFFF | 8.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0047A1
Deuteranopia (green-blind)
#004A9C
Tritanopia (blue-blind)
#62415F
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #6b219e; /* rgb */ color: rgb(107, 33, 158); /* oklch */ color: oklch(43.0% 0.189 306.7);
Tailwind
colors: {
custom: {
50: '#9b65bc',
500: '#6b219e',
950: '#000000',
},
}SCSS
$custom: #6b219e; $custom-light: #9b65bc; $custom-dark: #000000;
JSON
{
"hex": "#6b219e",
"rgb": {
"r": 107,
"g": 33,
"b": 158
},
"hsl": {
"h": 275.52,
"s": 65.445,
"l": 37.451
},
"oklch": {
"l": 0.42993,
"c": 0.18858,
"h": 306.7
},
"luminance": 0.06682
}Semantic roles & 50–950 ramp
primary
#6B219E
secondary
#84C159
accent
#E83F84
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0612
muted
#7E7A81