#6E339F#6E339F
#6E339F is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.4% C 0.169 H 305.7°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).
Color values
| HEX | #6E339F |
|---|---|
| RGB | rgb(110, 51, 159) |
| HSL | hsl(273, 51%, 41%) |
| HSV | hsv(273, 68%, 62%) |
| CMYK | cmyk(30.8%, 67.9%, 0%, 37.6%) |
| CIE-LAB | lab(34.37, 46.14, -48.37) |
| CIE-LCH | lch(34.37, 66.85, 313.65°) |
| OKLab | oklab(45.44% 0.0987 -0.1372) |
| OKLCH | oklch(45.44% 0.169 305.7) |
| XYZ | xyz(13.8709, 8.1860, 33.6435) |
| Luminance | 0.0819 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 1.63
Purple (survey)
#7E1E9C
ΔE00 4.43
Bluey Purple
#6241C7
ΔE00 7.75
Royal Purple
#7851A9
ΔE00 7.92
Purple Blue
#5D21D0
ΔE00 8.27
Ocean Blue
#4F42B5
ΔE00 8.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6E339F #649F33
analogous
#38339F #6E339F #9F339A
triadic
#6E339F #9F6E33 #339F6E
tetradic
#6E339F #9F3833 #649F33 #339A9F
square
#6E339F #9F3833 #649F33 #339A9F
split-complementary
#6E339F #9A9F33 #339F38
monochromatic
#2E1542 #4E2471 #6E339F #8D4AC5 #AA79D4
Accessibility & contrast
On white
7.96
#6E339F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.64
#6E339F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6E339F
7.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6E339F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6E339F | 1.00 | 7.96 | 2.64 | 7.96 |
| #FFFFFF | 7.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004FA2
Deuteranopia (green-blind)
#13519D
Tritanopia (blue-blind)
#654B65
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #6e339f; /* rgb */ color: rgb(110, 51, 159); /* oklch */ color: oklch(45.4% 0.169 305.7);
Tailwind
colors: {
custom: {
50: '#9c6fbc',
500: '#6e339f',
950: '#000000',
},
}SCSS
$custom: #6e339f; $custom-light: #9c6fbc; $custom-dark: #000000;
JSON
{
"hex": "#6e339f",
"rgb": {
"r": 110,
"g": 51,
"b": 159
},
"hsl": {
"h": 272.778,
"s": 51.429,
"l": 41.176
},
"oklch": {
"l": 0.45442,
"c": 0.16902,
"h": 305.7
},
"luminance": 0.08186
}Semantic roles & 50–950 ramp
primary
#6E339F
secondary
#93BC71
accent
#DB4D8D
background
#F9F6FB
surface
#F2ECF6
border
#CCC7D0
text
#0F0812
muted
#7E7B81