#6C299F#6C299F
#6C299F is a dark, vivid violet. Relative luminance 0.073; OKLCH L 44.0% C 0.181 H 306.1°. Best body text is #FFFFFF at 8.55:1 contrast (WCAG AA passes).
Color values
| HEX | #6C299F |
|---|---|
| RGB | rgb(108, 41, 159) |
| HSL | hsl(274, 59%, 39%) |
| HSV | hsv(274, 74%, 62%) |
| CMYK | cmyk(32.1%, 74.2%, 0%, 37.6%) |
| CIE-LAB | lab(32.43, 50.40, -51.52) |
| CIE-LCH | lch(32.43, 72.07, 314.37°) |
| OKLab | oklab(44% 0.1066 -0.1464) |
| OKLCH | oklch(44% 0.181 306.1) |
| XYZ | xyz(13.2339, 7.2773, 33.5017) |
| Luminance | 0.0728 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 2.38
Purple (survey)
#7E1E9C
ΔE00 3.78
Purple Blue
#5D21D0
ΔE00 7.60
Violet Blue
#510AC9
ΔE00 8.17
Darkmagenta
#8B008B
ΔE00 8.23
Purple
#800080
ΔE00 8.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6C299F #5C9F29
analogous
#31299F #6C299F #9F2997
triadic
#6C299F #9F6C29 #299F6C
tetradic
#6C299F #9F3129 #5C9F29 #29979F
square
#6C299F #9F3129 #5C9F29 #29979F
split-complementary
#6C299F #979F29 #299F31
monochromatic
#2A103E #4B1C6E #6C299F #8D39CC #A96AD9
Accessibility & contrast
On white
8.55
#6C299F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.46
#6C299F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6C299F
8.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6C299F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6C299F | 1.00 | 8.55 | 2.46 | 8.55 |
| #FFFFFF | 8.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004AA2
Deuteranopia (green-blind)
#004D9D
Tritanopia (blue-blind)
#634562
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #6c299f; /* rgb */ color: rgb(108, 41, 159); /* oklch */ color: oklch(44.0% 0.181 306.1);
Tailwind
colors: {
custom: {
50: '#9b69bc',
500: '#6c299f',
950: '#000000',
},
}SCSS
$custom: #6c299f; $custom-light: #9b69bc; $custom-dark: #000000;
JSON
{
"hex": "#6c299f",
"rgb": {
"r": 108,
"g": 41,
"b": 159
},
"hsl": {
"h": 274.068,
"s": 59,
"l": 39.216
},
"oklch": {
"l": 0.44004,
"c": 0.18115,
"h": 306.1
},
"luminance": 0.07277
}Semantic roles & 50–950 ramp
primary
#6C299F
secondary
#8CBF65
accent
#E24689
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0712
muted
#7E7A81