#3F248E#3F248E
#3F248E is a dark, vivid violet. Relative luminance 0.043; OKLCH L 36.7% C 0.163 H 287.1°. Best body text is #FFFFFF at 11.32:1 contrast (WCAG AA passes).
Color values
| HEX | #3F248E |
|---|---|
| RGB | rgb(63, 36, 142) |
| HSL | hsl(255, 60%, 35%) |
| HSV | hsv(255, 75%, 56%) |
| CMYK | cmyk(55.6%, 74.6%, 0%, 44.3%) |
| CIE-LAB | lab(24.55, 40.27, -54.19) |
| CIE-LCH | lch(24.55, 67.51, 306.62°) |
| OKLab | oklab(36.74% 0.0478 -0.1559) |
| OKLCH | oklch(36.74% 0.163 287.1) |
| XYZ | xyz(7.5618, 4.2711, 26.0119) |
| Luminance | 0.0427 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 5.33
Royal
#0C1793
ΔE00 5.52
Indigo (survey)
#380282
ΔE00 5.67
Indigo
#4B0082
ΔE00 6.05
Midnight Blue
#191970
ΔE00 6.82
Cobalt Blue
#030AA7
ΔE00 6.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F248E #738E24
analogous
#243E8E #3F248E #74248E
triadic
#3F248E #8E3F24 #248E3F
tetradic
#3F248E #8E243E #738E24 #248E74
square
#3F248E #8E243E #738E24 #248E74
split-complementary
#3F248E #8E7424 #3E8E24
monochromatic
#140B2C #29185D #3F248E #5530BF #7858D5
Accessibility & contrast
On white
11.32
#3F248E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.85
#3F248E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F248E
11.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F248E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F248E | 1.00 | 11.32 | 1.85 | 11.32 |
| #FFFFFF | 11.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003D91
Deuteranopia (green-blind)
#00378C
Tritanopia (blue-blind)
#1E4157
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #3f248e; /* rgb */ color: rgb(63, 36, 142); /* oklch */ color: oklch(36.7% 0.163 287.1);
Tailwind
colors: {
custom: {
50: '#7d62b0',
500: '#3f248e',
950: '#000000',
},
}SCSS
$custom: #3f248e; $custom-light: #7d62b0; $custom-dark: #000000;
JSON
{
"hex": "#3f248e",
"rgb": {
"r": 63,
"g": 36,
"b": 142
},
"hsl": {
"h": 255.283,
"s": 59.551,
"l": 34.902
},
"oklch": {
"l": 0.36737,
"c": 0.16303,
"h": 287.1
},
"luminance": 0.04272
}Semantic roles & 50–950 ramp
primary
#3F248E
secondary
#9FB955
accent
#E345BB
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980