#3F2180#3F2180
#3F2180 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.0% C 0.149 H 291.1°. Best body text is #FFFFFF at 12.06:1 contrast (WCAG AA passes).
Color values
| HEX | #3F2180 |
|---|---|
| RGB | rgb(63, 33, 128) |
| HSL | hsl(259, 59%, 32%) |
| HSV | hsv(259, 74%, 50%) |
| CMYK | cmyk(50.8%, 74.2%, 0%, 49.8%) |
| CIE-LAB | lab(22.66, 37.70, -48.51) |
| CIE-LCH | lch(22.66, 61.44, 307.86°) |
| OKLab | oklab(35% 0.0538 -0.1392) |
| OKLCH | oklch(35% 0.149 291.1) |
| XYZ | xyz(6.4889, 3.7027, 20.7907) |
| Luminance | 0.0370 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 5.00
Indigo
#4B0082
ΔE00 5.19
Midnight Blue
#191970
ΔE00 5.87
Royal
#0C1793
ΔE00 6.39
Royal Purple (survey)
#4B006E
ΔE00 6.61
Indigo Blue
#3A18B1
ΔE00 7.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F2180 #628021
analogous
#213380 #3F2180 #6F2180
triadic
#3F2180 #803F21 #21803F
tetradic
#3F2180 #802133 #628021 #21806F
square
#3F2180 #802133 #628021 #21806F
split-complementary
#3F2180 #806F21 #338021
monochromatic
#0F081F #27144F #3F2180 #572EB1 #754BD1
Accessibility & contrast
On white
12.06
#3F2180 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.74
#3F2180 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F2180
12.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F2180 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F2180 | 1.00 | 12.06 | 1.74 | 12.06 |
| #FFFFFF | 12.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003883
Deuteranopia (green-blind)
#00347E
Tritanopia (blue-blind)
#293A4E
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #3f2180; /* rgb */ color: rgb(63, 33, 128); /* oklch */ color: oklch(35.0% 0.149 291.1);
Tailwind
colors: {
custom: {
50: '#7b5fa6',
500: '#3f2180',
950: '#000000',
},
}SCSS
$custom: #3f2180; $custom-light: #7b5fa6; $custom-dark: #000000;
JSON
{
"hex": "#3f2180",
"rgb": {
"r": 63,
"g": 33,
"b": 128
},
"hsl": {
"h": 258.947,
"s": 59.006,
"l": 31.569
},
"oklch": {
"l": 0.35001,
"c": 0.14921,
"h": 291.1
},
"luminance": 0.03703
}Semantic roles & 50–950 ramp
primary
#3F2180
secondary
#92B34A
accent
#E246B1
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A050F
muted
#7C797F