#3F2496#3F2496
#3F2496 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.5% C 0.173 H 285.4°. Best body text is #FFFFFF at 11.03:1 contrast (WCAG AA passes).
Color values
| HEX | #3F2496 |
|---|---|
| RGB | rgb(63, 36, 150) |
| HSL | hsl(254, 61%, 36%) |
| HSV | hsv(254, 76%, 59%) |
| CMYK | cmyk(58%, 76%, 0%, 41.2%) |
| CIE-LAB | lab(25.32, 42.68, -57.86) |
| CIE-LCH | lch(25.32, 71.90, 306.41°) |
| OKLab | oklab(37.52% 0.0458 -0.1666) |
| OKLCH | oklch(37.52% 0.173 285.4) |
| XYZ | xyz(8.1841, 4.5200, 29.2894) |
| Luminance | 0.0452 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.19
Royal
#0C1793
ΔE00 5.33
Indigo (survey)
#380282
ΔE00 6.07
Cobalt Blue
#030AA7
ΔE00 6.20
Ultramarine
#2000B1
ΔE00 6.26
Indigo
#4B0082
ΔE00 6.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F2496 #7B9624
analogous
#244296 #3F2496 #782496
triadic
#3F2496 #963F24 #24963F
tetradic
#3F2496 #962442 #7B9624 #249678
square
#3F2496 #962442 #7B9624 #249678
split-complementary
#3F2496 #967824 #429624
monochromatic
#160C33 #2A1865 #3F2496 #5430C7 #7A5CD8
Accessibility & contrast
On white
11.03
#3F2496 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.90
#3F2496 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F2496
11.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F2496 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F2496 | 1.00 | 11.03 | 1.90 | 11.03 |
| #FFFFFF | 11.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003F99
Deuteranopia (green-blind)
#003994
Tritanopia (blue-blind)
#13445B
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #3f2496; /* rgb */ color: rgb(63, 36, 150); /* oklch */ color: oklch(37.5% 0.173 285.4);
Tailwind
colors: {
custom: {
50: '#7f62b6',
500: '#3f2496',
950: '#000000',
},
}SCSS
$custom: #3f2496; $custom-light: #7f62b6; $custom-dark: #000000;
JSON
{
"hex": "#3f2496",
"rgb": {
"r": 63,
"g": 36,
"b": 150
},
"hsl": {
"h": 254.211,
"s": 61.29,
"l": 36.471
},
"oklch": {
"l": 0.37517,
"c": 0.1728,
"h": 285.4
},
"luminance": 0.04521
}Semantic roles & 50–950 ramp
primary
#3F2496
secondary
#A5BD59
accent
#E443BE
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980