#3F188F#3F188F
#3F188F is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.4% C 0.176 H 288.7°. Best body text is #FFFFFF at 12.08:1 contrast (WCAG AA passes).
Color values
| HEX | #3F188F |
|---|---|
| RGB | rgb(63, 24, 143) |
| HSL | hsl(260, 71%, 33%) |
| HSV | hsv(260, 83%, 56%) |
| CMYK | cmyk(55.9%, 83.2%, 0%, 43.9%) |
| CIE-LAB | lab(22.63, 46.35, -57.97) |
| CIE-LCH | lch(22.63, 74.22, 308.65°) |
| OKLab | oklab(35.43% 0.0564 -0.1668) |
| OKLCH | oklch(35.43% 0.176 288.7) |
| XYZ | xyz(7.3330, 3.6928, 26.3077) |
| Luminance | 0.0369 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 3.58
Indigo
#4B0082
ΔE00 4.18
Indigo Blue
#3A18B1
ΔE00 4.79
Royal
#0C1793
ΔE00 4.97
Cobalt Blue
#030AA7
ΔE00 5.65
Ultramarine
#2000B1
ΔE00 5.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F188F #688F18
analogous
#182C8F #3F188F #7A188F
triadic
#3F188F #8F3F18 #188F3F
tetradic
#3F188F #8F182C #688F18 #188F7A
square
#3F188F #8F182C #688F18 #188F7A
split-complementary
#3F188F #8F7A18 #2C8F18
monochromatic
#110626 #280F5B #3F188F #5621C3 #7642DF
Accessibility & contrast
On white
12.08
#3F188F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.74
#3F188F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F188F
12.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F188F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F188F | 1.00 | 12.08 | 1.74 | 12.08 |
| #FFFFFF | 12.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003892
Deuteranopia (green-blind)
#00338D
Tritanopia (blue-blind)
#1D3C55
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #3f188f; /* rgb */ color: rgb(63, 24, 143); /* oklch */ color: oklch(35.4% 0.176 288.7);
Tailwind
colors: {
custom: {
50: '#7e5bb1',
500: '#3f188f',
950: '#000000',
},
}SCSS
$custom: #3f188f; $custom-light: #7e5bb1; $custom-dark: #000000;
JSON
{
"hex": "#3f188f",
"rgb": {
"r": 63,
"g": 24,
"b": 143
},
"hsl": {
"h": 259.664,
"s": 71.257,
"l": 32.745
},
"oklch": {
"l": 0.35426,
"c": 0.17608,
"h": 288.7
},
"luminance": 0.03693
}Semantic roles & 50–950 ramp
primary
#3F188F
secondary
#97C043
accent
#EE3AB3
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0411
muted
#7C7980