#341C8A#341C8A
#341C8A is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.2% C 0.168 H 283.0°. Best body text is #FFFFFF at 12.51:1 contrast (WCAG AA passes).
Color values
| HEX | #341C8A |
|---|---|
| RGB | rgb(52, 28, 138) |
| HSL | hsl(253, 66%, 33%) |
| HSV | hsv(253, 80%, 54%) |
| CMYK | cmyk(62.3%, 79.7%, 0%, 45.9%) |
| CIE-LAB | lab(21.56, 41.70, -56.65) |
| CIE-LCH | lch(21.56, 70.34, 306.36°) |
| OKLab | oklab(34.25% 0.0379 -0.1633) |
| OKLCH | oklch(34.25% 0.168 283) |
| XYZ | xyz(6.4175, 3.3951, 24.3570) |
| Luminance | 0.0340 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal
#0C1793
ΔE00 3.72
Indigo (survey)
#380282
ΔE00 4.07
Midnight Blue
#191970
ΔE00 5.22
Cobalt Blue
#030AA7
ΔE00 5.42
Indigo Blue
#3A18B1
ΔE00 5.52
Indigo
#4B0082
ΔE00 5.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#341C8A #728A1C
analogous
#1C3B8A #341C8A #6B1C8A
triadic
#341C8A #8A341C #1C8A34
tetradic
#341C8A #8A1C3B #728A1C #1C8A6B
square
#341C8A #8A1C3B #728A1C #1C8A6B
split-complementary
#341C8A #8A6B1C #3B8A1C
monochromatic
#0E0724 #211257 #341C8A #4726BD #6747DA
Accessibility & contrast
On white
12.51
#341C8A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.68
#341C8A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #341C8A
12.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##341C8A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##341C8A | 1.00 | 12.51 | 1.68 | 12.51 |
| #FFFFFF | 12.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00378D
Deuteranopia (green-blind)
#003088
Tritanopia (blue-blind)
#003C52
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #341c8a; /* rgb */ color: rgb(52, 28, 138); /* oklch */ color: oklch(34.2% 0.168 283.0);
Tailwind
colors: {
custom: {
50: '#775cad',
500: '#341c8a',
950: '#000000',
},
}SCSS
$custom: #341c8a; $custom-light: #775cad; $custom-dark: #000000;
JSON
{
"hex": "#341c8a",
"rgb": {
"r": 52,
"g": 28,
"b": 138
},
"hsl": {
"h": 253.091,
"s": 66.265,
"l": 32.549
},
"oklch": {
"l": 0.34248,
"c": 0.16767,
"h": 283
},
"luminance": 0.03396
}Semantic roles & 50–950 ramp
primary
#341C8A
secondary
#A2BB46
accent
#E93FC4
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0410
muted
#7C797F