#3F2293#3F2293
#3F2293 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.0% C 0.171 H 286.3°. Best body text is #FFFFFF at 11.28:1 contrast (WCAG AA passes).
Color values
| HEX | #3F2293 |
|---|---|
| RGB | rgb(63, 34, 147) |
| HSL | hsl(255, 62%, 35%) |
| HSV | hsv(255, 77%, 58%) |
| CMYK | cmyk(57.1%, 76.9%, 0%, 42.4%) |
| CIE-LAB | lab(24.66, 42.82, -57.10) |
| CIE-LCH | lch(24.66, 71.37, 306.87°) |
| OKLab | oklab(36.96% 0.0481 -0.1644) |
| OKLCH | oklch(36.96% 0.171 286.3) |
| XYZ | xyz(7.8868, 4.3070, 28.0138) |
| Luminance | 0.0431 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.44
Royal
#0C1793
ΔE00 5.19
Indigo (survey)
#380282
ΔE00 5.50
Indigo
#4B0082
ΔE00 5.94
Cobalt Blue
#030AA7
ΔE00 6.15
Ultramarine
#2000B1
ΔE00 6.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F2293 #769322
analogous
#223E93 #3F2293 #772293
triadic
#3F2293 #933F22 #22933F
tetradic
#3F2293 #93223E #769322 #229377
square
#3F2293 #93223E #769322 #229377
split-complementary
#3F2293 #937722 #3E9322
monochromatic
#140B30 #2A1761 #3F2293 #542DC5 #7857D8
Accessibility & contrast
On white
11.28
#3F2293 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.86
#3F2293 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F2293
11.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F2293 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F2293 | 1.00 | 11.28 | 1.86 | 11.28 |
| #FFFFFF | 11.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003D96
Deuteranopia (green-blind)
#003791
Tritanopia (blue-blind)
#184259
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #3f2293; /* rgb */ color: rgb(63, 34, 147); /* oklch */ color: oklch(37.0% 0.171 286.3);
Tailwind
colors: {
custom: {
50: '#7e61b4',
500: '#3f2293',
950: '#000000',
},
}SCSS
$custom: #3f2293; $custom-light: #7e61b4; $custom-dark: #000000;
JSON
{
"hex": "#3f2293",
"rgb": {
"r": 63,
"g": 34,
"b": 147
},
"hsl": {
"h": 255.398,
"s": 62.431,
"l": 35.49
},
"oklch": {
"l": 0.36964,
"c": 0.17126,
"h": 286.3
},
"luminance": 0.04307
}Semantic roles & 50–950 ramp
primary
#3F2293
secondary
#A2BC55
accent
#E542BC
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980