#6F2F9E#6F2F9E
#6F2F9E is a dark, vivid violet. Relative luminance 0.079; OKLCH L 45.0% C 0.173 H 307.1°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).
Color values
| HEX | #6F2F9E |
|---|---|
| RGB | rgb(111, 47, 158) |
| HSL | hsl(275, 54%, 40%) |
| HSV | hsv(275, 70%, 62%) |
| CMYK | cmyk(29.7%, 70.3%, 0%, 38%) |
| CIE-LAB | lab(33.73, 48.06, -48.78) |
| CIE-LCH | lch(33.73, 68.48, 314.57°) |
| OKLab | oklab(45% 0.1047 -0.1383) |
| OKLCH | oklch(45% 0.174 307.1) |
| XYZ | xyz(13.7423, 7.8813, 33.1384) |
| Luminance | 0.0788 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 1.92
Purple (survey)
#7E1E9C
ΔE00 3.71
Darkmagenta
#8B008B
ΔE00 8.11
Purple Blue
#5D21D0
ΔE00 8.27
Bluey Purple
#6241C7
ΔE00 8.32
Purple
#800080
ΔE00 8.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6F2F9E #5E9E2F
analogous
#382F9E #6F2F9E #9E2F95
triadic
#6F2F9E #9E6F2F #2F9E6F
tetradic
#6F2F9E #9E382F #5E9E2F #2F959E
square
#6F2F9E #9E382F #5E9E2F #2F959E
split-complementary
#6F2F9E #959E2F #2F9E38
monochromatic
#2D1340 #4E216F #6F2F9E #8F43C7 #AB72D5
Accessibility & contrast
On white
8.15
#6F2F9E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.58
#6F2F9E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6F2F9E
8.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6F2F9E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6F2F9E | 1.00 | 8.15 | 2.58 | 8.15 |
| #FFFFFF | 8.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004DA1
Deuteranopia (green-blind)
#0F509C
Tritanopia (blue-blind)
#674863
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #6f2f9e; /* rgb */ color: rgb(111, 47, 158); /* oklch */ color: oklch(45.0% 0.173 307.1);
Tailwind
colors: {
custom: {
50: '#9c6dbb',
500: '#6f2f9e',
950: '#000000',
},
}SCSS
$custom: #6f2f9e; $custom-light: #9c6dbb; $custom-dark: #000000;
JSON
{
"hex": "#6f2f9e",
"rgb": {
"r": 111,
"g": 47,
"b": 158
},
"hsl": {
"h": 274.595,
"s": 54.146,
"l": 40.196
},
"oklch": {
"l": 0.44996,
"c": 0.1735,
"h": 307.1
},
"luminance": 0.07881
}Semantic roles & 50–950 ramp
primary
#6F2F9E
secondary
#8EBD6C
accent
#DE4A89
background
#FAF6FB
surface
#F3ECF6
border
#CDC7D0
text
#0F0712
muted
#7F7A81