#6B228F#6B228F
#6B228F is a dark, vivid purple. Relative luminance 0.063; OKLCH L 41.9% C 0.173 H 311.7°. Best body text is #FFFFFF at 9.33:1 contrast (WCAG AA passes).
Color values
| HEX | #6B228F |
|---|---|
| RGB | rgb(107, 34, 143) |
| HSL | hsl(280, 62%, 35%) |
| HSV | hsv(280, 76%, 56%) |
| CMYK | cmyk(25.2%, 76.2%, 0%, 43.9%) |
| CIE-LAB | lab(30.04, 49.50, -45.61) |
| CIE-LCH | lch(30.04, 67.31, 317.34°) |
| OKLab | oklab(41.9% 0.115 -0.1291) |
| OKLCH | oklch(41.9% 0.173 311.7) |
| XYZ | xyz(11.5924, 6.2533, 26.5776) |
| Luminance | 0.0625 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 3.62
Rebeccapurple
#663399
ΔE00 3.93
Purple
#800080
ΔE00 6.16
Darkmagenta
#8B008B
ΔE00 6.68
Darkish Purple
#751973
ΔE00 6.70
Indigo
#4B0082
ΔE00 7.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6B228F #468F22
analogous
#34228F #6B228F #8F227D
triadic
#6B228F #8F6B22 #228F6B
tetradic
#6B228F #8F3422 #468F22 #227D8F
square
#6B228F #8F3422 #468F22 #227D8F
split-complementary
#6B228F #7D8F22 #228F34
monochromatic
#210A2C #46165E #6B228F #902EC0 #AC55D7
Accessibility & contrast
On white
9.33
#6B228F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.25
#6B228F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6B228F
9.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6B228F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6B228F | 1.00 | 9.33 | 2.25 | 9.33 |
| #FFFFFF | 9.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004392
Deuteranopia (green-blind)
#10488D
Tritanopia (blue-blind)
#673B57
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #6b228f; /* rgb */ color: rgb(107, 34, 143); /* oklch */ color: oklch(41.9% 0.173 311.7);
Tailwind
colors: {
custom: {
50: '#9965b0',
500: '#6b228f',
950: '#000000',
},
}SCSS
$custom: #6b228f; $custom-light: #9965b0; $custom-dark: #000000;
JSON
{
"hex": "#6b228f",
"rgb": {
"r": 107,
"g": 34,
"b": 143
},
"hsl": {
"h": 280.183,
"s": 61.582,
"l": 34.706
},
"oklch": {
"l": 0.41904,
"c": 0.17286,
"h": 311.7
},
"luminance": 0.06253
}Semantic roles & 50–950 ramp
primary
#6B228F
secondary
#75BA52
accent
#E54378
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0E0611
muted
#7E7A80