#6A30A2#6A30A2
#6A30A2 is a dark, vivid violet. Relative luminance 0.078; OKLCH L 44.8% C 0.175 H 303.2°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).
Color values
| HEX | #6A30A2 |
|---|---|
| RGB | rgb(106, 48, 162) |
| HSL | hsl(271, 54%, 41%) |
| HSV | hsv(271, 70%, 64%) |
| CMYK | cmyk(34.6%, 70.4%, 0%, 36.5%) |
| CIE-LAB | lab(33.53, 47.50, -51.55) |
| CIE-LCH | lch(33.53, 70.10, 312.66°) |
| OKLab | oklab(44.8% 0.0961 -0.1467) |
| OKLCH | oklch(44.8% 0.175 303.2) |
| XYZ | xyz(13.5209, 7.7867, 34.9661) |
| Luminance | 0.0779 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 1.66
Purple (survey)
#7E1E9C
ΔE00 4.85
Purple Blue
#5D21D0
ΔE00 7.23
Bluey Purple
#6241C7
ΔE00 7.29
Blue With A Hint Of Purple
#533CC6
ΔE00 7.63
Blurple
#5539CC
ΔE00 7.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6A30A2 #68A230
analogous
#3130A2 #6A30A2 #A230A1
triadic
#6A30A2 #A26A30 #30A26A
tetradic
#6A30A2 #A23130 #68A230 #30A1A2
square
#6A30A2 #A23130 #68A230 #30A1A2
split-complementary
#6A30A2 #A1A230 #30A231
monochromatic
#2C1444 #4B2273 #6A30A2 #8947C8 #A776D6
Accessibility & contrast
On white
8.21
#6A30A2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.56
#6A30A2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6A30A2
8.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6A30A2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6A30A2 | 1.00 | 8.21 | 2.56 | 8.21 |
| #FFFFFF | 8.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004EA5
Deuteranopia (green-blind)
#004FA0
Tritanopia (blue-blind)
#5F4B65
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #6a30a2; /* rgb */ color: rgb(106, 48, 162); /* oklch */ color: oklch(44.8% 0.175 303.2);
Tailwind
colors: {
custom: {
50: '#996dbe',
500: '#6a30a2',
950: '#000000',
},
}SCSS
$custom: #6a30a2; $custom-light: #996dbe; $custom-dark: #000000;
JSON
{
"hex": "#6a30a2",
"rgb": {
"r": 106,
"g": 48,
"b": 162
},
"hsl": {
"h": 270.526,
"s": 54.286,
"l": 41.176
},
"oklch": {
"l": 0.44802,
"c": 0.17532,
"h": 303.2
},
"luminance": 0.07787
}Semantic roles & 50–950 ramp
primary
#6A30A2
secondary
#96BE6F
accent
#DE4A93
background
#F9F6FB
surface
#F2ECF7
border
#CCC7D0
text
#0E0712
muted
#7E7A81