#3F106A#3F106A
#3F106A is a dark, vivid violet. Relative luminance 0.025; OKLCH L 30.9% C 0.143 H 301.9°. Best body text is #FFFFFF at 14.06:1 contrast (WCAG AA passes).
Color values
| HEX | #3F106A |
|---|---|
| RGB | rgb(63, 16, 106) |
| HSL | hsl(271, 74%, 24%) |
| HSV | hsv(271, 85%, 42%) |
| CMYK | cmyk(40.6%, 84.9%, 0%, 58.4%) |
| CIE-LAB | lab(17.77, 39.70, -42.37) |
| CIE-LCH | lch(17.77, 58.06, 313.14°) |
| OKLab | oklab(30.93% 0.0753 -0.121) |
| OKLCH | oklch(30.93% 0.143 301.9) |
| XYZ | xyz(4.8361, 2.4679, 13.8544) |
| Luminance | 0.0247 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple (survey)
#4B006E
ΔE00 2.92
Indigo
#4B0082
ΔE00 4.46
Indigo (survey)
#380282
ΔE00 4.94
Dark Indigo
#1F0954
ΔE00 6.08
Midnight Blue
#191970
ΔE00 7.06
Dark Royal Blue
#02066F
ΔE00 7.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F106A #3B6A10
analogous
#12106A #3F106A #6A1068
triadic
#3F106A #6A3F10 #106A3F
tetradic
#3F106A #6A1210 #3B6A10 #10686A
square
#3F106A #6A1210 #3B6A10 #10686A
split-complementary
#3F106A #686A10 #106A12
monochromatic
#10041B #1F0835 #3F106A #5F189F #7E20D4
Accessibility & contrast
On white
14.06
#3F106A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.49
#3F106A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F106A
14.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F106A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F106A | 1.00 | 14.06 | 1.49 | 14.06 |
| #FFFFFF | 14.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002B6C
Deuteranopia (green-blind)
#002B68
Tritanopia (blue-blind)
#36293E
Achromatopsia (no color)
#2C2C2C
Design tokens & code
CSS
--color: #3f106a; /* rgb */ color: rgb(63, 16, 106); /* oklch */ color: oklch(30.9% 0.143 301.9);
Tailwind
colors: {
custom: {
50: '#795595',
500: '#3f106a',
950: '#000000',
},
}SCSS
$custom: #3f106a; $custom-light: #795595; $custom-dark: #000000;
JSON
{
"hex": "#3f106a",
"rgb": {
"r": 63,
"g": 16,
"b": 106
},
"hsl": {
"h": 271.333,
"s": 73.77,
"l": 23.922
},
"oklch": {
"l": 0.30934,
"c": 0.14254,
"h": 301.9
},
"luminance": 0.02468
}Semantic roles & 50–950 ramp
primary
#3F106A
secondary
#68A234
accent
#F03790
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A030D
muted
#7C787E