#341C7E#341C7E
#341C7E is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.0% C 0.153 H 285.7°. Best body text is #FFFFFF at 13.02:1 contrast (WCAG AA passes).
Color values
| HEX | #341C7E |
|---|---|
| RGB | rgb(52, 28, 126) |
| HSL | hsl(255, 64%, 30%) |
| HSV | hsv(255, 78%, 49%) |
| CMYK | cmyk(58.7%, 77.8%, 0%, 50.6%) |
| CIE-LAB | lab(20.31, 38.01, -51.15) |
| CIE-LCH | lch(20.31, 63.73, 306.62°) |
| OKLab | oklab(32.99% 0.0413 -0.1473) |
| OKLCH | oklch(32.99% 0.153 285.7) |
| XYZ | xyz(5.5962, 3.0666, 20.0316) |
| Luminance | 0.0307 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 4.08
Midnight Blue
#191970
ΔE00 4.13
Royal
#0C1793
ΔE00 4.88
Indigo
#4B0082
ΔE00 5.46
Darkblue
#00008B
ΔE00 6.25
Navy
#000080
ΔE00 6.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#341C7E #667E1C
analogous
#1C357E #341C7E #651C7E
triadic
#341C7E #7E341C #1C7E34
tetradic
#341C7E #7E1C35 #667E1C #1C7E65
square
#341C7E #7E1C35 #667E1C #1C7E65
split-complementary
#341C7E #7E651C #357E1C
monochromatic
#0B061A #1F114C #341C7E #4927B0 #6440D5
Accessibility & contrast
On white
13.02
#341C7E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.61
#341C7E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #341C7E
13.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##341C7E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##341C7E | 1.00 | 13.02 | 1.61 | 13.02 |
| #FFFFFF | 13.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003481
Deuteranopia (green-blind)
#002E7C
Tritanopia (blue-blind)
#0F384C
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #341c7e; /* rgb */ color: rgb(52, 28, 126); /* oklch */ color: oklch(33.0% 0.153 285.7);
Tailwind
colors: {
custom: {
50: '#755ba4',
500: '#341c7e',
950: '#000000',
},
}SCSS
$custom: #341c7e; $custom-light: #755ba4; $custom-dark: #000000;
JSON
{
"hex": "#341c7e",
"rgb": {
"r": 52,
"g": 28,
"b": 126
},
"hsl": {
"h": 254.694,
"s": 63.636,
"l": 30.196
},
"oklch": {
"l": 0.32994,
"c": 0.15296,
"h": 285.7
},
"luminance": 0.03067
}Semantic roles & 50–950 ramp
primary
#341C7E
secondary
#97B244
accent
#E741BE
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#09040F
muted
#7B797F