#6A2EBB#6A2EBB
#6A2EBB is a mid, highly saturated violet. Relative luminance 0.086; OKLCH L 46.6% C 0.205 H 297.0°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).
Color values
| HEX | #6A2EBB |
|---|---|
| RGB | rgb(106, 46, 187) |
| HSL | hsl(266, 61%, 46%) |
| HSV | hsv(266, 75%, 73%) |
| CMYK | cmyk(43.3%, 75.4%, 0%, 26.7%) |
| CIE-LAB | lab(35.21, 54.68, -63.73) |
| CIE-LCH | lch(35.21, 83.98, 310.63°) |
| OKLab | oklab(46.62% 0.0929 -0.1824) |
| OKLCH | oklch(46.62% 0.205 297) |
| XYZ | xyz(15.8881, 8.6057, 47.8280) |
| Luminance | 0.0861 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple Blue
#5D21D0
ΔE00 3.82
Blurple
#5539CC
ΔE00 4.73
Bluey Purple
#6241C7
ΔE00 4.75
Blue With A Hint Of Purple
#533CC6
ΔE00 5.05
Rebeccapurple
#663399
ΔE00 5.31
Burple
#6832E3
ΔE00 5.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6A2EBB #7FBB2E
analogous
#2E38BB #6A2EBB #B02EBB
triadic
#6A2EBB #BB6A2E #2EBB6A
tetradic
#6A2EBB #BB2E38 #7FBB2E #2EBBB0
square
#6A2EBB #BB2E38 #7FBB2E #2EBBB0
split-complementary
#6A2EBB #BBB02E #38BB2E
monochromatic
#321659 #4E228A #6A2EBB #8952D4 #AB83E0
Accessibility & contrast
On white
7.72
#6A2EBB on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.72
#6A2EBB on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6A2EBB
7.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6A2EBB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6A2EBB | 1.00 | 7.72 | 2.72 | 7.72 |
| #FFFFFF | 7.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0053BF
Deuteranopia (green-blind)
#0051B8
Tritanopia (blue-blind)
#555373
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #6a2ebb; /* rgb */ color: rgb(106, 46, 187); /* oklch */ color: oklch(46.6% 0.205 297.0);
Tailwind
colors: {
custom: {
50: '#9c6dd1',
500: '#6a2ebb',
950: '#000000',
},
}SCSS
$custom: #6a2ebb; $custom-light: #9c6dd1; $custom-dark: #000000;
JSON
{
"hex": "#6a2ebb",
"rgb": {
"r": 106,
"g": 46,
"b": 187
},
"hsl": {
"h": 265.532,
"s": 60.515,
"l": 45.686
},
"oklch": {
"l": 0.46616,
"c": 0.20471,
"h": 297
},
"luminance": 0.08606
}Semantic roles & 50–950 ramp
primary
#6A2EBB
secondary
#A8CA7B
accent
#E444A0
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0714
muted
#7F7A82