#3F258D#3F258D
#3F258D is a dark, vivid violet. Relative luminance 0.043; OKLCH L 36.8% C 0.161 H 287.1°. Best body text is #FFFFFF at 11.29:1 contrast (WCAG AA passes).
Color values
| HEX | #3F258D |
|---|---|
| RGB | rgb(63, 37, 141) |
| HSL | hsl(255, 58%, 35%) |
| HSV | hsv(255, 74%, 55%) |
| CMYK | cmyk(55.3%, 73.8%, 0%, 44.7%) |
| CIE-LAB | lab(24.65, 39.42, -53.40) |
| CIE-LCH | lch(24.65, 66.38, 306.44°) |
| OKLab | oklab(36.78% 0.0472 -0.1536) |
| OKLCH | oklch(36.78% 0.161 287.1) |
| XYZ | xyz(7.5178, 4.3026, 25.6285) |
| Luminance | 0.0430 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 5.57
Royal
#0C1793
ΔE00 5.66
Indigo (survey)
#380282
ΔE00 5.86
Indigo
#4B0082
ΔE00 6.22
Darkslateblue
#483D8B
ΔE00 6.77
Midnight Blue
#191970
ΔE00 6.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F258D #738D25
analogous
#253F8D #3F258D #73258D
triadic
#3F258D #8D3F25 #258D3F
tetradic
#3F258D #8D253F #738D25 #258D73
square
#3F258D #8D253F #738D25 #258D73
split-complementary
#3F258D #8D7325 #3F8D25
monochromatic
#140C2C #29185D #3F258D #5532BD #7859D3
Accessibility & contrast
On white
11.29
#3F258D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.86
#3F258D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F258D
11.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F258D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F258D | 1.00 | 11.29 | 1.86 | 11.29 |
| #FFFFFF | 11.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003D90
Deuteranopia (green-blind)
#00388B
Tritanopia (blue-blind)
#1F4156
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #3f258d; /* rgb */ color: rgb(63, 37, 141); /* oklch */ color: oklch(36.8% 0.161 287.1);
Tailwind
colors: {
custom: {
50: '#7d62af',
500: '#3f258d',
950: '#000000',
},
}SCSS
$custom: #3f258d; $custom-light: #7d62af; $custom-dark: #000000;
JSON
{
"hex": "#3f258d",
"rgb": {
"r": 63,
"g": 37,
"b": 141
},
"hsl": {
"h": 255,
"s": 58.427,
"l": 34.902
},
"oklch": {
"l": 0.36778,
"c": 0.16065,
"h": 287.1
},
"luminance": 0.04303
}Semantic roles & 50–950 ramp
primary
#3F258D
secondary
#9FB856
accent
#E246BB
background
#F8F5FA
surface
#EFEAF5
border
#CAC6CF
text
#0B0510
muted
#7C797F