#3F2495#3F2495
#3F2495 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.4% C 0.172 H 285.6°. Best body text is #FFFFFF at 11.07:1 contrast (WCAG AA passes).
Color values
| HEX | #3F2495 |
|---|---|
| RGB | rgb(63, 36, 149) |
| HSL | hsl(254, 61%, 36%) |
| HSV | hsv(254, 76%, 58%) |
| CMYK | cmyk(57.7%, 75.8%, 0%, 41.6%) |
| CIE-LAB | lab(25.22, 42.38, -57.41) |
| CIE-LCH | lch(25.22, 71.36, 306.44°) |
| OKLab | oklab(37.42% 0.0461 -0.1653) |
| OKLCH | oklch(37.42% 0.172 285.6) |
| XYZ | xyz(8.1040, 4.4880, 28.8672) |
| Luminance | 0.0449 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.33
Royal
#0C1793
ΔE00 5.33
Indigo (survey)
#380282
ΔE00 6.01
Cobalt Blue
#030AA7
ΔE00 6.27
Ultramarine
#2000B1
ΔE00 6.36
Indigo
#4B0082
ΔE00 6.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F2495 #7A9524
analogous
#244295 #3F2495 #782495
triadic
#3F2495 #953F24 #24953F
tetradic
#3F2495 #952442 #7A9524 #249578
square
#3F2495 #952442 #7A9524 #249578
split-complementary
#3F2495 #957824 #429524
monochromatic
#150C32 #2A1864 #3F2495 #5430C6 #795CD8
Accessibility & contrast
On white
11.07
#3F2495 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.90
#3F2495 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F2495
11.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F2495 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F2495 | 1.00 | 11.07 | 1.90 | 11.07 |
| #FFFFFF | 11.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003F98
Deuteranopia (green-blind)
#003893
Tritanopia (blue-blind)
#15435B
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #3f2495; /* rgb */ color: rgb(63, 36, 149); /* oklch */ color: oklch(37.4% 0.172 285.6);
Tailwind
colors: {
custom: {
50: '#7e62b5',
500: '#3f2495',
950: '#000000',
},
}SCSS
$custom: #3f2495; $custom-light: #7e62b5; $custom-dark: #000000;
JSON
{
"hex": "#3f2495",
"rgb": {
"r": 63,
"g": 36,
"b": 149
},
"hsl": {
"h": 254.336,
"s": 61.081,
"l": 36.275
},
"oklch": {
"l": 0.37419,
"c": 0.17159,
"h": 285.6
},
"luminance": 0.04488
}Semantic roles & 50–950 ramp
primary
#3F2495
secondary
#A4BC59
accent
#E444BE
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980