#3A2FC6#3A2FC6
#3A2FC6 is a dark, highly saturated blue. Relative luminance 0.070; OKLCH L 43.5% C 0.221 H 275.3°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).
Color values
| HEX | #3A2FC6 |
|---|---|
| RGB | rgb(58, 47, 198) |
| HSL | hsl(244, 62%, 48%) |
| HSV | hsv(244, 76%, 78%) |
| CMYK | cmyk(70.7%, 76.3%, 0%, 22.4%) |
| CIE-LAB | lab(31.83, 51.14, -75.93) |
| CIE-LCH | lch(31.83, 91.55, 303.96°) |
| OKLab | oklab(43.45% 0.0204 -0.2196) |
| OKLCH | oklch(43.45% 0.221 275.3) |
| XYZ | xyz(12.9511, 7.0085, 54.0854) |
| Luminance | 0.0701 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blurple
#5539CC
ΔE00 4.02
Blue With A Hint Of Purple
#533CC6
ΔE00 4.07
Purple Blue
#5D21D0
ΔE00 4.83
Indigo Blue
#3A18B1
ΔE00 5.27
Violet Blue
#510AC9
ΔE00 5.30
Ocean Blue
#4F42B5
ΔE00 5.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A2FC6 #BBC62F
analogous
#2F6FC6 #3A2FC6 #852FC6
triadic
#3A2FC6 #C63A2F #2FC63A
tetradic
#3A2FC6 #C62F6F #BBC62F #2FC685
square
#3A2FC6 #C62F6F #BBC62F #2FC685
split-complementary
#3A2FC6 #C6852F #6FC62F
monochromatic
#1D1863 #2C2395 #3A2FC6 #635AD8 #928CE4
Accessibility & contrast
On white
8.74
#3A2FC6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.40
#3A2FC6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3A2FC6
8.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A2FC6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A2FC6 | 1.00 | 8.74 | 2.40 | 8.74 |
| #FFFFFF | 8.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0051CA
Deuteranopia (green-blind)
#0044C3
Tritanopia (blue-blind)
#005C79
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #3a2fc6; /* rgb */ color: rgb(58, 47, 198); /* oklch */ color: oklch(43.5% 0.221 275.3);
Tailwind
colors: {
custom: {
50: '#856bd9',
500: '#3a2fc6',
950: '#000000',
},
}SCSS
$custom: #3a2fc6; $custom-light: #856bd9; $custom-dark: #000000;
JSON
{
"hex": "#3a2fc6",
"rgb": {
"r": 58,
"g": 47,
"b": 198
},
"hsl": {
"h": 244.371,
"s": 61.633,
"l": 48.039
},
"oklch": {
"l": 0.43454,
"c": 0.2205,
"h": 275.3
},
"luminance": 0.0701
}Semantic roles & 50–950 ramp
primary
#3A2FC6
secondary
#C8CE83
accent
#E543D9
background
#F9F6FD
surface
#F1EBFB
border
#CBC6D4
text
#0D0715
muted
#7E7A83