#3F2491#3F2491
#3F2491 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.0% C 0.167 H 286.4°. Best body text is #FFFFFF at 11.21:1 contrast (WCAG AA passes).
Color values
| HEX | #3F2491 |
|---|---|
| RGB | rgb(63, 36, 145) |
| HSL | hsl(255, 60%, 35%) |
| HSV | hsv(255, 75%, 57%) |
| CMYK | cmyk(56.6%, 75.2%, 0%, 43.1%) |
| CIE-LAB | lab(24.84, 41.18, -55.58) |
| CIE-LCH | lch(24.84, 69.17, 306.53°) |
| OKLab | oklab(37.03% 0.0471 -0.1599) |
| OKLCH | oklch(37.03% 0.167 286.4) |
| XYZ | xyz(7.7901, 4.3624, 27.2141) |
| Luminance | 0.0436 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.89
Royal
#0C1793
ΔE00 5.41
Indigo (survey)
#380282
ΔE00 5.79
Indigo
#4B0082
ΔE00 6.19
Cobalt Blue
#030AA7
ΔE00 6.57
Ultramarine
#2000B1
ΔE00 6.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F2491 #769124
analogous
#244091 #3F2491 #752491
triadic
#3F2491 #913F24 #24913F
tetradic
#3F2491 #912440 #769124 #249175
square
#3F2491 #912440 #769124 #249175
split-complementary
#3F2491 #917524 #409124
monochromatic
#140C2F #2A1860 #3F2491 #5430C2 #7859D6
Accessibility & contrast
On white
11.21
#3F2491 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.87
#3F2491 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F2491
11.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F2491 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F2491 | 1.00 | 11.21 | 1.87 | 11.21 |
| #FFFFFF | 11.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003E94
Deuteranopia (green-blind)
#00388F
Tritanopia (blue-blind)
#1A4258
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #3f2491; /* rgb */ color: rgb(63, 36, 145); /* oklch */ color: oklch(37.0% 0.167 286.4);
Tailwind
colors: {
custom: {
50: '#7e62b2',
500: '#3f2491',
950: '#000000',
},
}SCSS
$custom: #3f2491; $custom-light: #7e62b2; $custom-dark: #000000;
JSON
{
"hex": "#3f2491",
"rgb": {
"r": 63,
"g": 36,
"b": 145
},
"hsl": {
"h": 254.862,
"s": 60.221,
"l": 35.49
},
"oklch": {
"l": 0.37027,
"c": 0.16671,
"h": 286.4
},
"luminance": 0.04363
}Semantic roles & 50–950 ramp
primary
#3F2491
secondary
#A2BA56
accent
#E344BC
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980