#3F22B3#3F22B3
#3F22B3 is a dark, highly saturated violet. Relative luminance 0.055; OKLCH L 40.3% C 0.209 H 280.7°. Best body text is #FFFFFF at 10.04:1 contrast (WCAG AA passes).
Color values
| HEX | #3F22B3 |
|---|---|
| RGB | rgb(63, 34, 179) |
| HSL | hsl(252, 68%, 42%) |
| HSV | hsv(252, 81%, 70%) |
| CMYK | cmyk(64.8%, 81%, 0%, 29.8%) |
| CIE-LAB | lab(27.99, 52.22, -71.03) |
| CIE-LCH | lch(27.99, 88.16, 306.33°) |
| OKLab | oklab(40.28% 0.0386 -0.205) |
| OKLCH | oklch(40.28% 0.209 280.7) |
| XYZ | xyz(10.7560, 5.4546, 43.1251) |
| Luminance | 0.0546 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 1.75
Violet Blue
#510AC9
ΔE00 4.02
True Blue
#010FCC
ΔE00 4.49
Ultramarine
#2000B1
ΔE00 5.02
Mediumblue
#0000CD
ΔE00 5.11
Ultramarine Blue
#1805DB
ΔE00 5.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F22B3 #96B322
analogous
#224EB3 #3F22B3 #8822B3
triadic
#3F22B3 #B33F22 #22B33F
tetradic
#3F22B3 #B3224E #96B322 #22B388
square
#3F22B3 #B3224E #96B322 #22B388
split-complementary
#3F22B3 #B38822 #4EB322
monochromatic
#1B0E4C #2D1880 #3F22B3 #5939D9 #846CE3
Accessibility & contrast
On white
10.04
#3F22B3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.09
#3F22B3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F22B3
10.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F22B3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F22B3 | 1.00 | 10.04 | 2.09 | 10.04 |
| #FFFFFF | 10.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0047B7
Deuteranopia (green-blind)
#003DB0
Tritanopia (blue-blind)
#004F6B
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #3f22b3; /* rgb */ color: rgb(63, 34, 179); /* oklch */ color: oklch(40.3% 0.209 280.7);
Tailwind
colors: {
custom: {
50: '#8463cb',
500: '#3f22b3',
950: '#000000',
},
}SCSS
$custom: #3f22b3; $custom-light: #8463cb; $custom-dark: #000000;
JSON
{
"hex": "#3f22b3",
"rgb": {
"r": 63,
"g": 34,
"b": 179
},
"hsl": {
"h": 252,
"s": 68.075,
"l": 41.765
},
"oklch": {
"l": 0.40279,
"c": 0.20861,
"h": 280.7
},
"luminance": 0.05455
}Semantic roles & 50–950 ramp
primary
#3F22B3
secondary
#B6C968
accent
#EB3DC8
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0513
muted
#7D7A82