#341C8B#341C8B
#341C8B is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.4% C 0.169 H 282.9°. Best body text is #FFFFFF at 12.46:1 contrast (WCAG AA passes).
Color values
| HEX | #341C8B |
|---|---|
| RGB | rgb(52, 28, 139) |
| HSL | hsl(253, 66%, 33%) |
| HSV | hsv(253, 80%, 55%) |
| CMYK | cmyk(62.6%, 79.9%, 0%, 45.5%) |
| CIE-LAB | lab(21.67, 42.00, -57.10) |
| CIE-LCH | lch(21.67, 70.88, 306.34°) |
| OKLab | oklab(34.35% 0.0376 -0.1646) |
| OKLCH | oklch(34.35% 0.169 282.9) |
| XYZ | xyz(6.4902, 3.4242, 24.7400) |
| Luminance | 0.0343 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal
#0C1793
ΔE00 3.66
Indigo (survey)
#380282
ΔE00 4.11
Cobalt Blue
#030AA7
ΔE00 5.31
Midnight Blue
#191970
ΔE00 5.33
Indigo Blue
#3A18B1
ΔE00 5.37
Indigo
#4B0082
ΔE00 5.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#341C8B #738B1C
analogous
#1C3B8B #341C8B #6B1C8B
triadic
#341C8B #8B341C #1C8B34
tetradic
#341C8B #8B1C3B #738B1C #1C8B6B
square
#341C8B #8B1C3B #738B1C #1C8B6B
split-complementary
#341C8B #8B6B1C #3B8B1C
monochromatic
#0E0725 #211258 #341C8B #4726BE #6747DA
Accessibility & contrast
On white
12.46
#341C8B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.69
#341C8B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #341C8B
12.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##341C8B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##341C8B | 1.00 | 12.46 | 1.69 | 12.46 |
| #FFFFFF | 12.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00378E
Deuteranopia (green-blind)
#003089
Tritanopia (blue-blind)
#003D53
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #341c8b; /* rgb */ color: rgb(52, 28, 139); /* oklch */ color: oklch(34.4% 0.169 282.9);
Tailwind
colors: {
custom: {
50: '#775cae',
500: '#341c8b',
950: '#000000',
},
}SCSS
$custom: #341c8b; $custom-light: #775cae; $custom-dark: #000000;
JSON
{
"hex": "#341c8b",
"rgb": {
"r": 52,
"g": 28,
"b": 139
},
"hsl": {
"h": 252.973,
"s": 66.467,
"l": 32.745
},
"oklch": {
"l": 0.34354,
"c": 0.16888,
"h": 282.9
},
"luminance": 0.03425
}Semantic roles & 50–950 ramp
primary
#341C8B
secondary
#A3BC47
accent
#E93EC4
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0410
muted
#7C797F