#341B84#341B84
#341B84 is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.5% C 0.161 H 284.5°. Best body text is #FFFFFF at 12.84:1 contrast (WCAG AA passes).
Color values
| HEX | #341B84 |
|---|---|
| RGB | rgb(52, 27, 132) |
| HSL | hsl(254, 66%, 31%) |
| HSV | hsv(254, 80%, 52%) |
| CMYK | cmyk(60.6%, 79.5%, 0%, 48.2%) |
| CIE-LAB | lab(20.75, 40.37, -54.22) |
| CIE-LCH | lch(20.75, 67.60, 306.67°) |
| OKLab | oklab(33.49% 0.0403 -0.1562) |
| OKLCH | oklch(33.49% 0.161 284.5) |
| XYZ | xyz(5.9717, 3.1795, 22.1243) |
| Luminance | 0.0318 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 3.74
Royal
#0C1793
ΔE00 4.18
Midnight Blue
#191970
ΔE00 4.63
Indigo
#4B0082
ΔE00 5.27
Darkblue
#00008B
ΔE00 5.72
Navy
#000080
ΔE00 6.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#341B84 #6B841B
analogous
#1B3684 #341B84 #681B84
triadic
#341B84 #84341B #1B8434
tetradic
#341B84 #841B36 #6B841B #1B8468
square
#341B84 #841B36 #6B841B #1B8468
split-complementary
#341B84 #84681B #36841B
monochromatic
#0C061E #201151 #341B84 #4825B7 #6541D8
Accessibility & contrast
On white
12.84
#341B84 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.64
#341B84 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #341B84
12.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##341B84 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##341B84 | 1.00 | 12.84 | 1.64 | 12.84 |
| #FFFFFF | 12.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003587
Deuteranopia (green-blind)
#002F82
Tritanopia (blue-blind)
#03394F
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #341b84; /* rgb */ color: rgb(52, 27, 132); /* oklch */ color: oklch(33.5% 0.161 284.5);
Tailwind
colors: {
custom: {
50: '#765ba9',
500: '#341b84',
950: '#000000',
},
}SCSS
$custom: #341b84; $custom-light: #765ba9; $custom-dark: #000000;
JSON
{
"hex": "#341b84",
"rgb": {
"r": 52,
"g": 27,
"b": 132
},
"hsl": {
"h": 254.286,
"s": 66.038,
"l": 31.176
},
"oklch": {
"l": 0.3349,
"c": 0.16136,
"h": 284.5
},
"luminance": 0.0318
}Semantic roles & 50–950 ramp
primary
#341B84
secondary
#9CB743
accent
#E93FC0
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#090410
muted
#7B797F