#341C9D#341C9D
#341C9D is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.3% C 0.190 H 279.7°. Best body text is #FFFFFF at 11.67:1 contrast (WCAG AA passes).
Color values
| HEX | #341C9D |
|---|---|
| RGB | rgb(52, 28, 157) |
| HSL | hsl(251, 70%, 36%) |
| HSV | hsv(251, 82%, 62%) |
| CMYK | cmyk(66.9%, 82.2%, 0%, 38.4%) |
| CIE-LAB | lab(23.65, 47.43, -64.95) |
| CIE-LCH | lch(23.65, 80.42, 306.14°) |
| OKLab | oklab(36.32% 0.032 -0.1875) |
| OKLCH | oklch(36.32% 0.19 279.7) |
| XYZ | xyz(7.9153, 3.9942, 32.2456) |
| Luminance | 0.0399 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 2.84
Royal
#0C1793
ΔE00 3.70
Cobalt Blue
#030AA7
ΔE00 3.91
Ultramarine
#2000B1
ΔE00 4.06
Royal Blue (survey)
#0504AA
ΔE00 4.23
Indigo (survey)
#380282
ΔE00 5.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#341C9D #859D1C
analogous
#1C459D #341C9D #751C9D
triadic
#341C9D #9D341C #1C9D34
tetradic
#341C9D #9D1C45 #859D1C #1C9D75
square
#341C9D #9D1C45 #859D1C #1C9D75
split-complementary
#341C9D #9D751C #459D1C
monochromatic
#120935 #231369 #341C9D #4525D1 #6D53E0
Accessibility & contrast
On white
11.67
#341C9D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.80
#341C9D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #341C9D
11.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##341C9D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##341C9D | 1.00 | 11.67 | 1.80 | 11.67 |
| #FFFFFF | 11.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.80 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003DA1
Deuteranopia (green-blind)
#00339B
Tritanopia (blue-blind)
#00445D
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #341c9d; /* rgb */ color: rgb(52, 28, 157); /* oklch */ color: oklch(36.3% 0.190 279.7);
Tailwind
colors: {
custom: {
50: '#7b5dbb',
500: '#341c9d',
950: '#000000',
},
}SCSS
$custom: #341c9d; $custom-light: #7b5dbb; $custom-dark: #000000;
JSON
{
"hex": "#341c9d",
"rgb": {
"r": 52,
"g": 28,
"b": 157
},
"hsl": {
"h": 251.163,
"s": 69.73,
"l": 36.275
},
"oklch": {
"l": 0.36319,
"c": 0.19022,
"h": 279.7
},
"luminance": 0.03995
}Semantic roles & 50–950 ramp
primary
#341C9D
secondary
#AEC351
accent
#ED3BCC
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0412
muted
#7C7981