#3F2296#3F2296
#3F2296 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.3% C 0.175 H 285.7°. Best body text is #FFFFFF at 11.17:1 contrast (WCAG AA passes).
Color values
| HEX | #3F2296 |
|---|---|
| RGB | rgb(63, 34, 150) |
| HSL | hsl(255, 63%, 36%) |
| HSV | hsv(255, 77%, 59%) |
| CMYK | cmyk(58%, 77.3%, 0%, 41.2%) |
| CIE-LAB | lab(24.96, 43.71, -58.46) |
| CIE-LCH | lch(24.96, 72.99, 306.79°) |
| OKLab | oklab(37.26% 0.0473 -0.1683) |
| OKLCH | oklch(37.26% 0.175 285.7) |
| XYZ | xyz(8.1253, 4.4023, 29.2698) |
| Luminance | 0.0440 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.02
Royal
#0C1793
ΔE00 5.17
Indigo (survey)
#380282
ΔE00 5.70
Cobalt Blue
#030AA7
ΔE00 5.94
Ultramarine
#2000B1
ΔE00 5.97
Indigo
#4B0082
ΔE00 6.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F2296 #799622
analogous
#223F96 #3F2296 #792296
triadic
#3F2296 #963F22 #22963F
tetradic
#3F2296 #96223F #799622 #229679
square
#3F2296 #96223F #799622 #229679
split-complementary
#3F2296 #967922 #3F9622
monochromatic
#150B32 #2A1764 #3F2296 #542DC8 #7959D9
Accessibility & contrast
On white
11.17
#3F2296 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.88
#3F2296 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F2296
11.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F2296 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F2296 | 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)
#003E99
Deuteranopia (green-blind)
#003894
Tritanopia (blue-blind)
#13435B
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #3f2296; /* rgb */ color: rgb(63, 34, 150); /* oklch */ color: oklch(37.3% 0.175 285.7);
Tailwind
colors: {
custom: {
50: '#7f61b6',
500: '#3f2296',
950: '#000000',
},
}SCSS
$custom: #3f2296; $custom-light: #7f61b6; $custom-dark: #000000;
JSON
{
"hex": "#3f2296",
"rgb": {
"r": 63,
"g": 34,
"b": 150
},
"hsl": {
"h": 255,
"s": 63.043,
"l": 36.078
},
"oklch": {
"l": 0.37263,
"c": 0.17486,
"h": 285.7
},
"luminance": 0.04403
}Semantic roles & 50–950 ramp
primary
#3F2296
secondary
#A4BE56
accent
#E642BD
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980