#341B86#341B86
#341B86 is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.7% C 0.164 H 284.0°. Best body text is #FFFFFF at 12.75:1 contrast (WCAG AA passes).
Color values
| HEX | #341B86 |
|---|---|
| RGB | rgb(52, 27, 134) |
| HSL | hsl(254, 66%, 32%) |
| HSV | hsv(254, 80%, 53%) |
| CMYK | cmyk(61.2%, 79.9%, 0%, 47.5%) |
| CIE-LAB | lab(20.96, 40.98, -55.13) |
| CIE-LCH | lch(20.96, 68.69, 306.63°) |
| OKLab | oklab(33.7% 0.0397 -0.1589) |
| OKLCH | oklch(33.7% 0.164 284) |
| XYZ | xyz(6.1099, 3.2348, 22.8520) |
| Luminance | 0.0323 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 3.76
Royal
#0C1793
ΔE00 3.99
Midnight Blue
#191970
ΔE00 4.83
Indigo
#4B0082
ΔE00 5.30
Darkblue
#00008B
ΔE00 5.64
Cobalt Blue
#030AA7
ΔE00 5.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#341B86 #6D861B
analogous
#1B3786 #341B86 #6A1B86
triadic
#341B86 #86341B #1B8634
tetradic
#341B86 #861B37 #6D861B #1B866A
square
#341B86 #861B37 #6D861B #1B866A
split-complementary
#341B86 #866A1B #37861B
monochromatic
#0C0620 #201153 #341B86 #4825B9 #6642D9
Accessibility & contrast
On white
12.75
#341B86 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.65
#341B86 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #341B86
12.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##341B86 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##341B86 | 1.00 | 12.75 | 1.65 | 12.75 |
| #FFFFFF | 12.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003589
Deuteranopia (green-blind)
#002F84
Tritanopia (blue-blind)
#003A50
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #341b86; /* rgb */ color: rgb(52, 27, 134); /* oklch */ color: oklch(33.7% 0.164 284.0);
Tailwind
colors: {
custom: {
50: '#775baa',
500: '#341b86',
950: '#000000',
},
}SCSS
$custom: #341b86; $custom-light: #775baa; $custom-dark: #000000;
JSON
{
"hex": "#341b86",
"rgb": {
"r": 52,
"g": 27,
"b": 134
},
"hsl": {
"h": 254.019,
"s": 66.46,
"l": 31.569
},
"oklch": {
"l": 0.33701,
"c": 0.16379,
"h": 284
},
"luminance": 0.03235
}Semantic roles & 50–950 ramp
primary
#341B86
secondary
#9EB944
accent
#E93EC1
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0410
muted
#7C797F