#3F26B2#3F26B2
#3F26B2 is a dark, highly saturated violet. Relative luminance 0.057; OKLCH L 40.6% C 0.204 H 280.4°. Best body text is #FFFFFF at 9.85:1 contrast (WCAG AA passes).
Color values
| HEX | #3F26B2 |
|---|---|
| RGB | rgb(63, 38, 178) |
| HSL | hsl(251, 65%, 42%) |
| HSV | hsv(251, 79%, 70%) |
| CMYK | cmyk(64.6%, 78.7%, 0%, 30.2%) |
| CIE-LAB | lab(28.53, 50.06, -69.54) |
| CIE-LCH | lch(28.53, 85.69, 305.75°) |
| OKLab | oklab(40.62% 0.0369 -0.2007) |
| OKLCH | oklch(40.62% 0.204 280.4) |
| XYZ | xyz(10.7763, 5.6565, 42.6348) |
| Luminance | 0.0566 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 2.43
Violet Blue
#510AC9
ΔE00 4.49
True Blue
#010FCC
ΔE00 4.94
Purple Blue
#5D21D0
ΔE00 5.58
Ultramarine
#2000B1
ΔE00 5.64
Mediumblue
#0000CD
ΔE00 5.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F26B2 #99B226
analogous
#2653B2 #3F26B2 #8526B2
triadic
#3F26B2 #B23F26 #26B23F
tetradic
#3F26B2 #B22653 #99B226 #26B285
square
#3F26B2 #B22653 #99B226 #26B285
split-complementary
#3F26B2 #B28526 #53B226
monochromatic
#1B104D #2D1B80 #3F26B2 #5A3FD6 #8572E1
Accessibility & contrast
On white
9.85
#3F26B2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.13
#3F26B2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F26B2
9.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F26B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F26B2 | 1.00 | 9.85 | 2.13 | 9.85 |
| #FFFFFF | 9.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0048B6
Deuteranopia (green-blind)
#003EB0
Tritanopia (blue-blind)
#00506C
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #3f26b2; /* rgb */ color: rgb(63, 38, 178); /* oklch */ color: oklch(40.6% 0.204 280.4);
Tailwind
colors: {
custom: {
50: '#8465ca',
500: '#3f26b2',
950: '#000000',
},
}SCSS
$custom: #3f26b2; $custom-light: #8465ca; $custom-dark: #000000;
JSON
{
"hex": "#3f26b2",
"rgb": {
"r": 63,
"g": 38,
"b": 178
},
"hsl": {
"h": 250.714,
"s": 64.815,
"l": 42.353
},
"oklch": {
"l": 0.4062,
"c": 0.20409,
"h": 280.4
},
"luminance": 0.05657
}Semantic roles & 50–950 ramp
primary
#3F26B2
secondary
#B7C86C
accent
#E840CA
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0613
muted
#7D7A82