#6A30B2#6A30B2
#6A30B2 is a mid, vivid violet. Relative luminance 0.084; OKLCH L 46.1% C 0.193 H 298.9°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).
Color values
| HEX | #6A30B2 |
|---|---|
| RGB | rgb(106, 48, 178) |
| HSL | hsl(267, 58%, 44%) |
| HSV | hsv(267, 73%, 70%) |
| CMYK | cmyk(40.4%, 73%, 0%, 30.2%) |
| CIE-LAB | lab(34.79, 51.50, -59.10) |
| CIE-LCH | lch(34.79, 78.39, 311.07°) |
| OKLab | oklab(46.08% 0.0931 -0.1688) |
| OKLCH | oklch(46.08% 0.193 298.9) |
| XYZ | xyz(15.0347, 8.3922, 42.9386) |
| Luminance | 0.0839 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 3.99
Purple Blue
#5D21D0
ΔE00 4.99
Bluey Purple
#6241C7
ΔE00 5.29
Blurple
#5539CC
ΔE00 5.56
Blue With A Hint Of Purple
#533CC6
ΔE00 5.65
Purple (survey)
#7E1E9C
ΔE00 6.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6A30B2 #78B230
analogous
#3037B2 #6A30B2 #AB30B2
triadic
#6A30B2 #B26A30 #30B26A
tetradic
#6A30B2 #B23037 #78B230 #30B2AB
square
#6A30B2 #B23037 #78B230 #30B2AB
split-complementary
#6A30B2 #B2AB30 #37B230
monochromatic
#311652 #4D2382 #6A30B2 #8950D0 #A980DD
Accessibility & contrast
On white
7.84
#6A30B2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.68
#6A30B2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6A30B2
7.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6A30B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6A30B2 | 1.00 | 7.84 | 2.68 | 7.84 |
| #FFFFFF | 7.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0052B6
Deuteranopia (green-blind)
#0051AF
Tritanopia (blue-blind)
#59516E
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #6a30b2; /* rgb */ color: rgb(106, 48, 178); /* oklch */ color: oklch(46.1% 0.193 298.9);
Tailwind
colors: {
custom: {
50: '#9b6eca',
500: '#6a30b2',
950: '#000000',
},
}SCSS
$custom: #6a30b2; $custom-light: #9b6eca; $custom-dark: #000000;
JSON
{
"hex": "#6a30b2",
"rgb": {
"r": 106,
"g": 48,
"b": 178
},
"hsl": {
"h": 266.769,
"s": 57.522,
"l": 44.314
},
"oklch": {
"l": 0.46084,
"c": 0.19283,
"h": 298.9
},
"luminance": 0.08392
}Semantic roles & 50–950 ramp
primary
#6A30B2
secondary
#A3C678
accent
#E1479C
background
#FAF6FC
surface
#F3ECF8
border
#CDC7D1
text
#0F0713
muted
#7F7A82