#6B259B#6B259B
#6B259B is a dark, vivid violet. Relative luminance 0.068; OKLCH L 43.1% C 0.181 H 307.3°. Best body text is #FFFFFF at 8.89:1 contrast (WCAG AA passes).
Color values
| HEX | #6B259B |
|---|---|
| RGB | rgb(107, 37, 155) |
| HSL | hsl(276, 61%, 38%) |
| HSV | hsv(276, 76%, 61%) |
| CMYK | cmyk(31%, 76.1%, 0%, 39.2%) |
| CIE-LAB | lab(31.38, 50.98, -50.79) |
| CIE-LCH | lch(31.38, 71.96, 315.10°) |
| OKLab | oklab(43.14% 0.1099 -0.1443) |
| OKLCH | oklch(43.14% 0.181 307.3) |
| XYZ | xyz(12.6401, 6.8157, 31.6537) |
| Luminance | 0.0682 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 2.87
Purple (survey)
#7E1E9C
ΔE00 3.62
Purple
#800080
ΔE00 7.79
Darkmagenta
#8B008B
ΔE00 7.81
Purple Blue
#5D21D0
ΔE00 8.10
Indigo
#4B0082
ΔE00 8.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6B259B #559B25
analogous
#30259B #6B259B #9B2590
triadic
#6B259B #9B6B25 #259B6B
tetradic
#6B259B #9B3025 #559B25 #25909B
square
#6B259B #9B3025 #559B25 #25909B
split-complementary
#6B259B #909B25 #259B30
monochromatic
#270D38 #49196A #6B259B #8D31CC #A861D9
Accessibility & contrast
On white
8.89
#6B259B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.36
#6B259B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6B259B
8.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6B259B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6B259B | 1.00 | 8.89 | 2.36 | 8.89 |
| #FFFFFF | 8.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00479E
Deuteranopia (green-blind)
#004A99
Tritanopia (blue-blind)
#63425E
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #6b259b; /* rgb */ color: rgb(107, 37, 155); /* oklch */ color: oklch(43.1% 0.181 307.3);
Tailwind
colors: {
custom: {
50: '#9a67b9',
500: '#6b259b',
950: '#000000',
},
}SCSS
$custom: #6b259b; $custom-light: #9a67b9; $custom-dark: #000000;
JSON
{
"hex": "#6b259b",
"rgb": {
"r": 107,
"g": 37,
"b": 155
},
"hsl": {
"h": 275.593,
"s": 61.458,
"l": 37.647
},
"oklch": {
"l": 0.43138,
"c": 0.18138,
"h": 307.3
},
"luminance": 0.06815
}Semantic roles & 50–950 ramp
primary
#6B259B
secondary
#85BF5D
accent
#E54385
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0612
muted
#7E7A81