#3F247E#3F247E
#3F247E is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.2% C 0.143 H 291.0°. Best body text is #FFFFFF at 11.90:1 contrast (WCAG AA passes).
Color values
| HEX | #3F247E |
|---|---|
| RGB | rgb(63, 36, 126) |
| HSL | hsl(258, 56%, 32%) |
| HSV | hsv(258, 71%, 49%) |
| CMYK | cmyk(50%, 71.4%, 0%, 50.6%) |
| CIE-LAB | lab(23.08, 35.44, -46.56) |
| CIE-LCH | lch(23.08, 58.51, 307.28°) |
| OKLab | oklab(35.24% 0.0512 -0.1335) |
| OKLCH | oklch(35.24% 0.143 291) |
| XYZ | xyz(6.4456, 3.8246, 20.1332) |
| Luminance | 0.0382 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 5.81
Indigo
#4B0082
ΔE00 5.93
Midnight Blue
#191970
ΔE00 5.93
Royal
#0C1793
ΔE00 6.87
Darkslateblue
#483D8B
ΔE00 6.96
Royal Purple (survey)
#4B006E
ΔE00 7.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F247E #637E24
analogous
#24367E #3F247E #6C247E
triadic
#3F247E #7E3F24 #247E3F
tetradic
#3F247E #7E2436 #637E24 #247E6C
square
#3F247E #7E2436 #637E24 #247E6C
split-complementary
#3F247E #7E6C24 #367E24
monochromatic
#0F091F #27164E #3F247E #5732AE #7550CD
Accessibility & contrast
On white
11.90
#3F247E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.77
#3F247E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F247E
11.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F247E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F247E | 1.00 | 11.90 | 1.77 | 11.90 |
| #FFFFFF | 11.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003981
Deuteranopia (green-blind)
#00357C
Tritanopia (blue-blind)
#2B3B4E
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #3f247e; /* rgb */ color: rgb(63, 36, 126); /* oklch */ color: oklch(35.2% 0.143 291.0);
Tailwind
colors: {
custom: {
50: '#7a61a4',
500: '#3f247e',
950: '#000000',
},
}SCSS
$custom: #3f247e; $custom-light: #7a61a4; $custom-dark: #000000;
JSON
{
"hex": "#3f247e",
"rgb": {
"r": 63,
"g": 36,
"b": 126
},
"hsl": {
"h": 258,
"s": 55.556,
"l": 31.765
},
"oklch": {
"l": 0.35244,
"c": 0.14296,
"h": 291
},
"luminance": 0.03825
}Semantic roles & 50–950 ramp
primary
#3F247E
secondary
#93B04E
accent
#DF49B2
background
#F7F5FA
surface
#EEEAF4
border
#C9C6CE
text
#0A050F
muted
#7C797F