#6A219B#6A219B
#6A219B is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.6% C 0.185 H 307.2°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).
Color values
| HEX | #6A219B |
|---|---|
| RGB | rgb(106, 33, 155) |
| HSL | hsl(276, 65%, 37%) |
| HSV | hsv(276, 79%, 61%) |
| CMYK | cmyk(31.6%, 78.7%, 0%, 39.2%) |
| CIE-LAB | lab(30.68, 52.38, -51.94) |
| CIE-LCH | lch(30.68, 73.76, 315.24°) |
| OKLab | oklab(42.62% 0.1121 -0.1477) |
| OKLCH | oklch(42.62% 0.185 307.2) |
| XYZ | xyz(12.4028, 6.5186, 31.6088) |
| Luminance | 0.0652 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 3.45
Purple (survey)
#7E1E9C
ΔE00 3.82
Indigo
#4B0082
ΔE00 7.55
Purple
#800080
ΔE00 7.74
Darkmagenta
#8B008B
ΔE00 7.86
Violet Blue
#510AC9
ΔE00 7.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6A219B #529B21
analogous
#2D219B #6A219B #9B218F
triadic
#6A219B #9B6A21 #219B6A
tetradic
#6A219B #9B2D21 #529B21 #218F9B
square
#6A219B #9B2D21 #529B21 #218F9B
split-complementary
#6A219B #8F9B21 #219B2D
monochromatic
#250C36 #471669 #6A219B #8D2CCD #A85ADC
Accessibility & contrast
On white
9.12
#6A219B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.30
#6A219B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6A219B
9.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6A219B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6A219B | 1.00 | 9.12 | 2.30 | 9.12 |
| #FFFFFF | 9.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00469E
Deuteranopia (green-blind)
#004999
Tritanopia (blue-blind)
#62405E
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #6a219b; /* rgb */ color: rgb(106, 33, 155); /* oklch */ color: oklch(42.6% 0.185 307.2);
Tailwind
colors: {
custom: {
50: '#9a65b9',
500: '#6a219b',
950: '#000000',
},
}SCSS
$custom: #6a219b; $custom-light: #9a65b9; $custom-dark: #000000;
JSON
{
"hex": "#6a219b",
"rgb": {
"r": 106,
"g": 33,
"b": 155
},
"hsl": {
"h": 275.902,
"s": 64.894,
"l": 36.863
},
"oklch": {
"l": 0.42616,
"c": 0.18539,
"h": 307.2
},
"luminance": 0.06518
}Semantic roles & 50–950 ramp
primary
#6A219B
secondary
#82C058
accent
#E84083
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0612
muted
#7E7A81