#3F2691#3F2691
#3F2691 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.3% C 0.164 H 286.0°. Best body text is #FFFFFF at 11.07:1 contrast (WCAG AA passes).
Color values
| HEX | #3F2691 |
|---|---|
| RGB | rgb(63, 38, 145) |
| HSL | hsl(254, 58%, 36%) |
| HSV | hsv(254, 74%, 57%) |
| CMYK | cmyk(56.6%, 73.8%, 0%, 43.1%) |
| CIE-LAB | lab(25.22, 40.09, -54.95) |
| CIE-LCH | lch(25.22, 68.02, 306.12°) |
| OKLab | oklab(37.3% 0.0454 -0.1581) |
| OKLCH | oklch(37.3% 0.164 286) |
| XYZ | xyz(7.8523, 4.4869, 27.2349) |
| Luminance | 0.0449 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 5.09
Royal
#0C1793
ΔE00 5.61
Indigo (survey)
#380282
ΔE00 6.22
Indigo
#4B0082
ΔE00 6.60
Darkslateblue
#483D8B
ΔE00 6.68
Cobalt Blue
#030AA7
ΔE00 6.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F2691 #789126
analogous
#264291 #3F2691 #742691
triadic
#3F2691 #913F26 #26913F
tetradic
#3F2691 #912642 #789126 #269174
square
#3F2691 #912642 #789126 #269174
split-complementary
#3F2691 #917426 #429126
monochromatic
#150D30 #2A1961 #3F2691 #5433C1 #795DD5
Accessibility & contrast
On white
11.07
#3F2691 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.90
#3F2691 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F2691
11.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F2691 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F2691 | 1.00 | 11.07 | 1.90 | 11.07 |
| #FFFFFF | 11.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003F94
Deuteranopia (green-blind)
#00398F
Tritanopia (blue-blind)
#1A4359
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #3f2691; /* rgb */ color: rgb(63, 38, 145); /* oklch */ color: oklch(37.3% 0.164 286.0);
Tailwind
colors: {
custom: {
50: '#7d63b2',
500: '#3f2691',
950: '#000000',
},
}SCSS
$custom: #3f2691; $custom-light: #7d63b2; $custom-dark: #000000;
JSON
{
"hex": "#3f2691",
"rgb": {
"r": 63,
"g": 38,
"b": 145
},
"hsl": {
"h": 254.019,
"s": 58.47,
"l": 35.882
},
"oklch": {
"l": 0.37299,
"c": 0.16449,
"h": 286
},
"luminance": 0.04487
}Semantic roles & 50–950 ramp
primary
#3F2691
secondary
#A3BA59
accent
#E246BD
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0511
muted
#7C7A80