#6F2D9C#6F2D9C
#6F2D9C is a dark, vivid violet. Relative luminance 0.077; OKLCH L 44.6% C 0.174 H 308.0°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).
Color values
| HEX | #6F2D9C |
|---|---|
| RGB | rgb(111, 45, 156) |
| HSL | hsl(276, 55%, 39%) |
| HSV | hsv(276, 71%, 61%) |
| CMYK | cmyk(28.8%, 71.2%, 0%, 38.8%) |
| CIE-LAB | lab(33.26, 48.52, -48.34) |
| CIE-LCH | lch(33.26, 68.49, 315.10°) |
| OKLab | oklab(44.61% 0.1072 -0.137) |
| OKLCH | oklch(44.61% 0.174 308) |
| XYZ | xyz(13.4934, 7.6568, 32.2131) |
| Luminance | 0.0766 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 2.09
Purple (survey)
#7E1E9C
ΔE00 3.39
Darkmagenta
#8B008B
ΔE00 7.74
Purple
#800080
ΔE00 8.03
Purple Blue
#5D21D0
ΔE00 8.50
Darkish Purple
#751973
ΔE00 8.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6F2D9C #5A9C2D
analogous
#382D9C #6F2D9C #9C2D92
triadic
#6F2D9C #9C6F2D #2D9C6F
tetradic
#6F2D9C #9C382D #5A9C2D #2D929C
square
#6F2D9C #9C382D #5A9C2D #2D929C
split-complementary
#6F2D9C #929C2D #2D9C38
monochromatic
#2B123D #4D1F6D #6F2D9C #903FC8 #AB6ED5
Accessibility & contrast
On white
8.30
#6F2D9C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.53
#6F2D9C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6F2D9C
8.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6F2D9C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6F2D9C | 1.00 | 8.30 | 2.53 | 8.30 |
| #FFFFFF | 8.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004C9F
Deuteranopia (green-blind)
#104F9A
Tritanopia (blue-blind)
#684661
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #6f2d9c; /* rgb */ color: rgb(111, 45, 156); /* oklch */ color: oklch(44.6% 0.174 308.0);
Tailwind
colors: {
custom: {
50: '#9c6cba',
500: '#6f2d9c',
950: '#000000',
},
}SCSS
$custom: #6f2d9c; $custom-light: #9c6cba; $custom-dark: #000000;
JSON
{
"hex": "#6f2d9c",
"rgb": {
"r": 111,
"g": 45,
"b": 156
},
"hsl": {
"h": 275.676,
"s": 55.224,
"l": 39.412
},
"oklch": {
"l": 0.44609,
"c": 0.17395,
"h": 308
},
"luminance": 0.07657
}Semantic roles & 50–950 ramp
primary
#6F2D9C
secondary
#8ABC68
accent
#DF4986
background
#FAF6FB
surface
#F3ECF6
border
#CDC7D0
text
#0F0712
muted
#7F7A81