#3F2396#3F2396
#3F2396 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.4% C 0.174 H 285.5°. Best body text is #FFFFFF at 11.10:1 contrast (WCAG AA passes).
Color values
| HEX | #3F2396 |
|---|---|
| RGB | rgb(63, 35, 150) |
| HSL | hsl(255, 62%, 36%) |
| HSV | hsv(255, 77%, 59%) |
| CMYK | cmyk(58%, 76.7%, 0%, 41.2%) |
| CIE-LAB | lab(25.14, 43.20, -58.16) |
| CIE-LCH | lch(25.14, 72.45, 306.60°) |
| OKLab | oklab(37.39% 0.0466 -0.1675) |
| OKLCH | oklch(37.39% 0.174 285.5) |
| XYZ | xyz(8.1543, 4.4604, 29.2795) |
| Luminance | 0.0446 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.10
Royal
#0C1793
ΔE00 5.24
Indigo (survey)
#380282
ΔE00 5.88
Cobalt Blue
#030AA7
ΔE00 6.07
Ultramarine
#2000B1
ΔE00 6.11
Indigo
#4B0082
ΔE00 6.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F2396 #7A9623
analogous
#234196 #3F2396 #792396
triadic
#3F2396 #963F23 #23963F
tetradic
#3F2396 #962341 #7A9623 #239679
square
#3F2396 #962341 #7A9623 #239679
split-complementary
#3F2396 #967923 #419623
monochromatic
#150C33 #2A1764 #3F2396 #542FC8 #795BD9
Accessibility & contrast
On white
11.10
#3F2396 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.89
#3F2396 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F2396
11.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F2396 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F2396 | 1.00 | 11.10 | 1.89 | 11.10 |
| #FFFFFF | 11.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003F99
Deuteranopia (green-blind)
#003894
Tritanopia (blue-blind)
#13435B
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #3f2396; /* rgb */ color: rgb(63, 35, 150); /* oklch */ color: oklch(37.4% 0.174 285.5);
Tailwind
colors: {
custom: {
50: '#7f61b6',
500: '#3f2396',
950: '#000000',
},
}SCSS
$custom: #3f2396; $custom-light: #7f61b6; $custom-dark: #000000;
JSON
{
"hex": "#3f2396",
"rgb": {
"r": 63,
"g": 35,
"b": 150
},
"hsl": {
"h": 254.609,
"s": 62.162,
"l": 36.275
},
"oklch": {
"l": 0.37389,
"c": 0.17384,
"h": 285.5
},
"luminance": 0.04461
}Semantic roles & 50–950 ramp
primary
#3F2396
secondary
#A4BD58
accent
#E543BE
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980