#6B288F#6B288F
#6B288F is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.5% C 0.166 H 311.1°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).
Color values
| HEX | #6B288F |
|---|---|
| RGB | rgb(107, 40, 143) |
| HSL | hsl(279, 56%, 36%) |
| HSV | hsv(279, 72%, 56%) |
| CMYK | cmyk(25.2%, 72%, 0%, 43.9%) |
| CIE-LAB | lab(30.94, 46.95, -44.16) |
| CIE-LCH | lch(30.94, 64.45, 316.76°) |
| OKLab | oklab(42.54% 0.1088 -0.1248) |
| OKLCH | oklch(42.54% 0.166 311.1) |
| XYZ | xyz(11.7792, 6.6268, 26.6399) |
| Luminance | 0.0663 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 3.17
Purple (survey)
#7E1E9C
ΔE00 3.73
Purple
#800080
ΔE00 6.58
Darkish Purple
#751973
ΔE00 6.85
Darkmagenta
#8B008B
ΔE00 6.95
Indigo
#4B0082
ΔE00 8.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6B288F #4C8F28
analogous
#37288F #6B288F #8F287F
triadic
#6B288F #8F6B28 #288F6B
tetradic
#6B288F #8F3728 #4C8F28 #287F8F
square
#6B288F #8F3728 #4C8F28 #287F8F
split-complementary
#6B288F #7F8F28 #288F37
monochromatic
#230D2F #471B5F #6B288F #8F35BF #AA5FD2
Accessibility & contrast
On white
9.03
#6B288F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.33
#6B288F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6B288F
9.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6B288F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6B288F | 1.00 | 9.03 | 2.33 | 9.03 |
| #FFFFFF | 9.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004692
Deuteranopia (green-blind)
#194A8D
Tritanopia (blue-blind)
#663E59
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #6b288f; /* rgb */ color: rgb(107, 40, 143); /* oklch */ color: oklch(42.5% 0.166 311.1);
Tailwind
colors: {
custom: {
50: '#9968b0',
500: '#6b288f',
950: '#000000',
},
}SCSS
$custom: #6b288f; $custom-light: #9968b0; $custom-dark: #000000;
JSON
{
"hex": "#6b288f",
"rgb": {
"r": 107,
"g": 40,
"b": 143
},
"hsl": {
"h": 279.029,
"s": 56.284,
"l": 35.882
},
"oklch": {
"l": 0.42542,
"c": 0.1656,
"h": 311.1
},
"luminance": 0.06627
}Semantic roles & 50–950 ramp
primary
#6B288F
secondary
#7BB85B
accent
#E0487D
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0E0611
muted
#7E7A80