#3F2595#3F2595
#3F2595 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.6% C 0.171 H 285.4°. Best body text is #FFFFFF at 10.99:1 contrast (WCAG AA passes).
Color values
| HEX | #3F2595 |
|---|---|
| RGB | rgb(63, 37, 149) |
| HSL | hsl(254, 60%, 36%) |
| HSV | hsv(254, 75%, 58%) |
| CMYK | cmyk(57.7%, 75.2%, 0%, 41.6%) |
| CIE-LAB | lab(25.41, 41.85, -57.10) |
| CIE-LCH | lch(25.41, 70.80, 306.24°) |
| OKLab | oklab(37.55% 0.0453 -0.1644) |
| OKLCH | oklch(37.55% 0.171 285.4) |
| XYZ | xyz(8.1346, 4.5493, 28.8774) |
| Luminance | 0.0455 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.43
Royal
#0C1793
ΔE00 5.43
Indigo (survey)
#380282
ΔE00 6.21
Cobalt Blue
#030AA7
ΔE00 6.41
Ultramarine
#2000B1
ΔE00 6.51
Indigo
#4B0082
ΔE00 6.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F2595 #7B9525
analogous
#254395 #3F2595 #772595
triadic
#3F2595 #953F25 #25953F
tetradic
#3F2595 #952543 #7B9525 #259577
square
#3F2595 #952543 #7B9525 #259577
split-complementary
#3F2595 #957725 #439525
monochromatic
#160D33 #2A1964 #3F2595 #5431C6 #7A5ED7
Accessibility & contrast
On white
10.99
#3F2595 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.91
#3F2595 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F2595
10.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F2595 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F2595 | 1.00 | 10.99 | 1.91 | 10.99 |
| #FFFFFF | 10.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003F98
Deuteranopia (green-blind)
#003993
Tritanopia (blue-blind)
#15445B
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #3f2595; /* rgb */ color: rgb(63, 37, 149); /* oklch */ color: oklch(37.6% 0.171 285.4);
Tailwind
colors: {
custom: {
50: '#7e62b5',
500: '#3f2595',
950: '#000000',
},
}SCSS
$custom: #3f2595; $custom-light: #7e62b5; $custom-dark: #000000;
JSON
{
"hex": "#3f2595",
"rgb": {
"r": 63,
"g": 37,
"b": 149
},
"hsl": {
"h": 253.929,
"s": 60.215,
"l": 36.471
},
"oklch": {
"l": 0.37551,
"c": 0.17051,
"h": 285.4
},
"luminance": 0.0455
}Semantic roles & 50–950 ramp
primary
#3F2595
secondary
#A5BC5A
accent
#E344BE
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0511
muted
#7C7A80