#341B80#341B80
#341B80 is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.1% C 0.156 H 285.4°. Best body text is #FFFFFF at 13.01:1 contrast (WCAG AA passes).
Color values
| HEX | #341B80 |
|---|---|
| RGB | rgb(52, 27, 128) |
| HSL | hsl(255, 65%, 30%) |
| HSV | hsv(255, 79%, 50%) |
| CMYK | cmyk(59.4%, 78.9%, 0%, 49.8%) |
| CIE-LAB | lab(20.33, 39.15, -52.38) |
| CIE-LCH | lch(20.33, 65.40, 306.78°) |
| OKLab | oklab(33.07% 0.0415 -0.1509) |
| OKLCH | oklch(33.07% 0.156 285.4) |
| XYZ | xyz(5.7032, 3.0721, 20.7103) |
| Luminance | 0.0307 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 3.79
Midnight Blue
#191970
ΔE00 4.30
Royal
#0C1793
ΔE00 4.61
Indigo
#4B0082
ΔE00 5.27
Darkblue
#00008B
ΔE00 5.95
Navy
#000080
ΔE00 6.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#341B80 #67801B
analogous
#1B3580 #341B80 #661B80
triadic
#341B80 #80341B #1B8034
tetradic
#341B80 #801B35 #67801B #1B8066
square
#341B80 #801B35 #67801B #1B8066
split-complementary
#341B80 #80661B #35801B
monochromatic
#0B061B #1F104D #341B80 #4926B3 #643FD6
Accessibility & contrast
On white
13.01
#341B80 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.61
#341B80 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #341B80
13.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##341B80 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##341B80 | 1.00 | 13.01 | 1.61 | 13.01 |
| #FFFFFF | 13.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003483
Deuteranopia (green-blind)
#002E7E
Tritanopia (blue-blind)
#0C384D
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #341b80; /* rgb */ color: rgb(52, 27, 128); /* oklch */ color: oklch(33.1% 0.156 285.4);
Tailwind
colors: {
custom: {
50: '#755ba6',
500: '#341b80',
950: '#000000',
},
}SCSS
$custom: #341b80; $custom-light: #755ba6; $custom-dark: #000000;
JSON
{
"hex": "#341b80",
"rgb": {
"r": 52,
"g": 27,
"b": 128
},
"hsl": {
"h": 254.851,
"s": 65.161,
"l": 30.392
},
"oklch": {
"l": 0.33071,
"c": 0.15648,
"h": 285.4
},
"luminance": 0.03072
}Semantic roles & 50–950 ramp
primary
#341B80
secondary
#98B443
accent
#E840BE
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#09040F
muted
#7B797F