#6B148F#6B148F
#6B148F is a dark, vivid purple. Relative luminance 0.056; OKLCH L 40.8% C 0.186 H 312.8°. Best body text is #FFFFFF at 9.90:1 contrast (WCAG AA passes).
Color values
| HEX | #6B148F |
|---|---|
| RGB | rgb(107, 20, 143) |
| HSL | hsl(282, 75%, 32%) |
| HSV | hsv(282, 86%, 56%) |
| CMYK | cmyk(25.2%, 86%, 0%, 43.9%) |
| CIE-LAB | lab(28.41, 54.24, -48.26) |
| CIE-LCH | lch(28.41, 72.60, 318.34°) |
| OKLab | oklab(40.76% 0.1265 -0.1368) |
| OKLCH | oklch(40.76% 0.186 312.8) |
| XYZ | xyz(11.2706, 5.6096, 26.4703) |
| Luminance | 0.0561 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 4.15
Rebeccapurple
#663399
ΔE00 5.52
Purple
#800080
ΔE00 5.82
Indigo
#4B0082
ΔE00 6.40
Darkmagenta
#8B008B
ΔE00 6.59
Darkish Purple
#751973
ΔE00 6.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6B148F #388F14
analogous
#2E148F #6B148F #8F1476
triadic
#6B148F #8F6B14 #148F6B
tetradic
#6B148F #8F2E14 #388F14 #14768F
square
#6B148F #8F2E14 #388F14 #14768F
split-complementary
#6B148F #768F14 #148F2E
monochromatic
#1B0524 #430C59 #6B148F #931CC5 #B23AE3
Accessibility & contrast
On white
9.90
#6B148F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.12
#6B148F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6B148F
9.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6B148F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6B148F | 1.00 | 9.90 | 2.12 | 9.90 |
| #FFFFFF | 9.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003F92
Deuteranopia (green-blind)
#00458D
Tritanopia (blue-blind)
#673554
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #6b148f; /* rgb */ color: rgb(107, 20, 143); /* oklch */ color: oklch(40.8% 0.186 312.8);
Tailwind
colors: {
custom: {
50: '#9a60b1',
500: '#6b148f',
950: '#000000',
},
}SCSS
$custom: #6b148f; $custom-light: #9a60b1; $custom-dark: #000000;
JSON
{
"hex": "#6b148f",
"rgb": {
"r": 107,
"g": 20,
"b": 143
},
"hsl": {
"h": 282.439,
"s": 75.46,
"l": 31.961
},
"oklch": {
"l": 0.40755,
"c": 0.18627,
"h": 312.8
},
"luminance": 0.05609
}Semantic roles & 50–950 ramp
primary
#6B148F
secondary
#63C33C
accent
#F2366D
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0511
muted
#7E7A80