#3F2596#3F2596
#3F2596 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.6% C 0.172 H 285.2°. Best body text is #FFFFFF at 10.96:1 contrast (WCAG AA passes).
Color values
| HEX | #3F2596 |
|---|---|
| RGB | rgb(63, 37, 150) |
| HSL | hsl(254, 60%, 37%) |
| HSV | hsv(254, 75%, 59%) |
| CMYK | cmyk(58%, 75.3%, 0%, 41.2%) |
| CIE-LAB | lab(25.51, 42.16, -57.56) |
| CIE-LCH | lch(25.51, 71.34, 306.22°) |
| OKLab | oklab(37.65% 0.045 -0.1657) |
| OKLCH | oklch(37.65% 0.172 285.2) |
| XYZ | xyz(8.2148, 4.5814, 29.2997) |
| Luminance | 0.0458 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.30
Royal
#0C1793
ΔE00 5.43
Indigo (survey)
#380282
ΔE00 6.27
Cobalt Blue
#030AA7
ΔE00 6.34
Ultramarine
#2000B1
ΔE00 6.42
Indigo
#4B0082
ΔE00 6.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F2596 #7C9625
analogous
#254496 #3F2596 #782596
triadic
#3F2596 #963F25 #25963F
tetradic
#3F2596 #962544 #7C9625 #259678
square
#3F2596 #962544 #7C9625 #259678
split-complementary
#3F2596 #967825 #449625
monochromatic
#160D34 #2A1965 #3F2596 #5431C7 #7A5ED7
Accessibility & contrast
On white
10.96
#3F2596 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.92
#3F2596 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F2596
10.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F2596 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F2596 | 1.00 | 10.96 | 1.92 | 10.96 |
| #FFFFFF | 10.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004099
Deuteranopia (green-blind)
#003994
Tritanopia (blue-blind)
#13445B
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #3f2596; /* rgb */ color: rgb(63, 37, 150); /* oklch */ color: oklch(37.6% 0.172 285.2);
Tailwind
colors: {
custom: {
50: '#7e63b6',
500: '#3f2596',
950: '#000000',
},
}SCSS
$custom: #3f2596; $custom-light: #7e63b6; $custom-dark: #000000;
JSON
{
"hex": "#3f2596",
"rgb": {
"r": 63,
"g": 37,
"b": 150
},
"hsl": {
"h": 253.805,
"s": 60.428,
"l": 36.667
},
"oklch": {
"l": 0.37649,
"c": 0.17174,
"h": 285.2
},
"luminance": 0.04582
}Semantic roles & 50–950 ramp
primary
#3F2596
secondary
#A6BC5B
accent
#E444BF
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0511
muted
#7C7A80