#341C7F#341C7F
#341C7F is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.1% C 0.154 H 285.4°. Best body text is #FFFFFF at 12.97:1 contrast (WCAG AA passes).
Color values
| HEX | #341C7F |
|---|---|
| RGB | rgb(52, 28, 127) |
| HSL | hsl(255, 64%, 30%) |
| HSV | hsv(255, 78%, 50%) |
| CMYK | cmyk(59.1%, 78%, 0%, 50.2%) |
| CIE-LAB | lab(20.41, 38.32, -51.62) |
| CIE-LCH | lch(20.41, 64.29, 306.59°) |
| OKLab | oklab(33.1% 0.0411 -0.1486) |
| OKLCH | oklch(33.1% 0.154 285.4) |
| XYZ | xyz(5.6610, 3.0925, 20.3732) |
| Luminance | 0.0309 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 4.04
Midnight Blue
#191970
ΔE00 4.19
Royal
#0C1793
ΔE00 4.76
Indigo
#4B0082
ΔE00 5.45
Darkblue
#00008B
ΔE00 6.17
Navy
#000080
ΔE00 6.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#341C7F #677F1C
analogous
#1C367F #341C7F #651C7F
triadic
#341C7F #7F341C #1C7F34
tetradic
#341C7F #7F1C36 #677F1C #1C7F65
square
#341C7F #7F1C36 #677F1C #1C7F65
split-complementary
#341C7F #7F651C #367F1C
monochromatic
#0B061B #1F114D #341C7F #4927B1 #6440D5
Accessibility & contrast
On white
12.97
#341C7F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.62
#341C7F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #341C7F
12.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##341C7F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##341C7F | 1.00 | 12.97 | 1.62 | 12.97 |
| #FFFFFF | 12.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003482
Deuteranopia (green-blind)
#002E7D
Tritanopia (blue-blind)
#0E384C
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #341c7f; /* rgb */ color: rgb(52, 28, 127); /* oklch */ color: oklch(33.1% 0.154 285.4);
Tailwind
colors: {
custom: {
50: '#755ba5',
500: '#341c7f',
950: '#000000',
},
}SCSS
$custom: #341c7f; $custom-light: #755ba5; $custom-dark: #000000;
JSON
{
"hex": "#341c7f",
"rgb": {
"r": 52,
"g": 28,
"b": 127
},
"hsl": {
"h": 254.545,
"s": 63.871,
"l": 30.392
},
"oklch": {
"l": 0.33096,
"c": 0.1542,
"h": 285.4
},
"luminance": 0.03093
}Semantic roles & 50–950 ramp
primary
#341C7F
secondary
#98B344
accent
#E741BF
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#09040F
muted
#7B797F