#3F108D#3F108D
#3F108D is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.5% C 0.180 H 290.1°. Best body text is #FFFFFF at 12.57:1 contrast (WCAG AA passes).
Color values
| HEX | #3F108D |
|---|---|
| RGB | rgb(63, 16, 141) |
| HSL | hsl(263, 80%, 31%) |
| HSV | hsv(263, 89%, 55%) |
| CMYK | cmyk(55.3%, 88.7%, 0%, 44.7%) |
| CIE-LAB | lab(21.39, 48.81, -58.76) |
| CIE-LCH | lch(21.39, 76.39, 309.72°) |
| OKLab | oklab(34.52% 0.0617 -0.169) |
| OKLCH | oklch(34.52% 0.18 290.1) |
| XYZ | xyz(7.0415, 3.3501, 25.4697) |
| Luminance | 0.0335 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 2.50
Indigo
#4B0082
ΔE00 3.28
Royal
#0C1793
ΔE00 5.21
Indigo Blue
#3A18B1
ΔE00 5.30
Cobalt Blue
#030AA7
ΔE00 5.61
Ultramarine
#2000B1
ΔE00 5.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F108D #5E8D10
analogous
#101F8D #3F108D #7D108D
triadic
#3F108D #8D3F10 #108D3F
tetradic
#3F108D #8D101F #5E8D10 #108D7D
square
#3F108D #8D101F #5E8D10 #108D7D
split-complementary
#3F108D #8D7D10 #1F8D10
monochromatic
#0E041F #260A56 #3F108D #5816C4 #7530E7
Accessibility & contrast
On white
12.57
#3F108D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.67
#3F108D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F108D
12.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F108D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F108D | 1.00 | 12.57 | 1.67 | 12.57 |
| #FFFFFF | 12.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003590
Deuteranopia (green-blind)
#00308B
Tritanopia (blue-blind)
#203952
Achromatopsia (no color)
#333333
Design tokens & code
CSS
--color: #3f108d; /* rgb */ color: rgb(63, 16, 141); /* oklch */ color: oklch(34.5% 0.180 290.1);
Tailwind
colors: {
custom: {
50: '#7e58b0',
500: '#3f108d',
950: '#000000',
},
}SCSS
$custom: #3f108d; $custom-light: #7e58b0; $custom-dark: #000000;
JSON
{
"hex": "#3f108d",
"rgb": {
"r": 63,
"g": 16,
"b": 141
},
"hsl": {
"h": 262.56,
"s": 79.618,
"l": 30.784
},
"oklch": {
"l": 0.34515,
"c": 0.17992,
"h": 290.1
},
"luminance": 0.0335
}Semantic roles & 50–950 ramp
primary
#3F108D
secondary
#8EC237
accent
#F632AC
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0411
muted
#7C7980