#341C8E#341C8E
#341C8E is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.7% C 0.172 H 282.3°. Best body text is #FFFFFF at 12.33:1 contrast (WCAG AA passes).
Color values
| HEX | #341C8E |
|---|---|
| RGB | rgb(52, 28, 142) |
| HSL | hsl(253, 67%, 33%) |
| HSV | hsv(253, 80%, 56%) |
| CMYK | cmyk(63.4%, 80.3%, 0%, 44.3%) |
| CIE-LAB | lab(21.99, 42.92, -58.43) |
| CIE-LCH | lch(21.99, 72.50, 306.29°) |
| OKLab | oklab(34.68% 0.0367 -0.1685) |
| OKLCH | oklch(34.68% 0.172 282.3) |
| XYZ | xyz(6.7124, 3.5131, 25.9103) |
| Luminance | 0.0351 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal
#0C1793
ΔE00 3.51
Indigo (survey)
#380282
ΔE00 4.26
Indigo Blue
#3A18B1
ΔE00 4.93
Cobalt Blue
#030AA7
ΔE00 4.99
Royal Blue (survey)
#0504AA
ΔE00 5.38
Ultramarine
#2000B1
ΔE00 5.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#341C8E #768E1C
analogous
#1C3D8E #341C8E #6D1C8E
triadic
#341C8E #8E341C #1C8E34
tetradic
#341C8E #8E1C3D #768E1C #1C8E6D
square
#341C8E #8E1C3D #768E1C #1C8E6D
split-complementary
#341C8E #8E6D1C #3D8E1C
monochromatic
#0F0828 #21125B #341C8E #4726C1 #6849DB
Accessibility & contrast
On white
12.33
#341C8E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.70
#341C8E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #341C8E
12.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##341C8E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##341C8E | 1.00 | 12.33 | 1.70 | 12.33 |
| #FFFFFF | 12.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003891
Deuteranopia (green-blind)
#00318C
Tritanopia (blue-blind)
#003E55
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #341c8e; /* rgb */ color: rgb(52, 28, 142); /* oklch */ color: oklch(34.7% 0.172 282.3);
Tailwind
colors: {
custom: {
50: '#785cb0',
500: '#341c8e',
950: '#000000',
},
}SCSS
$custom: #341c8e; $custom-light: #785cb0; $custom-dark: #000000;
JSON
{
"hex": "#341c8e",
"rgb": {
"r": 52,
"g": 28,
"b": 142
},
"hsl": {
"h": 252.632,
"s": 67.059,
"l": 33.333
},
"oklch": {
"l": 0.34676,
"c": 0.17249,
"h": 282.3
},
"luminance": 0.03514
}Semantic roles & 50–950 ramp
primary
#341C8E
secondary
#A5BD49
accent
#EA3EC6
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980