#3F116C#3F116C
#3F116C is a dark, vivid violet. Relative luminance 0.025; OKLCH L 31.2% C 0.144 H 300.9°. Best body text is #FFFFFF at 13.93:1 contrast (WCAG AA passes).
Color values
| HEX | #3F116C |
|---|---|
| RGB | rgb(63, 17, 108) |
| HSL | hsl(270, 73%, 25%) |
| HSV | hsv(270, 84%, 42%) |
| CMYK | cmyk(41.7%, 84.3%, 0%, 57.6%) |
| CIE-LAB | lab(18.10, 39.82, -43.14) |
| CIE-LCH | lch(18.10, 58.71, 312.71°) |
| OKLab | oklab(31.22% 0.0738 -0.1233) |
| OKLCH | oklch(31.22% 0.144 300.9) |
| XYZ | xyz(4.9565, 2.5403, 14.4137) |
| Luminance | 0.0254 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple (survey)
#4B006E
ΔE00 3.04
Indigo
#4B0082
ΔE00 4.24
Indigo (survey)
#380282
ΔE00 4.66
Dark Indigo
#1F0954
ΔE00 6.20
Midnight Blue
#191970
ΔE00 6.84
Dark Royal Blue
#02066F
ΔE00 7.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F116C #3E6C11
analogous
#12116C #3F116C #6C116C
triadic
#3F116C #6C3F11 #116C3F
tetradic
#3F116C #6C1211 #3E6C11 #116C6C
square
#3F116C #6C1211 #3E6C11 #116C6C
split-complementary
#3F116C #6C6C11 #116C12
monochromatic
#0F041A #200937 #3F116C #5E19A1 #7D22D6
Accessibility & contrast
On white
13.93
#3F116C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.51
#3F116C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F116C
13.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F116C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F116C | 1.00 | 13.93 | 1.51 | 13.93 |
| #FFFFFF | 13.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002C6E
Deuteranopia (green-blind)
#002C6A
Tritanopia (blue-blind)
#352A3F
Achromatopsia (no color)
#2C2C2C
Design tokens & code
CSS
--color: #3f116c; /* rgb */ color: rgb(63, 17, 108); /* oklch */ color: oklch(31.2% 0.144 300.9);
Tailwind
colors: {
custom: {
50: '#795697',
500: '#3f116c',
950: '#000000',
},
}SCSS
$custom: #3f116c; $custom-light: #795697; $custom-dark: #000000;
JSON
{
"hex": "#3f116c",
"rgb": {
"r": 63,
"g": 17,
"b": 108
},
"hsl": {
"h": 270.33,
"s": 72.8,
"l": 24.51
},
"oklch": {
"l": 0.3122,
"c": 0.14371,
"h": 300.9
},
"luminance": 0.0254
}Semantic roles & 50–950 ramp
primary
#3F116C
secondary
#6CA435
accent
#EF3893
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A030D
muted
#7C787E