#6D2D9F#6D2D9F
#6D2D9F is a dark, vivid violet. Relative luminance 0.076; OKLCH L 44.6% C 0.177 H 306.1°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).
Color values
| HEX | #6D2D9F |
|---|---|
| RGB | rgb(109, 45, 159) |
| HSL | hsl(274, 56%, 40%) |
| HSV | hsv(274, 72%, 62%) |
| CMYK | cmyk(31.4%, 71.7%, 0%, 37.6%) |
| CIE-LAB | lab(33.20, 48.81, -50.26) |
| CIE-LCH | lch(33.20, 70.06, 314.16°) |
| OKLab | oklab(44.58% 0.1039 -0.1427) |
| OKLCH | oklch(44.58% 0.177 306.1) |
| XYZ | xyz(13.5017, 7.6313, 33.5559) |
| Luminance | 0.0763 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 1.91
Purple (survey)
#7E1E9C
ΔE00 3.88
Purple Blue
#5D21D0
ΔE00 7.82
Bluey Purple
#6241C7
ΔE00 8.21
Darkmagenta
#8B008B
ΔE00 8.34
Blue With A Hint Of Purple
#533CC6
ΔE00 8.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6D2D9F #5F9F2D
analogous
#342D9F #6D2D9F #9F2D98
triadic
#6D2D9F #9F6D2D #2D9F6D
tetradic
#6D2D9F #9F342D #5F9F2D #2D989F
square
#6D2D9F #9F342D #5F9F2D #2D989F
split-complementary
#6D2D9F #989F2D #2D9F34
monochromatic
#2C1240 #4C206F #6D2D9F #8D40C9 #A970D6
Accessibility & contrast
On white
8.31
#6D2D9F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.53
#6D2D9F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6D2D9F
8.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6D2D9F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6D2D9F | 1.00 | 8.31 | 2.53 | 8.31 |
| #FFFFFF | 8.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004CA2
Deuteranopia (green-blind)
#004E9D
Tritanopia (blue-blind)
#644763
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #6d2d9f; /* rgb */ color: rgb(109, 45, 159); /* oklch */ color: oklch(44.6% 0.177 306.1);
Tailwind
colors: {
custom: {
50: '#9b6cbc',
500: '#6d2d9f',
950: '#000000',
},
}SCSS
$custom: #6d2d9f; $custom-light: #9b6cbc; $custom-dark: #000000;
JSON
{
"hex": "#6d2d9f",
"rgb": {
"r": 109,
"g": 45,
"b": 159
},
"hsl": {
"h": 273.684,
"s": 55.882,
"l": 40
},
"oklch": {
"l": 0.44582,
"c": 0.17657,
"h": 306.1
},
"luminance": 0.07631
}Semantic roles & 50–950 ramp
primary
#6D2D9F
secondary
#8FBE6A
accent
#DF498B
background
#F9F6FB
surface
#F2ECF6
border
#CCC7D0
text
#0F0712
muted
#7E7A81