#341C9B#341C9B
#341C9B is a dark, vivid violet. Relative luminance 0.039; OKLCH L 36.1% C 0.188 H 280.0°. Best body text is #FFFFFF at 11.76:1 contrast (WCAG AA passes).
Color values
| HEX | #341C9B |
|---|---|
| RGB | rgb(52, 28, 155) |
| HSL | hsl(251, 69%, 36%) |
| HSV | hsv(251, 82%, 61%) |
| CMYK | cmyk(66.5%, 81.9%, 0%, 39.2%) |
| CIE-LAB | lab(23.43, 46.83, -64.09) |
| CIE-LCH | lch(23.43, 79.38, 306.16°) |
| OKLab | oklab(36.1% 0.0326 -0.185) |
| OKLCH | oklch(36.1% 0.188 280) |
| XYZ | xyz(7.7459, 3.9265, 31.3537) |
| Luminance | 0.0393 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.10
Royal
#0C1793
ΔE00 3.60
Cobalt Blue
#030AA7
ΔE00 3.99
Ultramarine
#2000B1
ΔE00 4.22
Royal Blue (survey)
#0504AA
ΔE00 4.33
Indigo (survey)
#380282
ΔE00 5.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#341C9B #839B1C
analogous
#1C439B #341C9B #731C9B
triadic
#341C9B #9B341C #1C9B34
tetradic
#341C9B #9B1C43 #839B1C #1C9B73
square
#341C9B #9B1C43 #839B1C #1C9B73
split-complementary
#341C9B #9B731C #439B1C
monochromatic
#110933 #231367 #341C9B #4525CF #6D52E0
Accessibility & contrast
On white
11.76
#341C9B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.79
#341C9B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #341C9B
11.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##341C9B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##341C9B | 1.00 | 11.76 | 1.79 | 11.76 |
| #FFFFFF | 11.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003C9E
Deuteranopia (green-blind)
#003399
Tritanopia (blue-blind)
#00435C
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #341c9b; /* rgb */ color: rgb(52, 28, 155); /* oklch */ color: oklch(36.1% 0.188 280.0);
Tailwind
colors: {
custom: {
50: '#7b5dba',
500: '#341c9b',
950: '#000000',
},
}SCSS
$custom: #341c9b; $custom-light: #7b5dba; $custom-dark: #000000;
JSON
{
"hex": "#341c9b",
"rgb": {
"r": 52,
"g": 28,
"b": 155
},
"hsl": {
"h": 251.339,
"s": 69.399,
"l": 35.882
},
"oklch": {
"l": 0.36097,
"c": 0.18788,
"h": 280
},
"luminance": 0.03927
}Semantic roles & 50–950 ramp
primary
#341C9B
secondary
#ADC350
accent
#EC3CCB
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0412
muted
#7C7981