#3F2391#3F2391
#3F2391 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 36.9% C 0.168 H 286.6°. Best body text is #FFFFFF at 11.29:1 contrast (WCAG AA passes).
Color values
| HEX | #3F2391 |
|---|---|
| RGB | rgb(63, 35, 145) |
| HSL | hsl(255, 61%, 35%) |
| HSV | hsv(255, 76%, 57%) |
| CMYK | cmyk(56.6%, 75.9%, 0%, 43.1%) |
| CIE-LAB | lab(24.65, 41.70, -55.88) |
| CIE-LCH | lch(24.65, 69.73, 306.73°) |
| OKLab | oklab(36.9% 0.0479 -0.1608) |
| OKLCH | oklch(36.9% 0.168 286.6) |
| XYZ | xyz(7.7602, 4.3027, 27.2042) |
| Luminance | 0.0430 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.81
Royal
#0C1793
ΔE00 5.32
Indigo (survey)
#380282
ΔE00 5.58
Indigo
#4B0082
ΔE00 6.00
Cobalt Blue
#030AA7
ΔE00 6.43
Ultramarine
#2000B1
ΔE00 6.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F2391 #759123
analogous
#233E91 #3F2391 #762391
triadic
#3F2391 #913F23 #23913F
tetradic
#3F2391 #91233E #759123 #239176
square
#3F2391 #91233E #759123 #239176
split-complementary
#3F2391 #917623 #3E9123
monochromatic
#140B2E #2A1760 #3F2391 #542FC2 #7858D7
Accessibility & contrast
On white
11.29
#3F2391 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.86
#3F2391 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F2391
11.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F2391 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F2391 | 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)
#003D94
Deuteranopia (green-blind)
#00378F
Tritanopia (blue-blind)
#1A4158
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #3f2391; /* rgb */ color: rgb(63, 35, 145); /* oklch */ color: oklch(36.9% 0.168 286.6);
Tailwind
colors: {
custom: {
50: '#7e61b2',
500: '#3f2391',
950: '#000000',
},
}SCSS
$custom: #3f2391; $custom-light: #7e61b2; $custom-dark: #000000;
JSON
{
"hex": "#3f2391",
"rgb": {
"r": 63,
"g": 35,
"b": 145
},
"hsl": {
"h": 255.273,
"s": 61.111,
"l": 35.294
},
"oklch": {
"l": 0.36895,
"c": 0.1678,
"h": 286.6
},
"luminance": 0.04303
}Semantic roles & 50–950 ramp
primary
#3F2391
secondary
#A1BB55
accent
#E444BB
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980