#3F299F#3F299F
#3F299F is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.1% C 0.178 H 282.9°. Best body text is #FFFFFF at 10.35:1 contrast (WCAG AA passes).
Color values
| HEX | #3F299F |
|---|---|
| RGB | rgb(63, 41, 159) |
| HSL | hsl(251, 59%, 39%) |
| HSV | hsv(251, 74%, 62%) |
| CMYK | cmyk(60.4%, 74.2%, 0%, 37.6%) |
| CIE-LAB | lab(27.14, 42.76, -60.37) |
| CIE-LCH | lch(27.14, 73.98, 305.31°) |
| OKLab | oklab(39.07% 0.0398 -0.174) |
| OKLCH | oklch(39.07% 0.178 282.9) |
| XYZ | xyz(9.0989, 5.1452, 33.3078) |
| Luminance | 0.0515 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.83
Sapphire (survey)
#2138AB
ΔE00 5.92
Royal
#0C1793
ΔE00 6.03
Ultramarine
#2000B1
ΔE00 6.50
Cobalt Blue
#030AA7
ΔE00 6.59
Violet Blue
#510AC9
ΔE00 6.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F299F #899F29
analogous
#294E9F #3F299F #7A299F
triadic
#3F299F #9F3F29 #299F3F
tetradic
#3F299F #9F294E #899F29 #299F7A
square
#3F299F #9F294E #899F29 #299F7A
split-complementary
#3F299F #9F7A29 #4E9F29
monochromatic
#18103E #2C1C6E #3F299F #5539CC #7E6AD9
Accessibility & contrast
On white
10.35
#3F299F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.03
#3F299F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F299F
10.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F299F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F299F | 1.00 | 10.35 | 2.03 | 10.35 |
| #FFFFFF | 10.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0044A2
Deuteranopia (green-blind)
#003C9D
Tritanopia (blue-blind)
#004A62
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #3f299f; /* rgb */ color: rgb(63, 41, 159); /* oklch */ color: oklch(39.1% 0.178 282.9);
Tailwind
colors: {
custom: {
50: '#8065bc',
500: '#3f299f',
950: '#000000',
},
}SCSS
$custom: #3f299f; $custom-light: #8065bc; $custom-dark: #000000;
JSON
{
"hex": "#3f299f",
"rgb": {
"r": 63,
"g": 41,
"b": 159
},
"hsl": {
"h": 251.186,
"s": 59,
"l": 39.216
},
"oklch": {
"l": 0.39071,
"c": 0.17849,
"h": 282.9
},
"luminance": 0.05146
}Semantic roles & 50–950 ramp
primary
#3F299F
secondary
#AEBF65
accent
#E246C5
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0612
muted
#7C7A81