#6B2EAF#6B2EAF
#6B2EAF is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.7% C 0.192 H 300.4°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).
Color values
| HEX | #6B2EAF |
|---|---|
| RGB | rgb(107, 46, 175) |
| HSL | hsl(268, 58%, 43%) |
| HSV | hsv(268, 74%, 69%) |
| CMYK | cmyk(38.9%, 73.7%, 0%, 31.4%) |
| CIE-LAB | lab(34.34, 51.85, -58.03) |
| CIE-LCH | lch(34.34, 77.82, 311.78°) |
| OKLab | oklab(45.72% 0.0971 -0.1656) |
| OKLCH | oklch(45.72% 0.192 300.4) |
| XYZ | xyz(14.7763, 8.1748, 41.3485) |
| Luminance | 0.0818 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 3.62
Purple Blue
#5D21D0
ΔE00 5.33
Purple (survey)
#7E1E9C
ΔE00 5.69
Bluey Purple
#6241C7
ΔE00 5.94
Blurple
#5539CC
ΔE00 6.17
Blue With A Hint Of Purple
#533CC6
ΔE00 6.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6B2EAF #72AF2E
analogous
#2E31AF #6B2EAF #AB2EAF
triadic
#6B2EAF #AF6B2E #2EAF6B
tetradic
#6B2EAF #AF2E31 #72AF2E #2EAFAB
square
#6B2EAF #AF2E31 #72AF2E #2EAFAB
split-complementary
#6B2EAF #AFAB2E #31AF2E
monochromatic
#30154E #4D217F #6B2EAF #894BD0 #A97BDC
Accessibility & contrast
On white
7.97
#6B2EAF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.64
#6B2EAF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6B2EAF
7.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6B2EAF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6B2EAF | 1.00 | 7.97 | 2.64 | 7.97 |
| #FFFFFF | 7.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0050B3
Deuteranopia (green-blind)
#0050AC
Tritanopia (blue-blind)
#5C4E6C
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #6b2eaf; /* rgb */ color: rgb(107, 46, 175); /* oklch */ color: oklch(45.7% 0.192 300.4);
Tailwind
colors: {
custom: {
50: '#9b6dc8',
500: '#6b2eaf',
950: '#000000',
},
}SCSS
$custom: #6b2eaf; $custom-light: #9b6dc8; $custom-dark: #000000;
JSON
{
"hex": "#6b2eaf",
"rgb": {
"r": 107,
"g": 46,
"b": 175
},
"hsl": {
"h": 268.372,
"s": 58.371,
"l": 43.333
},
"oklch": {
"l": 0.45723,
"c": 0.19202,
"h": 300.4
},
"luminance": 0.08175
}Semantic roles & 50–950 ramp
primary
#6B2EAF
secondary
#9FC574
accent
#E24698
background
#FAF6FC
surface
#F3ECF8
border
#CDC7D1
text
#0F0713
muted
#7F7A82