#341C9E#341C9E
#341C9E is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.4% C 0.191 H 279.5°. Best body text is #FFFFFF at 11.63:1 contrast (WCAG AA passes).
Color values
| HEX | #341C9E |
|---|---|
| RGB | rgb(52, 28, 158) |
| HSL | hsl(251, 70%, 36%) |
| HSV | hsv(251, 82%, 62%) |
| CMYK | cmyk(67.1%, 82.3%, 0%, 38%) |
| CIE-LAB | lab(23.77, 47.73, -65.37) |
| CIE-LCH | lch(23.77, 80.94, 306.13°) |
| OKLab | oklab(36.43% 0.0317 -0.1887) |
| OKLCH | oklch(36.43% 0.191 279.5) |
| XYZ | xyz(8.0010, 4.0285, 32.6971) |
| Luminance | 0.0403 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 2.70
Royal
#0C1793
ΔE00 3.76
Cobalt Blue
#030AA7
ΔE00 3.88
Ultramarine
#2000B1
ΔE00 3.98
Royal Blue (survey)
#0504AA
ΔE00 4.19
Indigo (survey)
#380282
ΔE00 5.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#341C9E #869E1C
analogous
#1C459E #341C9E #751C9E
triadic
#341C9E #9E341C #1C9E34
tetradic
#341C9E #9E1C45 #869E1C #1C9E75
square
#341C9E #9E1C45 #869E1C #1C9E75
split-complementary
#341C9E #9E751C #459E1C
monochromatic
#120A36 #23136A #341C9E #4525D2 #6E54E1
Accessibility & contrast
On white
11.63
#341C9E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.81
#341C9E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #341C9E
11.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##341C9E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##341C9E | 1.00 | 11.63 | 1.81 | 11.63 |
| #FFFFFF | 11.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003DA2
Deuteranopia (green-blind)
#00339C
Tritanopia (blue-blind)
#00445E
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #341c9e; /* rgb */ color: rgb(52, 28, 158); /* oklch */ color: oklch(36.4% 0.191 279.5);
Tailwind
colors: {
custom: {
50: '#7b5dbc',
500: '#341c9e',
950: '#000000',
},
}SCSS
$custom: #341c9e; $custom-light: #7b5dbc; $custom-dark: #000000;
JSON
{
"hex": "#341c9e",
"rgb": {
"r": 52,
"g": 28,
"b": 158
},
"hsl": {
"h": 251.077,
"s": 69.892,
"l": 36.471
},
"oklch": {
"l": 0.36431,
"c": 0.19139,
"h": 279.5
},
"luminance": 0.04029
}Semantic roles & 50–950 ramp
primary
#341C9E
secondary
#AFC452
accent
#ED3BCC
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0412
muted
#7C7981