#341E6F#341E6F
#341E6F is a dark, vivid violet. Relative luminance 0.028; OKLCH L 31.8% C 0.131 H 289.2°. Best body text is #FFFFFF at 13.45:1 contrast (WCAG AA passes).
Color values
| HEX | #341E6F |
|---|---|
| RGB | rgb(52, 30, 111) |
| HSL | hsl(256, 57%, 28%) |
| HSV | hsv(256, 73%, 44%) |
| CMYK | cmyk(53.2%, 73%, 0%, 56.5%) |
| CIE-LAB | lab(19.25, 32.22, -43.26) |
| CIE-LCH | lch(19.25, 53.94, 306.67°) |
| OKLab | oklab(31.8% 0.0431 -0.1242) |
| OKLCH | oklch(31.8% 0.131 289.2) |
| XYZ | xyz(4.7489, 2.8061, 15.3273) |
| Luminance | 0.0281 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Midnight Blue
#191970
ΔE00 4.06
Indigo (survey)
#380282
ΔE00 5.85
Dark Indigo
#1F0954
ΔE00 6.17
Indigo
#4B0082
ΔE00 6.69
Royal Purple (survey)
#4B006E
ΔE00 6.83
Dark Royal Blue
#02066F
ΔE00 6.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#341E6F #596F1E
analogous
#1E316F #341E6F #5C1E6F
triadic
#341E6F #6F341E #1E6F34
tetradic
#341E6F #6F1E31 #596F1E #1E6F5C
square
#341E6F #6F1E31 #596F1E #1E6F5C
split-complementary
#341E6F #6F5C1E #316F1E
monochromatic
#0B0718 #1D113F #341E6F #4B2B9F #633DCB
Accessibility & contrast
On white
13.45
#341E6F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.56
#341E6F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #341E6F
13.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##341E6F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##341E6F | 1.00 | 13.45 | 1.56 | 13.45 |
| #FFFFFF | 13.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003071
Deuteranopia (green-blind)
#002D6D
Tritanopia (blue-blind)
#1F3344
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #341e6f; /* rgb */ color: rgb(52, 30, 111); /* oklch */ color: oklch(31.8% 0.131 289.2);
Tailwind
colors: {
custom: {
50: '#725c99',
500: '#341e6f',
950: '#000000',
},
}SCSS
$custom: #341e6f; $custom-light: #725c99; $custom-dark: #000000;
JSON
{
"hex": "#341e6f",
"rgb": {
"r": 52,
"g": 30,
"b": 111
},
"hsl": {
"h": 256.296,
"s": 57.447,
"l": 27.647
},
"oklch": {
"l": 0.31798,
"c": 0.13146,
"h": 289.2
},
"luminance": 0.02806
}Semantic roles & 50–950 ramp
primary
#341E6F
secondary
#8AA346
accent
#E147B7
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08040E
muted
#7B797E