#3F2195#3F2195
#3F2195 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.0% C 0.175 H 286.1°. Best body text is #FFFFFF at 11.27:1 contrast (WCAG AA passes).
Color values
| HEX | #3F2195 |
|---|---|
| RGB | rgb(63, 33, 149) |
| HSL | hsl(256, 64%, 36%) |
| HSV | hsv(256, 78%, 58%) |
| CMYK | cmyk(57.7%, 77.9%, 0%, 41.6%) |
| CIE-LAB | lab(24.68, 43.92, -58.30) |
| CIE-LCH | lch(24.68, 72.99, 306.99°) |
| OKLab | oklab(37.04% 0.0483 -0.1679) |
| OKLCH | oklch(37.04% 0.175 286.1) |
| XYZ | xyz(8.0169, 4.3139, 28.8382) |
| Luminance | 0.0431 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.09
Royal
#0C1793
ΔE00 5.10
Indigo (survey)
#380282
ΔE00 5.45
Cobalt Blue
#030AA7
ΔE00 5.89
Indigo
#4B0082
ΔE00 5.91
Ultramarine
#2000B1
ΔE00 5.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F2195 #779521
analogous
#213D95 #3F2195 #792195
triadic
#3F2195 #953F21 #21953F
tetradic
#3F2195 #95213D #779521 #219579
square
#3F2195 #95213D #779521 #219579
split-complementary
#3F2195 #957921 #3D9521
monochromatic
#150B31 #2A1663 #3F2195 #542CC7 #7957DA
Accessibility & contrast
On white
11.27
#3F2195 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.86
#3F2195 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F2195
11.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F2195 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F2195 | 1.00 | 11.27 | 1.86 | 11.27 |
| #FFFFFF | 11.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003E98
Deuteranopia (green-blind)
#003793
Tritanopia (blue-blind)
#15425A
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #3f2195; /* rgb */ color: rgb(63, 33, 149); /* oklch */ color: oklch(37.0% 0.175 286.1);
Tailwind
colors: {
custom: {
50: '#7f60b5',
500: '#3f2195',
950: '#000000',
},
}SCSS
$custom: #3f2195; $custom-light: #7f60b5; $custom-dark: #000000;
JSON
{
"hex": "#3f2195",
"rgb": {
"r": 63,
"g": 33,
"b": 149
},
"hsl": {
"h": 255.517,
"s": 63.736,
"l": 35.686
},
"oklch": {
"l": 0.3704,
"c": 0.17468,
"h": 286.1
},
"luminance": 0.04314
}Semantic roles & 50–950 ramp
primary
#3F2195
secondary
#A2BE54
accent
#E741BC
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980