#6B219B#6B219B
#6B219B is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.7% C 0.186 H 307.7°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).
Color values
| HEX | #6B219B |
|---|---|
| RGB | rgb(107, 33, 155) |
| HSL | hsl(276, 65%, 37%) |
| HSV | hsv(276, 79%, 61%) |
| CMYK | cmyk(31%, 78.7%, 0%, 39.2%) |
| CIE-LAB | lab(30.83, 52.56, -51.69) |
| CIE-LCH | lch(30.83, 73.72, 315.48°) |
| OKLab | oklab(42.75% 0.1135 -0.1469) |
| OKLCH | oklch(42.75% 0.186 307.7) |
| XYZ | xyz(12.5224, 6.5803, 31.6144) |
| Luminance | 0.0658 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 3.47
Purple (survey)
#7E1E9C
ΔE00 3.63
Purple
#800080
ΔE00 7.60
Indigo
#4B0082
ΔE00 7.68
Darkmagenta
#8B008B
ΔE00 7.69
Purple Blue
#5D21D0
ΔE00 8.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6B219B #519B21
analogous
#2E219B #6B219B #9B218E
triadic
#6B219B #9B6B21 #219B6B
tetradic
#6B219B #9B2E21 #519B21 #218E9B
square
#6B219B #9B2E21 #519B21 #218E9B
split-complementary
#6B219B #8E9B21 #219B2E
monochromatic
#250C36 #481669 #6B219B #8E2CCD #A95ADC
Accessibility & contrast
On white
9.07
#6B219B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.32
#6B219B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6B219B
9.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6B219B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6B219B | 1.00 | 9.07 | 2.32 | 9.07 |
| #FFFFFF | 9.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00469E
Deuteranopia (green-blind)
#004999
Tritanopia (blue-blind)
#63405E
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #6b219b; /* rgb */ color: rgb(107, 33, 155); /* oklch */ color: oklch(42.7% 0.186 307.7);
Tailwind
colors: {
custom: {
50: '#9a65b9',
500: '#6b219b',
950: '#000000',
},
}SCSS
$custom: #6b219b; $custom-light: #9a65b9; $custom-dark: #000000;
JSON
{
"hex": "#6b219b",
"rgb": {
"r": 107,
"g": 33,
"b": 155
},
"hsl": {
"h": 276.393,
"s": 64.894,
"l": 36.863
},
"oklch": {
"l": 0.42749,
"c": 0.18565,
"h": 307.7
},
"luminance": 0.0658
}Semantic roles & 50–950 ramp
primary
#6B219B
secondary
#81C058
accent
#E84082
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0612
muted
#7E7A81