#341C66#341C66
#341C66 is a dark, vivid violet. Relative luminance 0.025; OKLCH L 30.7% C 0.122 H 292.6°. Best body text is #FFFFFF at 13.96:1 contrast (WCAG AA passes).
Color values
| HEX | #341C66 |
|---|---|
| RGB | rgb(52, 28, 102) |
| HSL | hsl(259, 57%, 25%) |
| HSV | hsv(259, 73%, 40%) |
| CMYK | cmyk(49%, 72.5%, 0%, 60%) |
| CIE-LAB | lab(18.01, 30.59, -39.42) |
| CIE-LCH | lch(18.01, 49.90, 307.81°) |
| OKLab | oklab(30.66% 0.047 -0.1129) |
| OKLCH | oklch(30.66% 0.122 292.6) |
| XYZ | xyz(4.2290, 2.5197, 12.8313) |
| Luminance | 0.0252 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Midnight Blue
#191970
ΔE00 4.94
Dark Indigo
#1F0954
ΔE00 5.23
Royal Purple (survey)
#4B006E
ΔE00 6.58
Indigo (survey)
#380282
ΔE00 6.74
Darkblue (survey)
#030764
ΔE00 7.08
Indigo
#4B0082
ΔE00 7.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#341C66 #4E661C
analogous
#1C2966 #341C66 #591C66
triadic
#341C66 #66341C #1C6634
tetradic
#341C66 #661C29 #4E661C #1C6659
square
#341C66 #661C29 #4E661C #1C6659
split-complementary
#341C66 #66591C #29661C
monochromatic
#0C0718 #1C0F36 #341C66 #4C2996 #6536C6
Accessibility & contrast
On white
13.96
#341C66 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.50
#341C66 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #341C66
13.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##341C66 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##341C66 | 1.00 | 13.96 | 1.50 | 13.96 |
| #FFFFFF | 13.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002D68
Deuteranopia (green-blind)
#002B65
Tritanopia (blue-blind)
#252E3E
Achromatopsia (no color)
#2C2C2C
Design tokens & code
CSS
--color: #341c66; /* rgb */ color: rgb(52, 28, 102); /* oklch */ color: oklch(30.7% 0.122 292.6);
Tailwind
colors: {
custom: {
50: '#715a92',
500: '#341c66',
950: '#000000',
},
}SCSS
$custom: #341c66; $custom-light: #715a92; $custom-dark: #000000;
JSON
{
"hex": "#341c66",
"rgb": {
"r": 52,
"g": 28,
"b": 102
},
"hsl": {
"h": 259.459,
"s": 56.923,
"l": 25.49
},
"oklch": {
"l": 0.30656,
"c": 0.12226,
"h": 292.6
},
"luminance": 0.0252
}Semantic roles & 50–950 ramp
primary
#341C66
secondary
#7E9B43
accent
#E048AF
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#08040D
muted
#7B797E