#6B2BAF#6B2BAF
#6B2BAF is a mid, vivid violet. Relative luminance 0.079; OKLCH L 45.4% C 0.195 H 300.7°. Best body text is #FFFFFF at 8.11:1 contrast (WCAG AA passes).
Color values
| HEX | #6B2BAF |
|---|---|
| RGB | rgb(107, 43, 175) |
| HSL | hsl(269, 61%, 43%) |
| HSV | hsv(269, 75%, 69%) |
| CMYK | cmyk(38.9%, 75.4%, 0%, 31.4%) |
| CIE-LAB | lab(33.88, 53.18, -58.80) |
| CIE-LCH | lch(33.88, 79.28, 312.13°) |
| OKLab | oklab(45.39% 0.0999 -0.1679) |
| OKLCH | oklch(45.39% 0.195 300.7) |
| XYZ | xyz(14.6632, 7.9486, 41.3108) |
| Luminance | 0.0795 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 3.78
Purple Blue
#5D21D0
ΔE00 5.19
Purple (survey)
#7E1E9C
ΔE00 5.50
Bluey Purple
#6241C7
ΔE00 6.33
Blurple
#5539CC
ΔE00 6.40
Violet Blue
#510AC9
ΔE00 6.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6B2BAF #6FAF2B
analogous
#2B2DAF #6B2BAF #AD2BAF
triadic
#6B2BAF #AF6B2B #2BAF6B
tetradic
#6B2BAF #AF2B2D #6FAF2B #2BAFAD
square
#6B2BAF #AF2B2D #6FAF2B #2BAFAD
split-complementary
#6B2BAF #AFAD2B #2DAF2B
monochromatic
#2F134D #4D1F7E #6B2BAF #8946D1 #A977DE
Accessibility & contrast
On white
8.11
#6B2BAF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.59
#6B2BAF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6B2BAF
8.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6B2BAF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6B2BAF | 1.00 | 8.11 | 2.59 | 8.11 |
| #FFFFFF | 8.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004FB3
Deuteranopia (green-blind)
#004FAC
Tritanopia (blue-blind)
#5C4D6B
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #6b2baf; /* rgb */ color: rgb(107, 43, 175); /* oklch */ color: oklch(45.4% 0.195 300.7);
Tailwind
colors: {
custom: {
50: '#9c6bc8',
500: '#6b2baf',
950: '#000000',
},
}SCSS
$custom: #6b2baf; $custom-light: #9c6bc8; $custom-dark: #000000;
JSON
{
"hex": "#6b2baf",
"rgb": {
"r": 107,
"g": 43,
"b": 175
},
"hsl": {
"h": 269.091,
"s": 60.55,
"l": 42.745
},
"oklch": {
"l": 0.45392,
"c": 0.19534,
"h": 300.7
},
"luminance": 0.07949
}Semantic roles & 50–950 ramp
primary
#6B2BAF
secondary
#9CC570
accent
#E44496
background
#FAF6FC
surface
#F3ECF8
border
#CDC7D1
text
#0F0713
muted
#7F7A82