#341C88#341C88
#341C88 is a dark, vivid violet. Relative luminance 0.033; OKLCH L 34.0% C 0.165 H 283.5°. Best body text is #FFFFFF at 12.59:1 contrast (WCAG AA passes).
Color values
| HEX | #341C88 |
|---|---|
| RGB | rgb(52, 28, 136) |
| HSL | hsl(253, 66%, 32%) |
| HSV | hsv(253, 79%, 53%) |
| CMYK | cmyk(61.8%, 79.4%, 0%, 46.7%) |
| CIE-LAB | lab(21.35, 41.09, -55.75) |
| CIE-LCH | lch(21.35, 69.25, 306.39°) |
| OKLab | oklab(34.04% 0.0385 -0.1607) |
| OKLCH | oklch(34.04% 0.165 283.5) |
| XYZ | xyz(6.2740, 3.3377, 23.6014) |
| Luminance | 0.0334 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal
#0C1793
ΔE00 3.86
Indigo (survey)
#380282
ΔE00 4.00
Midnight Blue
#191970
ΔE00 5.00
Indigo
#4B0082
ΔE00 5.49
Cobalt Blue
#030AA7
ΔE00 5.66
Darkblue
#00008B
ΔE00 5.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#341C88 #70881C
analogous
#1C3A88 #341C88 #6A1C88
triadic
#341C88 #88341C #1C8834
tetradic
#341C88 #881C3A #70881C #1C886A
square
#341C88 #881C3A #70881C #1C886A
split-complementary
#341C88 #886A1C #3A881C
monochromatic
#0D0722 #211255 #341C88 #4726BB #6646D9
Accessibility & contrast
On white
12.59
#341C88 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.67
#341C88 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #341C88
12.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##341C88 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##341C88 | 1.00 | 12.59 | 1.67 | 12.59 |
| #FFFFFF | 12.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00368B
Deuteranopia (green-blind)
#003086
Tritanopia (blue-blind)
#003B51
Achromatopsia (no color)
#333333
Design tokens & code
CSS
--color: #341c88; /* rgb */ color: rgb(52, 28, 136); /* oklch */ color: oklch(34.0% 0.165 283.5);
Tailwind
colors: {
custom: {
50: '#775cac',
500: '#341c88',
950: '#000000',
},
}SCSS
$custom: #341c88; $custom-light: #775cac; $custom-dark: #000000;
JSON
{
"hex": "#341c88",
"rgb": {
"r": 52,
"g": 28,
"b": 136
},
"hsl": {
"h": 253.333,
"s": 65.854,
"l": 32.157
},
"oklch": {
"l": 0.34036,
"c": 0.16525,
"h": 283.5
},
"luminance": 0.03338
}Semantic roles & 50–950 ramp
primary
#341C88
secondary
#A0BA45
accent
#E93FC3
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0410
muted
#7C797F