#6C339F#6C339F
#6C339F is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.2% C 0.169 H 304.7°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).
Color values
| HEX | #6C339F |
|---|---|
| RGB | rgb(108, 51, 159) |
| HSL | hsl(272, 51%, 41%) |
| HSV | hsv(272, 68%, 62%) |
| CMYK | cmyk(32.1%, 67.9%, 0%, 37.6%) |
| CIE-LAB | lab(34.11, 45.71, -48.81) |
| CIE-LCH | lch(34.11, 66.87, 313.12°) |
| OKLab | oklab(45.2% 0.096 -0.1385) |
| OKLCH | oklch(45.2% 0.169 304.7) |
| XYZ | xyz(13.6248, 8.0591, 33.6319) |
| Luminance | 0.0806 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 1.33
Purple (survey)
#7E1E9C
ΔE00 4.72
Bluey Purple
#6241C7
ΔE00 7.59
Royal Purple
#7851A9
ΔE00 8.03
Ocean Blue
#4F42B5
ΔE00 8.05
Purple Blue
#5D21D0
ΔE00 8.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6C339F #669F33
analogous
#36339F #6C339F #9F339C
triadic
#6C339F #9F6C33 #339F6C
tetradic
#6C339F #9F3633 #669F33 #339C9F
square
#6C339F #9F3633 #669F33 #339C9F
split-complementary
#6C339F #9C9F33 #339F36
monochromatic
#2D1542 #4D2471 #6C339F #8B4AC5 #A979D4
Accessibility & contrast
On white
8.04
#6C339F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.61
#6C339F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6C339F
8.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6C339F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6C339F | 1.00 | 8.04 | 2.61 | 8.04 |
| #FFFFFF | 8.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004FA2
Deuteranopia (green-blind)
#0E509D
Tritanopia (blue-blind)
#634B65
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #6c339f; /* rgb */ color: rgb(108, 51, 159); /* oklch */ color: oklch(45.2% 0.169 304.7);
Tailwind
colors: {
custom: {
50: '#9a6fbc',
500: '#6c339f',
950: '#000000',
},
}SCSS
$custom: #6c339f; $custom-light: #9a6fbc; $custom-dark: #000000;
JSON
{
"hex": "#6c339f",
"rgb": {
"r": 108,
"g": 51,
"b": 159
},
"hsl": {
"h": 271.667,
"s": 51.429,
"l": 41.176
},
"oklch": {
"l": 0.45198,
"c": 0.16852,
"h": 304.7
},
"luminance": 0.08059
}Semantic roles & 50–950 ramp
primary
#6C339F
secondary
#95BC71
accent
#DB4D90
background
#F9F6FB
surface
#F2ECF6
border
#CCC7D0
text
#0E0712
muted
#7E7A81