#6A1F94#6A1F94
#6A1F94 is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.9% C 0.181 H 309.7°. Best body text is #FFFFFF at 9.39:1 contrast (WCAG AA passes).
Color values
| HEX | #6A1F94 |
|---|---|
| RGB | rgb(106, 31, 148) |
| HSL | hsl(278, 65%, 35%) |
| HSV | hsv(278, 79%, 58%) |
| CMYK | cmyk(28.4%, 79.1%, 0%, 42%) |
| CIE-LAB | lab(29.87, 51.57, -48.98) |
| CIE-LCH | lch(29.87, 71.12, 316.48°) |
| OKLab | oklab(41.87% 0.1154 -0.139) |
| OKLCH | oklch(41.87% 0.181 309.7) |
| XYZ | xyz(11.7781, 6.1825, 28.5841) |
| Luminance | 0.0618 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 3.72
Rebeccapurple
#663399
ΔE00 3.92
Purple
#800080
ΔE00 6.79
Indigo
#4B0082
ΔE00 7.10
Darkmagenta
#8B008B
ΔE00 7.19
Darkish Purple
#751973
ΔE00 7.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6A1F94 #49941F
analogous
#301F94 #6A1F94 #941F83
triadic
#6A1F94 #946A1F #1F946A
tetradic
#6A1F94 #94301F #49941F #1F8394
square
#6A1F94 #94301F #49941F #1F8394
split-complementary
#6A1F94 #83941F #1F9430
monochromatic
#220A2F #461461 #6A1F94 #8E2AC7 #AA53DB
Accessibility & contrast
On white
9.39
#6A1F94 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.24
#6A1F94 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6A1F94
9.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6A1F94 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6A1F94 | 1.00 | 9.39 | 2.24 | 9.39 |
| #FFFFFF | 9.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004397
Deuteranopia (green-blind)
#004792
Tritanopia (blue-blind)
#643C59
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #6a1f94; /* rgb */ color: rgb(106, 31, 148); /* oklch */ color: oklch(41.9% 0.181 309.7);
Tailwind
colors: {
custom: {
50: '#9964b4',
500: '#6a1f94',
950: '#000000',
},
}SCSS
$custom: #6a1f94; $custom-light: #9964b4; $custom-dark: #000000;
JSON
{
"hex": "#6a1f94",
"rgb": {
"r": 106,
"g": 31,
"b": 148
},
"hsl": {
"h": 278.462,
"s": 65.363,
"l": 35.098
},
"oklch": {
"l": 0.41869,
"c": 0.18065,
"h": 309.7
},
"luminance": 0.06182
}Semantic roles & 50–950 ramp
primary
#6A1F94
secondary
#78BE51
accent
#E83F7C
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80