#6B258B#6B258B
#6B258B is a dark, vivid purple. Relative luminance 0.063; OKLCH L 41.9% C 0.165 H 312.9°. Best body text is #FFFFFF at 9.28:1 contrast (WCAG AA passes).
Color values
| HEX | #6B258B |
|---|---|
| RGB | rgb(107, 37, 139) |
| HSL | hsl(281, 58%, 35%) |
| HSV | hsv(281, 73%, 55%) |
| CMYK | cmyk(23%, 73.4%, 0%, 45.5%) |
| CIE-LAB | lab(30.19, 47.37, -42.90) |
| CIE-LCH | lch(30.19, 63.91, 317.84°) |
| OKLab | oklab(41.92% 0.1126 -0.1211) |
| OKLCH | oklch(41.92% 0.165 312.9) |
| XYZ | xyz(11.3843, 6.3134, 25.0400) |
| Luminance | 0.0631 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 3.90
Rebeccapurple
#663399
ΔE00 4.02
Purple
#800080
ΔE00 5.90
Darkish Purple
#751973
ΔE00 6.09
Darkmagenta
#8B008B
ΔE00 6.53
Indigo
#4B0082
ΔE00 7.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6B258B #458B25
analogous
#38258B #6B258B #8B2578
triadic
#6B258B #8B6B25 #258B6B
tetradic
#6B258B #8B3825 #458B25 #25788B
square
#6B258B #8B3825 #458B25 #25788B
split-complementary
#6B258B #788B25 #258B38
monochromatic
#210B2A #46185B #6B258B #9032BB #AC58D3
Accessibility & contrast
On white
9.28
#6B258B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.26
#6B258B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6B258B
9.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6B258B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6B258B | 1.00 | 9.28 | 2.26 | 9.28 |
| #FFFFFF | 9.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00448E
Deuteranopia (green-blind)
#1B4989
Tritanopia (blue-blind)
#673B56
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #6b258b; /* rgb */ color: rgb(107, 37, 139); /* oklch */ color: oklch(41.9% 0.165 312.9);
Tailwind
colors: {
custom: {
50: '#9966ad',
500: '#6b258b',
950: '#000000',
},
}SCSS
$custom: #6b258b; $custom-light: #9966ad; $custom-dark: #000000;
JSON
{
"hex": "#6b258b",
"rgb": {
"r": 107,
"g": 37,
"b": 139
},
"hsl": {
"h": 281.176,
"s": 57.955,
"l": 34.51
},
"oklch": {
"l": 0.41915,
"c": 0.16534,
"h": 312.9
},
"luminance": 0.06313
}Semantic roles & 50–950 ramp
primary
#6B258B
secondary
#74B755
accent
#E14777
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F