#3F2394#3F2394
#3F2394 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.2% C 0.171 H 285.9°. Best body text is #FFFFFF at 11.17:1 contrast (WCAG AA passes).
Color values
| HEX | #3F2394 |
|---|---|
| RGB | rgb(63, 35, 148) |
| HSL | hsl(255, 62%, 36%) |
| HSV | hsv(255, 76%, 58%) |
| CMYK | cmyk(57.4%, 76.4%, 0%, 42%) |
| CIE-LAB | lab(24.94, 42.60, -57.26) |
| CIE-LCH | lch(24.94, 71.37, 306.65°) |
| OKLab | oklab(37.19% 0.0471 -0.1648) |
| OKLCH | oklch(37.19% 0.171 285.9) |
| XYZ | xyz(7.9946, 4.3965, 28.4386) |
| Luminance | 0.0440 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.38
Royal
#0C1793
ΔE00 5.26
Indigo (survey)
#380282
ΔE00 5.75
Indigo
#4B0082
ΔE00 6.18
Cobalt Blue
#030AA7
ΔE00 6.20
Ultramarine
#2000B1
ΔE00 6.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F2394 #789423
analogous
#233F94 #3F2394 #772394
triadic
#3F2394 #943F23 #23943F
tetradic
#3F2394 #94233F #789423 #239477
square
#3F2394 #94233F #789423 #239477
split-complementary
#3F2394 #947723 #3F9423
monochromatic
#150C31 #2A1763 #3F2394 #542FC5 #795AD8
Accessibility & contrast
On white
11.17
#3F2394 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.88
#3F2394 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F2394
11.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F2394 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F2394 | 1.00 | 11.17 | 1.88 | 11.17 |
| #FFFFFF | 11.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003E97
Deuteranopia (green-blind)
#003892
Tritanopia (blue-blind)
#16435A
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #3f2394; /* rgb */ color: rgb(63, 35, 148); /* oklch */ color: oklch(37.2% 0.171 285.9);
Tailwind
colors: {
custom: {
50: '#7e61b4',
500: '#3f2394',
950: '#000000',
},
}SCSS
$custom: #3f2394; $custom-light: #7e61b4; $custom-dark: #000000;
JSON
{
"hex": "#3f2394",
"rgb": {
"r": 63,
"g": 35,
"b": 148
},
"hsl": {
"h": 254.867,
"s": 61.749,
"l": 35.882
},
"oklch": {
"l": 0.3719,
"c": 0.17143,
"h": 285.9
},
"luminance": 0.04397
}Semantic roles & 50–950 ramp
primary
#3F2394
secondary
#A3BC57
accent
#E543BD
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980