#6B268B#6B268B
#6B268B is a dark, vivid purple. Relative luminance 0.064; OKLCH L 42.0% C 0.164 H 312.8°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).
Color values
| HEX | #6B268B |
|---|---|
| RGB | rgb(107, 38, 139) |
| HSL | hsl(281, 57%, 35%) |
| HSV | hsv(281, 73%, 55%) |
| CMYK | cmyk(23%, 72.7%, 0%, 45.5%) |
| CIE-LAB | lab(30.34, 46.94, -42.65) |
| CIE-LCH | lch(30.34, 63.42, 317.74°) |
| OKLab | oklab(42.03% 0.1115 -0.1204) |
| OKLCH | oklch(42.03% 0.164 312.8) |
| XYZ | xyz(11.4159, 6.3764, 25.0505) |
| Luminance | 0.0638 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Rebeccapurple
#663399
ΔE00 3.92
Purple (survey)
#7E1E9C
ΔE00 3.92
Purple
#800080
ΔE00 5.98
Darkish Purple
#751973
ΔE00 6.12
Darkmagenta
#8B008B
ΔE00 6.58
Indigo
#4B0082
ΔE00 8.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6B268B #468B26
analogous
#39268B #6B268B #8B2679
triadic
#6B268B #8B6B26 #268B6B
tetradic
#6B268B #8B3926 #468B26 #26798B
square
#6B268B #8B3926 #468B26 #26798B
split-complementary
#6B268B #798B26 #268B39
monochromatic
#210C2B #46195B #6B268B #9033BB #AC5AD2
Accessibility & contrast
On white
9.23
#6B268B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.28
#6B268B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6B268B
9.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6B268B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6B268B | 1.00 | 9.23 | 2.28 | 9.23 |
| #FFFFFF | 9.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00448E
Deuteranopia (green-blind)
#1C4989
Tritanopia (blue-blind)
#673C56
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #6b268b; /* rgb */ color: rgb(107, 38, 139); /* oklch */ color: oklch(42.0% 0.164 312.8);
Tailwind
colors: {
custom: {
50: '#9967ad',
500: '#6b268b',
950: '#000000',
},
}SCSS
$custom: #6b268b; $custom-light: #9967ad; $custom-dark: #000000;
JSON
{
"hex": "#6b268b",
"rgb": {
"r": 107,
"g": 38,
"b": 139
},
"hsl": {
"h": 280.99,
"s": 57.062,
"l": 34.706
},
"oklch": {
"l": 0.42025,
"c": 0.16409,
"h": 312.8
},
"luminance": 0.06376
}Semantic roles & 50–950 ramp
primary
#6B268B
secondary
#75B756
accent
#E04778
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F