#3A2FC1#3A2FC1
#3A2FC1 is a dark, highly saturated blue. Relative luminance 0.068; OKLCH L 42.9% C 0.215 H 275.7°. Best body text is #FFFFFF at 8.91:1 contrast (WCAG AA passes).
Color values
| HEX | #3A2FC1 |
|---|---|
| RGB | rgb(58, 47, 193) |
| HSL | hsl(245, 61%, 47%) |
| HSV | hsv(245, 76%, 76%) |
| CMYK | cmyk(69.9%, 75.6%, 0%, 24.3%) |
| CIE-LAB | lab(31.30, 49.58, -73.86) |
| CIE-LCH | lch(31.30, 88.96, 303.87°) |
| OKLab | oklab(42.93% 0.0215 -0.2135) |
| OKLCH | oklch(42.93% 0.215 275.7) |
| XYZ | xyz(12.3839, 6.7817, 51.0981) |
| Luminance | 0.0678 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue With A Hint Of Purple
#533CC6
ΔE00 4.27
Blurple
#5539CC
ΔE00 4.34
Indigo Blue
#3A18B1
ΔE00 4.92
Sapphire (survey)
#2138AB
ΔE00 5.11
Purple Blue
#5D21D0
ΔE00 5.12
Ocean Blue
#4F42B5
ΔE00 5.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A2FC1 #B6C12F
analogous
#2F6DC1 #3A2FC1 #832FC1
triadic
#3A2FC1 #C13A2F #2FC13A
tetradic
#3A2FC1 #C12F6D #B6C12F #2FC183
square
#3A2FC1 #C12F6D #B6C12F #2FC183
split-complementary
#3A2FC1 #C1832F #6DC12F
monochromatic
#1C175F #2B2390 #3A2FC1 #6157D6 #8F88E2
Accessibility & contrast
On white
8.91
#3A2FC1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.36
#3A2FC1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3A2FC1
8.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A2FC1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A2FC1 | 1.00 | 8.91 | 2.36 | 8.91 |
| #FFFFFF | 8.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0050C5
Deuteranopia (green-blind)
#0043BE
Tritanopia (blue-blind)
#005A76
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #3a2fc1; /* rgb */ color: rgb(58, 47, 193); /* oklch */ color: oklch(42.9% 0.215 275.7);
Tailwind
colors: {
custom: {
50: '#846ad5',
500: '#3a2fc1',
950: '#000000',
},
}SCSS
$custom: #3a2fc1; $custom-light: #846ad5; $custom-dark: #000000;
JSON
{
"hex": "#3a2fc1",
"rgb": {
"r": 58,
"g": 47,
"b": 193
},
"hsl": {
"h": 244.521,
"s": 60.833,
"l": 47.059
},
"oklch": {
"l": 0.42933,
"c": 0.21461,
"h": 275.7
},
"luminance": 0.06783
}Semantic roles & 50–950 ramp
primary
#3A2FC1
secondary
#C6CC80
accent
#E444D8
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0D0714
muted
#7D7A83