#341A9F#341A9F
#341A9F is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.3% C 0.194 H 279.6°. Best body text is #FFFFFF at 11.70:1 contrast (WCAG AA passes).
Color values
| HEX | #341A9F |
|---|---|
| RGB | rgb(52, 26, 159) |
| HSL | hsl(252, 72%, 36%) |
| HSV | hsv(252, 84%, 62%) |
| CMYK | cmyk(67.3%, 83.6%, 0%, 37.6%) |
| CIE-LAB | lab(23.58, 48.91, -66.29) |
| CIE-LCH | lch(23.58, 82.38, 306.42°) |
| OKLab | oklab(36.33% 0.0323 -0.1914) |
| OKLCH | oklch(36.33% 0.194 279.6) |
| XYZ | xyz(8.0416, 3.9714, 33.1369) |
| Luminance | 0.0397 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 2.54
Cobalt Blue
#030AA7
ΔE00 3.64
Ultramarine
#2000B1
ΔE00 3.66
Royal
#0C1793
ΔE00 3.78
Royal Blue (survey)
#0504AA
ΔE00 3.92
Indigo (survey)
#380282
ΔE00 5.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#341A9F #859F1A
analogous
#1A439F #341A9F #771A9F
triadic
#341A9F #9F341A #1A9F34
tetradic
#341A9F #9F1A43 #859F1A #1A9F77
square
#341A9F #9F1A43 #859F1A #1A9F77
split-complementary
#341A9F #9F771A #439F1A
monochromatic
#120936 #23116A #341A9F #4523D4 #6D51E3
Accessibility & contrast
On white
11.70
#341A9F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.79
#341A9F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #341A9F
11.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##341A9F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##341A9F | 1.00 | 11.70 | 1.79 | 11.70 |
| #FFFFFF | 11.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003DA3
Deuteranopia (green-blind)
#00339D
Tritanopia (blue-blind)
#00445E
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #341a9f; /* rgb */ color: rgb(52, 26, 159); /* oklch */ color: oklch(36.3% 0.194 279.6);
Tailwind
colors: {
custom: {
50: '#7c5cbd',
500: '#341a9f',
950: '#000000',
},
}SCSS
$custom: #341a9f; $custom-light: #7c5cbd; $custom-dark: #000000;
JSON
{
"hex": "#341a9f",
"rgb": {
"r": 52,
"g": 26,
"b": 159
},
"hsl": {
"h": 251.729,
"s": 71.892,
"l": 36.275
},
"oklch": {
"l": 0.36334,
"c": 0.1941,
"h": 279.6
},
"luminance": 0.03972
}Semantic roles & 50–950 ramp
primary
#341A9F
secondary
#AEC550
accent
#EF39CB
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0412
muted
#7C7981