#341C85#341C85
#341C85 is a dark, vivid violet. Relative luminance 0.033; OKLCH L 33.7% C 0.162 H 284.1°. Best body text is #FFFFFF at 12.72:1 contrast (WCAG AA passes).
Color values
| HEX | #341C85 |
|---|---|
| RGB | rgb(52, 28, 133) |
| HSL | hsl(254, 65%, 32%) |
| HSV | hsv(254, 79%, 52%) |
| CMYK | cmyk(60.9%, 78.9%, 0%, 47.8%) |
| CIE-LAB | lab(21.03, 40.17, -54.38) |
| CIE-LCH | lch(21.03, 67.61, 306.45°) |
| OKLab | oklab(33.72% 0.0393 -0.1567) |
| OKLCH | oklch(33.72% 0.162 284.1) |
| XYZ | xyz(6.0638, 3.2536, 22.4942) |
| Luminance | 0.0325 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 3.96
Royal
#0C1793
ΔE00 4.12
Midnight Blue
#191970
ΔE00 4.70
Indigo
#4B0082
ΔE00 5.44
Darkblue
#00008B
ΔE00 5.83
Cobalt Blue
#030AA7
ΔE00 6.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#341C85 #6D851C
analogous
#1C3985 #341C85 #691C85
triadic
#341C85 #85341C #1C8534
tetradic
#341C85 #851C39 #6D851C #1C8569
square
#341C85 #851C39 #6D851C #1C8569
split-complementary
#341C85 #85691C #39851C
monochromatic
#0C0720 #201152 #341C85 #4827B8 #6644D8
Accessibility & contrast
On white
12.72
#341C85 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.65
#341C85 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #341C85
12.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##341C85 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##341C85 | 1.00 | 12.72 | 1.65 | 12.72 |
| #FFFFFF | 12.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003688
Deuteranopia (green-blind)
#002F83
Tritanopia (blue-blind)
#013A50
Achromatopsia (no color)
#333333
Design tokens & code
CSS
--color: #341c85; /* rgb */ color: rgb(52, 28, 133); /* oklch */ color: oklch(33.7% 0.162 284.1);
Tailwind
colors: {
custom: {
50: '#765caa',
500: '#341c85',
950: '#000000',
},
}SCSS
$custom: #341c85; $custom-light: #765caa; $custom-dark: #000000;
JSON
{
"hex": "#341c85",
"rgb": {
"r": 52,
"g": 28,
"b": 133
},
"hsl": {
"h": 253.714,
"s": 65.217,
"l": 31.569
},
"oklch": {
"l": 0.33719,
"c": 0.16159,
"h": 284.1
},
"luminance": 0.03254
}Semantic roles & 50–950 ramp
primary
#341C85
secondary
#9EB845
accent
#E840C2
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0410
muted
#7C797F