#341C9A#341C9A
#341C9A is a dark, vivid violet. Relative luminance 0.039; OKLCH L 36.0% C 0.187 H 280.2°. Best body text is #FFFFFF at 11.81:1 contrast (WCAG AA passes).
Color values
| HEX | #341C9A |
|---|---|
| RGB | rgb(52, 28, 154) |
| HSL | hsl(251, 69%, 36%) |
| HSV | hsv(251, 82%, 60%) |
| CMYK | cmyk(66.2%, 81.8%, 0%, 39.6%) |
| CIE-LAB | lab(23.31, 46.53, -63.66) |
| CIE-LCH | lch(23.31, 78.86, 306.16°) |
| OKLab | oklab(35.99% 0.0329 -0.1838) |
| OKLCH | oklch(35.99% 0.187 280.2) |
| XYZ | xyz(7.6623, 3.8931, 30.9132) |
| Luminance | 0.0389 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.24
Royal
#0C1793
ΔE00 3.55
Cobalt Blue
#030AA7
ΔE00 4.04
Ultramarine
#2000B1
ΔE00 4.31
Royal Blue (survey)
#0504AA
ΔE00 4.39
Indigo (survey)
#380282
ΔE00 5.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#341C9A #829A1C
analogous
#1C439A #341C9A #731C9A
triadic
#341C9A #9A341C #1C9A34
tetradic
#341C9A #9A1C43 #829A1C #1C9A73
square
#341C9A #9A1C43 #829A1C #1C9A73
split-complementary
#341C9A #9A731C #439A1C
monochromatic
#110932 #231366 #341C9A #4525CE #6C51DF
Accessibility & contrast
On white
11.81
#341C9A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.78
#341C9A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #341C9A
11.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##341C9A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##341C9A | 1.00 | 11.81 | 1.78 | 11.81 |
| #FFFFFF | 11.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003C9D
Deuteranopia (green-blind)
#003398
Tritanopia (blue-blind)
#00435C
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #341c9a; /* rgb */ color: rgb(52, 28, 154); /* oklch */ color: oklch(36.0% 0.187 280.2);
Tailwind
colors: {
custom: {
50: '#7b5db9',
500: '#341c9a',
950: '#000000',
},
}SCSS
$custom: #341c9a; $custom-light: #7b5db9; $custom-dark: #000000;
JSON
{
"hex": "#341c9a",
"rgb": {
"r": 52,
"g": 28,
"b": 154
},
"hsl": {
"h": 251.429,
"s": 69.231,
"l": 35.686
},
"oklch": {
"l": 0.35986,
"c": 0.18671,
"h": 280.2
},
"luminance": 0.03894
}Semantic roles & 50–950 ramp
primary
#341C9A
secondary
#ACC250
accent
#EC3CCA
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0412
muted
#7C7981