#3F2192#3F2192
#3F2192 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.7% C 0.171 H 286.7°. Best body text is #FFFFFF at 11.39:1 contrast (WCAG AA passes).
Color values
| HEX | #3F2192 |
|---|---|
| RGB | rgb(63, 33, 146) |
| HSL | hsl(256, 63%, 35%) |
| HSV | hsv(256, 77%, 57%) |
| CMYK | cmyk(56.8%, 77.4%, 0%, 42.7%) |
| CIE-LAB | lab(24.38, 43.03, -56.94) |
| CIE-LCH | lch(24.38, 71.37, 307.08°) |
| OKLab | oklab(36.74% 0.0492 -0.1639) |
| OKLCH | oklch(36.74% 0.171 286.7) |
| XYZ | xyz(7.7805, 4.2194, 27.5930) |
| Luminance | 0.0422 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.52
Royal
#0C1793
ΔE00 5.14
Indigo (survey)
#380282
ΔE00 5.25
Indigo
#4B0082
ΔE00 5.70
Cobalt Blue
#030AA7
ΔE00 6.11
Ultramarine
#2000B1
ΔE00 6.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F2192 #749221
analogous
#213C92 #3F2192 #772192
triadic
#3F2192 #923F21 #21923F
tetradic
#3F2192 #92213C #749221 #219277
square
#3F2192 #92213C #749221 #219277
split-complementary
#3F2192 #927721 #3C9221
monochromatic
#140A2E #291660 #3F2192 #552CC4 #7855D9
Accessibility & contrast
On white
11.39
#3F2192 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.84
#3F2192 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F2192
11.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F2192 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F2192 | 1.00 | 11.39 | 1.84 | 11.39 |
| #FFFFFF | 11.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003D95
Deuteranopia (green-blind)
#003790
Tritanopia (blue-blind)
#194158
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #3f2192; /* rgb */ color: rgb(63, 33, 146); /* oklch */ color: oklch(36.7% 0.171 286.7);
Tailwind
colors: {
custom: {
50: '#7e60b3',
500: '#3f2192',
950: '#000000',
},
}SCSS
$custom: #3f2192; $custom-light: #7e60b3; $custom-dark: #000000;
JSON
{
"hex": "#3f2192",
"rgb": {
"r": 63,
"g": 33,
"b": 146
},
"hsl": {
"h": 255.929,
"s": 63.128,
"l": 35.098
},
"oklch": {
"l": 0.36739,
"c": 0.1711,
"h": 286.7
},
"luminance": 0.0422
}Semantic roles & 50–950 ramp
primary
#3F2192
secondary
#A0BC53
accent
#E642BA
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980