#6B2DA8#6B2DA8
#6B2DA8 is a mid, vivid violet. Relative luminance 0.078; OKLCH L 45.0% C 0.186 H 302.4°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).
Color values
| HEX | #6B2DA8 |
|---|---|
| RGB | rgb(107, 45, 168) |
| HSL | hsl(270, 58%, 42%) |
| HSV | hsv(270, 73%, 66%) |
| CMYK | cmyk(36.3%, 73.2%, 0%, 34.1%) |
| CIE-LAB | lab(33.63, 50.58, -55.01) |
| CIE-LCH | lch(33.63, 74.73, 312.60°) |
| OKLab | oklab(45.04% 0.0995 -0.1568) |
| OKLCH | oklch(45.04% 0.186 302.4) |
| XYZ | xyz(14.0680, 7.8297, 37.8083) |
| Luminance | 0.0783 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 2.72
Purple (survey)
#7E1E9C
ΔE00 4.92
Purple Blue
#5D21D0
ΔE00 6.26
Bluey Purple
#6241C7
ΔE00 6.89
Blurple
#5539CC
ΔE00 7.16
Blue With A Hint Of Purple
#533CC6
ΔE00 7.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6B2DA8 #6AA82D
analogous
#2E2DA8 #6B2DA8 #A82DA8
triadic
#6B2DA8 #A86B2D #2DA86B
tetradic
#6B2DA8 #A82E2D #6AA82D #2DA8A8
square
#6B2DA8 #A82E2D #6AA82D #2DA8A8
split-complementary
#6B2DA8 #A8A82D #2DA82E
monochromatic
#2E1347 #4C2078 #6B2DA8 #8A45CD #A875DA
Accessibility & contrast
On white
8.18
#6B2DA8 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.57
#6B2DA8 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6B2DA8
8.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6B2DA8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6B2DA8 | 1.00 | 8.18 | 2.57 | 8.18 |
| #FFFFFF | 8.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004EAC
Deuteranopia (green-blind)
#004FA5
Tritanopia (blue-blind)
#5E4B68
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #6b2da8; /* rgb */ color: rgb(107, 45, 168); /* oklch */ color: oklch(45.0% 0.186 302.4);
Tailwind
colors: {
custom: {
50: '#9b6cc3',
500: '#6b2da8',
950: '#000000',
},
}SCSS
$custom: #6b2da8; $custom-light: #9b6cc3; $custom-dark: #000000;
JSON
{
"hex": "#6b2da8",
"rgb": {
"r": 107,
"g": 45,
"b": 168
},
"hsl": {
"h": 270.244,
"s": 57.746,
"l": 41.765
},
"oklch": {
"l": 0.45041,
"c": 0.18569,
"h": 302.4
},
"luminance": 0.0783
}Semantic roles & 50–950 ramp
primary
#6B2DA8
secondary
#98C26F
accent
#E14793
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0F0713
muted
#7E7A82