#6D1F98#6D1F98
#6D1F98 is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.6% C 0.185 H 309.8°. Best body text is #FFFFFF at 9.13:1 contrast (WCAG AA passes).
Color values
| HEX | #6D1F98 |
|---|---|
| RGB | rgb(109, 31, 152) |
| HSL | hsl(279, 66%, 36%) |
| HSV | hsv(279, 80%, 60%) |
| CMYK | cmyk(28.3%, 79.6%, 0%, 40.4%) |
| CIE-LAB | lab(30.64, 53.00, -50.16) |
| CIE-LCH | lch(30.64, 72.97, 316.57°) |
| OKLab | oklab(42.6% 0.1187 -0.1423) |
| OKLCH | oklch(42.6% 0.185 309.8) |
| XYZ | xyz(12.4630, 6.4984, 30.2975) |
| Luminance | 0.0650 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 3.19
Rebeccapurple
#663399
ΔE00 3.86
Purple
#800080
ΔE00 6.85
Darkmagenta
#8B008B
ΔE00 7.01
Indigo
#4B0082
ΔE00 7.66
Darkish Purple
#751973
ΔE00 7.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6D1F98 #4A981F
analogous
#311F98 #6D1F98 #981F86
triadic
#6D1F98 #986D1F #1F986D
tetradic
#6D1F98 #98311F #4A981F #1F8698
square
#6D1F98 #98311F #4A981F #1F8698
split-complementary
#6D1F98 #86981F #1F9831
monochromatic
#240A32 #491565 #6D1F98 #9129CB #AC55DC
Accessibility & contrast
On white
9.13
#6D1F98 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.30
#6D1F98 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6D1F98
9.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6D1F98 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6D1F98 | 1.00 | 9.13 | 2.30 | 9.13 |
| #FFFFFF | 9.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00459B
Deuteranopia (green-blind)
#004996
Tritanopia (blue-blind)
#673D5B
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #6d1f98; /* rgb */ color: rgb(109, 31, 152); /* oklch */ color: oklch(42.6% 0.185 309.8);
Tailwind
colors: {
custom: {
50: '#9c64b7',
500: '#6d1f98',
950: '#000000',
},
}SCSS
$custom: #6d1f98; $custom-light: #9c64b7; $custom-dark: #000000;
JSON
{
"hex": "#6d1f98",
"rgb": {
"r": 109,
"g": 31,
"b": 152
},
"hsl": {
"h": 278.678,
"s": 66.12,
"l": 35.882
},
"oklch": {
"l": 0.426,
"c": 0.18534,
"h": 309.8
},
"luminance": 0.06498
}Semantic roles & 50–950 ramp
primary
#6D1F98
secondary
#7AC053
accent
#E93F7B
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0611
muted
#7F7A80