#341A9C#341A9C
#341A9C is a dark, vivid violet. Relative luminance 0.039; OKLCH L 36.0% C 0.191 H 280.0°. Best body text is #FFFFFF at 11.84:1 contrast (WCAG AA passes).
Color values
| HEX | #341A9C |
|---|---|
| RGB | rgb(52, 26, 156) |
| HSL | hsl(252, 71%, 36%) |
| HSV | hsv(252, 83%, 61%) |
| CMYK | cmyk(66.7%, 83.3%, 0%, 38.8%) |
| CIE-LAB | lab(23.23, 48.03, -65.03) |
| CIE-LCH | lch(23.23, 80.85, 306.45°) |
| OKLab | oklab(36% 0.0332 -0.1877) |
| OKLCH | oklch(36% 0.191 280) |
| XYZ | xyz(7.7844, 3.8685, 31.7825) |
| Luminance | 0.0387 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 2.95
Royal
#0C1793
ΔE00 3.60
Cobalt Blue
#030AA7
ΔE00 3.74
Ultramarine
#2000B1
ΔE00 3.90
Royal Blue (survey)
#0504AA
ΔE00 4.05
Indigo (survey)
#380282
ΔE00 5.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#341A9C #829C1A
analogous
#1A419C #341A9C #751A9C
triadic
#341A9C #9C341A #1A9C34
tetradic
#341A9C #9C1A41 #829C1A #1A9C75
square
#341A9C #9C1A41 #829C1A #1A9C75
split-complementary
#341A9C #9C751A #419C1A
monochromatic
#110933 #231168 #341A9C #4523D0 #6C4FE2
Accessibility & contrast
On white
11.84
#341A9C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.77
#341A9C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #341A9C
11.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##341A9C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##341A9C | 1.00 | 11.84 | 1.77 | 11.84 |
| #FFFFFF | 11.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003C9F
Deuteranopia (green-blind)
#00329A
Tritanopia (blue-blind)
#00435D
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #341a9c; /* rgb */ color: rgb(52, 26, 156); /* oklch */ color: oklch(36.0% 0.191 280.0);
Tailwind
colors: {
custom: {
50: '#7b5cbb',
500: '#341a9c',
950: '#000000',
},
}SCSS
$custom: #341a9c; $custom-light: #7b5cbb; $custom-dark: #000000;
JSON
{
"hex": "#341a9c",
"rgb": {
"r": 52,
"g": 26,
"b": 156
},
"hsl": {
"h": 252,
"s": 71.429,
"l": 35.686
},
"oklch": {
"l": 0.35996,
"c": 0.19064,
"h": 280
},
"luminance": 0.03869
}Semantic roles & 50–950 ramp
primary
#341A9C
secondary
#ACC44E
accent
#EE3ACA
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0412
muted
#7C7981