#6216A0#6216A0
#6216A0 is a dark, vivid violet. Relative luminance 0.057; OKLCH L 41.1% C 0.198 H 302.7°. Best body text is #FFFFFF at 9.80:1 contrast (WCAG AA passes).
Color values
| HEX | #6216A0 |
|---|---|
| RGB | rgb(98, 22, 160) |
| HSL | hsl(273, 76%, 36%) |
| HSV | hsv(273, 86%, 63%) |
| CMYK | cmyk(38.8%, 86.3%, 0%, 37.3%) |
| CIE-LAB | lab(28.66, 55.97, -58.33) |
| CIE-LCH | lch(28.66, 80.84, 313.82°) |
| OKLab | oklab(41.1% 0.107 -0.1667) |
| OKLCH | oklch(41.1% 0.198 302.7) |
| XYZ | xyz(11.6675, 5.7085, 33.7381) |
| Luminance | 0.0571 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 5.23
Purple (survey)
#7E1E9C
ΔE00 5.85
Indigo
#4B0082
ΔE00 6.14
Violet Blue
#510AC9
ΔE00 6.15
Indigo Blue
#3A18B1
ΔE00 6.38
Purple Blue
#5D21D0
ΔE00 7.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6216A0 #54A016
analogous
#1D16A0 #6216A0 #A01699
triadic
#6216A0 #A06216 #16A062
tetradic
#6216A0 #A01D16 #54A016 #1699A0
square
#6216A0 #A01D16 #54A016 #1699A0
split-complementary
#6216A0 #99A016 #16A01D
monochromatic
#200734 #410F6A #6216A0 #831DD6 #A04AE6
Accessibility & contrast
On white
9.80
#6216A0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.14
#6216A0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6216A0
9.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6216A0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6216A0 | 1.00 | 9.80 | 2.14 | 9.80 |
| #FFFFFF | 9.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0042A4
Deuteranopia (green-blind)
#00439D
Tritanopia (blue-blind)
#553F5E
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #6216a0; /* rgb */ color: rgb(98, 22, 160); /* oklch */ color: oklch(41.1% 0.198 302.7);
Tailwind
colors: {
custom: {
50: '#9560bd',
500: '#6216a0',
950: '#000000',
},
}SCSS
$custom: #6216a0; $custom-light: #9560bd; $custom-dark: #000000;
JSON
{
"hex": "#6216a0",
"rgb": {
"r": 98,
"g": 22,
"b": 160
},
"hsl": {
"h": 273.043,
"s": 75.824,
"l": 35.686
},
"oklch": {
"l": 0.411,
"c": 0.19804,
"h": 302.7
},
"luminance": 0.05709
}Semantic roles & 50–950 ramp
primary
#6216A0
secondary
#83C84A
accent
#F2358A
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0512
muted
#7E7A81