#3F22B4#3F22B4
#3F22B4 is a dark, highly saturated violet. Relative luminance 0.055; OKLCH L 40.4% C 0.210 H 280.5°. Best body text is #FFFFFF at 10.00:1 contrast (WCAG AA passes).
Color values
| HEX | #3F22B4 |
|---|---|
| RGB | rgb(63, 34, 180) |
| HSL | hsl(252, 68%, 42%) |
| HSV | hsv(252, 81%, 71%) |
| CMYK | cmyk(65%, 81.1%, 0%, 29.4%) |
| CIE-LAB | lab(28.10, 52.51, -71.44) |
| CIE-LCH | lch(28.10, 88.67, 306.32°) |
| OKLab | oklab(40.39% 0.0383 -0.2062) |
| OKLCH | oklch(40.39% 0.21 280.5) |
| XYZ | xyz(10.8575, 5.4952, 43.6597) |
| Luminance | 0.0550 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 1.80
Violet Blue
#510AC9
ΔE00 3.93
True Blue
#010FCC
ΔE00 4.43
Mediumblue
#0000CD
ΔE00 5.05
Ultramarine
#2000B1
ΔE00 5.05
Ultramarine Blue
#1805DB
ΔE00 5.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F22B4 #97B422
analogous
#224EB4 #3F22B4 #8822B4
triadic
#3F22B4 #B43F22 #22B43F
tetradic
#3F22B4 #B4224E #97B422 #22B488
square
#3F22B4 #B4224E #97B422 #22B488
split-complementary
#3F22B4 #B48822 #4EB422
monochromatic
#1B0F4D #2D1881 #3F22B4 #593ADA #856DE3
Accessibility & contrast
On white
10.00
#3F22B4 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.10
#3F22B4 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F22B4
10.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F22B4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F22B4 | 1.00 | 10.00 | 2.10 | 10.00 |
| #FFFFFF | 10.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0047B8
Deuteranopia (green-blind)
#003DB1
Tritanopia (blue-blind)
#004F6C
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #3f22b4; /* rgb */ color: rgb(63, 34, 180); /* oklch */ color: oklch(40.4% 0.210 280.5);
Tailwind
colors: {
custom: {
50: '#8463cc',
500: '#3f22b4',
950: '#000000',
},
}SCSS
$custom: #3f22b4; $custom-light: #8463cc; $custom-dark: #000000;
JSON
{
"hex": "#3f22b4",
"rgb": {
"r": 63,
"g": 34,
"b": 180
},
"hsl": {
"h": 251.918,
"s": 68.224,
"l": 41.961
},
"oklch": {
"l": 0.40387,
"c": 0.20975,
"h": 280.5
},
"luminance": 0.05496
}Semantic roles & 50–950 ramp
primary
#3F22B4
secondary
#B6CA68
accent
#EB3DC8
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0514
muted
#7D7A82