#6C219B#6C219B
#6C219B is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.9% C 0.186 H 308.2°. Best body text is #FFFFFF at 9.02:1 contrast (WCAG AA passes).
Color values
| HEX | #6C219B |
|---|---|
| RGB | rgb(108, 33, 155) |
| HSL | hsl(277, 65%, 37%) |
| HSV | hsv(277, 79%, 61%) |
| CMYK | cmyk(30.3%, 78.7%, 0%, 39.2%) |
| CIE-LAB | lab(30.98, 52.74, -51.45) |
| CIE-LCH | lch(30.98, 73.68, 315.71°) |
| OKLab | oklab(42.88% 0.1149 -0.1462) |
| OKLCH | oklch(42.88% 0.186 308.2) |
| XYZ | xyz(12.6434, 6.6426, 31.6201) |
| Luminance | 0.0664 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 3.44
Rebeccapurple
#663399
ΔE00 3.49
Purple
#800080
ΔE00 7.46
Darkmagenta
#8B008B
ΔE00 7.51
Indigo
#4B0082
ΔE00 7.81
Purple Blue
#5D21D0
ΔE00 8.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6C219B #509B21
analogous
#2F219B #6C219B #9B218D
triadic
#6C219B #9B6C21 #219B6C
tetradic
#6C219B #9B2F21 #509B21 #218D9B
square
#6C219B #9B2F21 #509B21 #218D9B
split-complementary
#6C219B #8D9B21 #219B2F
monochromatic
#260C36 #491669 #6C219B #8F2CCD #AA5ADC
Accessibility & contrast
On white
9.02
#6C219B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.33
#6C219B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6C219B
9.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6C219B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6C219B | 1.00 | 9.02 | 2.33 | 9.02 |
| #FFFFFF | 9.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00469E
Deuteranopia (green-blind)
#004A99
Tritanopia (blue-blind)
#64405E
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #6c219b; /* rgb */ color: rgb(108, 33, 155); /* oklch */ color: oklch(42.9% 0.186 308.2);
Tailwind
colors: {
custom: {
50: '#9b65b9',
500: '#6c219b',
950: '#000000',
},
}SCSS
$custom: #6c219b; $custom-light: #9b65b9; $custom-dark: #000000;
JSON
{
"hex": "#6c219b",
"rgb": {
"r": 108,
"g": 33,
"b": 155
},
"hsl": {
"h": 276.885,
"s": 64.894,
"l": 36.863
},
"oklch": {
"l": 0.42884,
"c": 0.18592,
"h": 308.2
},
"luminance": 0.06642
}Semantic roles & 50–950 ramp
primary
#6C219B
secondary
#80C058
accent
#E84081
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0612
muted
#7E7A81