#3F189F#3F189F
#3F189F is a dark, vivid violet. Relative luminance 0.042; OKLCH L 37.1% C 0.194 H 285.1°. Best body text is #FFFFFF at 11.40:1 contrast (WCAG AA passes).
Color values
| HEX | #3F189F |
|---|---|
| RGB | rgb(63, 24, 159) |
| HSL | hsl(257, 74%, 36%) |
| HSV | hsv(257, 85%, 62%) |
| CMYK | cmyk(60.4%, 84.9%, 0%, 37.6%) |
| CIE-LAB | lab(24.36, 50.78, -64.96) |
| CIE-LCH | lch(24.36, 82.45, 308.01°) |
| OKLab | oklab(37.13% 0.0505 -0.1872) |
| OKLCH | oklch(37.13% 0.194 285.1) |
| XYZ | xyz(8.6326, 4.2127, 33.1524) |
| Luminance | 0.0421 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 2.48
Ultramarine
#2000B1
ΔE00 4.14
Cobalt Blue
#030AA7
ΔE00 4.63
Royal Blue (survey)
#0504AA
ΔE00 4.76
Royal
#0C1793
ΔE00 5.03
Indigo (survey)
#380282
ΔE00 5.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F189F #789F18
analogous
#18359F #3F189F #82189F
triadic
#3F189F #9F3F18 #189F3F
tetradic
#3F189F #9F1835 #789F18 #189F82
square
#3F189F #9F1835 #789F18 #189F82
split-complementary
#3F189F #9F8218 #359F18
monochromatic
#150835 #2A106A #3F189F #5420D4 #794DE4
Accessibility & contrast
On white
11.40
#3F189F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.84
#3F189F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F189F
11.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F189F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F189F | 1.00 | 11.40 | 1.84 | 11.40 |
| #FFFFFF | 11.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003DA3
Deuteranopia (green-blind)
#00369D
Tritanopia (blue-blind)
#00435E
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #3f189f; /* rgb */ color: rgb(63, 24, 159); /* oklch */ color: oklch(37.1% 0.194 285.1);
Tailwind
colors: {
custom: {
50: '#815cbd',
500: '#3f189f',
950: '#000000',
},
}SCSS
$custom: #3f189f; $custom-light: #815cbd; $custom-dark: #000000;
JSON
{
"hex": "#3f189f",
"rgb": {
"r": 63,
"g": 24,
"b": 159
},
"hsl": {
"h": 257.333,
"s": 73.77,
"l": 35.882
},
"oklch": {
"l": 0.37132,
"c": 0.19389,
"h": 285.1
},
"luminance": 0.04213
}Semantic roles & 50–950 ramp
primary
#3F189F
secondary
#A3C64D
accent
#F037BB
background
#F8F5FB
surface
#F0E9F7
border
#CBC5D0
text
#0C0412
muted
#7D7981