#3F188E#3F188E
#3F188E is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.3% C 0.175 H 288.9°. Best body text is #FFFFFF at 12.12:1 contrast (WCAG AA passes).
Color values
| HEX | #3F188E |
|---|---|
| RGB | rgb(63, 24, 142) |
| HSL | hsl(260, 71%, 33%) |
| HSV | hsv(260, 83%, 56%) |
| CMYK | cmyk(55.6%, 83.1%, 0%, 44.3%) |
| CIE-LAB | lab(22.52, 46.07, -57.52) |
| CIE-LCH | lch(22.52, 73.70, 308.70°) |
| OKLab | oklab(35.32% 0.0568 -0.1655) |
| OKLCH | oklch(35.32% 0.175 288.9) |
| XYZ | xyz(7.2576, 3.6627, 25.9105) |
| Luminance | 0.0366 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 3.50
Indigo
#4B0082
ΔE00 4.10
Indigo Blue
#3A18B1
ΔE00 4.94
Royal
#0C1793
ΔE00 5.01
Cobalt Blue
#030AA7
ΔE00 5.75
Ultramarine
#2000B1
ΔE00 5.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F188E #678E18
analogous
#182C8E #3F188E #7A188E
triadic
#3F188E #8E3F18 #188E3F
tetradic
#3F188E #8E182C #678E18 #188E7A
square
#3F188E #8E182C #678E18 #188E7A
split-complementary
#3F188E #8E7A18 #2C8E18
monochromatic
#110625 #280F5A #3F188E #5621C2 #7641DF
Accessibility & contrast
On white
12.12
#3F188E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.73
#3F188E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F188E
12.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F188E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F188E | 1.00 | 12.12 | 1.73 | 12.12 |
| #FFFFFF | 12.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003891
Deuteranopia (green-blind)
#00338C
Tritanopia (blue-blind)
#1F3C54
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #3f188e; /* rgb */ color: rgb(63, 24, 142); /* oklch */ color: oklch(35.3% 0.175 288.9);
Tailwind
colors: {
custom: {
50: '#7e5bb0',
500: '#3f188e',
950: '#000000',
},
}SCSS
$custom: #3f188e; $custom-light: #7e5bb0; $custom-dark: #000000;
JSON
{
"hex": "#3f188e",
"rgb": {
"r": 63,
"g": 24,
"b": 142
},
"hsl": {
"h": 259.831,
"s": 71.084,
"l": 32.549
},
"oklch": {
"l": 0.35321,
"c": 0.17496,
"h": 288.9
},
"luminance": 0.03663
}Semantic roles & 50–950 ramp
primary
#3F188E
secondary
#96C042
accent
#EE3AB2
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0411
muted
#7C7980