#3F2695#3F2695
#3F2695 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.7% C 0.169 H 285.2°. Best body text is #FFFFFF at 10.92:1 contrast (WCAG AA passes).
Color values
| HEX | #3F2695 |
|---|---|
| RGB | rgb(63, 38, 149) |
| HSL | hsl(254, 59%, 37%) |
| HSV | hsv(254, 74%, 58%) |
| CMYK | cmyk(57.7%, 74.5%, 0%, 41.6%) |
| CIE-LAB | lab(25.60, 41.32, -56.79) |
| CIE-LCH | lch(25.60, 70.23, 306.04°) |
| OKLab | oklab(37.69% 0.0445 -0.1635) |
| OKLCH | oklch(37.69% 0.169 285.2) |
| XYZ | xyz(8.1662, 4.6124, 28.8879) |
| Luminance | 0.0461 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.54
Royal
#0C1793
ΔE00 5.54
Indigo (survey)
#380282
ΔE00 6.41
Cobalt Blue
#030AA7
ΔE00 6.56
Ultramarine
#2000B1
ΔE00 6.68
Indigo
#4B0082
ΔE00 6.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F2695 #7C9526
analogous
#264495 #3F2695 #772695
triadic
#3F2695 #953F26 #26953F
tetradic
#3F2695 #952644 #7C9526 #269577
square
#3F2695 #952644 #7C9526 #269577
split-complementary
#3F2695 #957726 #449526
monochromatic
#160D33 #2A1A64 #3F2695 #5432C6 #7A5FD6
Accessibility & contrast
On white
10.92
#3F2695 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.92
#3F2695 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F2695
10.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F2695 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F2695 | 1.00 | 10.92 | 1.92 | 10.92 |
| #FFFFFF | 10.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004098
Deuteranopia (green-blind)
#003993
Tritanopia (blue-blind)
#14445B
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #3f2695; /* rgb */ color: rgb(63, 38, 149); /* oklch */ color: oklch(37.7% 0.169 285.2);
Tailwind
colors: {
custom: {
50: '#7e63b5',
500: '#3f2695',
950: '#000000',
},
}SCSS
$custom: #3f2695; $custom-light: #7e63b5; $custom-dark: #000000;
JSON
{
"hex": "#3f2695",
"rgb": {
"r": 63,
"g": 38,
"b": 149
},
"hsl": {
"h": 253.514,
"s": 59.358,
"l": 36.667
},
"oklch": {
"l": 0.37685,
"c": 0.16943,
"h": 285.2
},
"luminance": 0.04613
}Semantic roles & 50–950 ramp
primary
#3F2695
secondary
#A6BB5B
accent
#E345BF
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0511
muted
#7C7A80