#3F2193#3F2193
#3F2193 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 36.8% C 0.172 H 286.5°. Best body text is #FFFFFF at 11.35:1 contrast (WCAG AA passes).
Color values
| HEX | #3F2193 |
|---|---|
| RGB | rgb(63, 33, 147) |
| HSL | hsl(256, 63%, 35%) |
| HSV | hsv(256, 78%, 58%) |
| CMYK | cmyk(57.1%, 77.6%, 0%, 42.4%) |
| CIE-LAB | lab(24.48, 43.33, -57.39) |
| CIE-LCH | lch(24.48, 71.91, 307.05°) |
| OKLab | oklab(36.84% 0.0489 -0.1652) |
| OKLCH | oklch(36.84% 0.172 286.5) |
| XYZ | xyz(7.8586, 4.2506, 28.0045) |
| Luminance | 0.0425 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.37
Royal
#0C1793
ΔE00 5.12
Indigo (survey)
#380282
ΔE00 5.31
Indigo
#4B0082
ΔE00 5.77
Cobalt Blue
#030AA7
ΔE00 6.03
Ultramarine
#2000B1
ΔE00 6.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F2193 #759321
analogous
#213C93 #3F2193 #782193
triadic
#3F2193 #933F21 #21933F
tetradic
#3F2193 #93213C #759321 #219378
square
#3F2193 #93213C #759321 #219378
split-complementary
#3F2193 #937821 #3C9321
monochromatic
#140B2F #2A1661 #3F2193 #542CC5 #7855D9
Accessibility & contrast
On white
11.35
#3F2193 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.85
#3F2193 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F2193
11.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F2193 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F2193 | 1.00 | 11.35 | 1.85 | 11.35 |
| #FFFFFF | 11.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003D96
Deuteranopia (green-blind)
#003791
Tritanopia (blue-blind)
#184159
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #3f2193; /* rgb */ color: rgb(63, 33, 147); /* oklch */ color: oklch(36.8% 0.172 286.5);
Tailwind
colors: {
custom: {
50: '#7e60b4',
500: '#3f2193',
950: '#000000',
},
}SCSS
$custom: #3f2193; $custom-light: #7e60b4; $custom-dark: #000000;
JSON
{
"hex": "#3f2193",
"rgb": {
"r": 63,
"g": 33,
"b": 147
},
"hsl": {
"h": 255.789,
"s": 63.333,
"l": 35.294
},
"oklch": {
"l": 0.36839,
"c": 0.17229,
"h": 286.5
},
"luminance": 0.04251
}Semantic roles & 50–950 ramp
primary
#3F2193
secondary
#A1BD53
accent
#E641BB
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980