#6A2BB0#6A2BB0
#6A2BB0 is a mid, vivid violet. Relative luminance 0.079; OKLCH L 45.4% C 0.196 H 300.0°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).
Color values
| HEX | #6A2BB0 |
|---|---|
| RGB | rgb(106, 43, 176) |
| HSL | hsl(268, 61%, 43%) |
| HSV | hsv(268, 76%, 69%) |
| CMYK | cmyk(39.8%, 75.6%, 0%, 31%) |
| CIE-LAB | lab(33.83, 53.26, -59.47) |
| CIE-LCH | lch(33.83, 79.83, 311.84°) |
| OKLab | oklab(45.36% 0.0982 -0.1699) |
| OKLCH | oklch(45.36% 0.196 300) |
| XYZ | xyz(14.6422, 7.9264, 41.8244) |
| Luminance | 0.0793 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 3.92
Purple Blue
#5D21D0
ΔE00 4.96
Purple (survey)
#7E1E9C
ΔE00 5.74
Blurple
#5539CC
ΔE00 6.18
Bluey Purple
#6241C7
ΔE00 6.19
Violet Blue
#510AC9
ΔE00 6.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6A2BB0 #71B02B
analogous
#2B2EB0 #6A2BB0 #AC2BB0
triadic
#6A2BB0 #B06A2B #2BB06A
tetradic
#6A2BB0 #B02B2E #71B02B #2BB0AC
square
#6A2BB0 #B02B2E #71B02B #2BB0AC
split-complementary
#6A2BB0 #B0AC2B #2EB02B
monochromatic
#2F134E #4C1F7F #6A2BB0 #8846D2 #A878DE
Accessibility & contrast
On white
8.12
#6A2BB0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.59
#6A2BB0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6A2BB0
8.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6A2BB0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6A2BB0 | 1.00 | 8.12 | 2.59 | 8.12 |
| #FFFFFF | 8.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004FB4
Deuteranopia (green-blind)
#004FAD
Tritanopia (blue-blind)
#5A4E6C
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #6a2bb0; /* rgb */ color: rgb(106, 43, 176); /* oklch */ color: oklch(45.4% 0.196 300.0);
Tailwind
colors: {
custom: {
50: '#9b6bc9',
500: '#6a2bb0',
950: '#000000',
},
}SCSS
$custom: #6a2bb0; $custom-light: #9b6bc9; $custom-dark: #000000;
JSON
{
"hex": "#6a2bb0",
"rgb": {
"r": 106,
"g": 43,
"b": 176
},
"hsl": {
"h": 268.421,
"s": 60.731,
"l": 42.941
},
"oklch": {
"l": 0.45357,
"c": 0.19623,
"h": 300
},
"luminance": 0.07927
}Semantic roles & 50–950 ramp
primary
#6A2BB0
secondary
#9EC671
accent
#E44498
background
#FAF6FC
surface
#F3ECF8
border
#CDC7D1
text
#0F0713
muted
#7F7A82