#341D9C#341D9C
#341D9C is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.3% C 0.188 H 279.7°. Best body text is #FFFFFF at 11.66:1 contrast (WCAG AA passes).
Color values
| HEX | #341D9C |
|---|---|
| RGB | rgb(52, 29, 156) |
| HSL | hsl(251, 69%, 36%) |
| HSV | hsv(251, 81%, 61%) |
| CMYK | cmyk(66.7%, 81.4%, 0%, 38.8%) |
| CIE-LAB | lab(23.70, 46.67, -64.25) |
| CIE-LCH | lch(23.70, 79.41, 305.99°) |
| OKLab | oklab(36.32% 0.0318 -0.1855) |
| OKLCH | oklch(36.32% 0.188 279.7) |
| XYZ | xyz(7.8544, 4.0085, 31.8058) |
| Luminance | 0.0401 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.00
Royal
#0C1793
ΔE00 3.69
Cobalt Blue
#030AA7
ΔE00 4.06
Ultramarine
#2000B1
ΔE00 4.27
Royal Blue (survey)
#0504AA
ΔE00 4.41
Indigo (survey)
#380282
ΔE00 5.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#341D9C #859C1D
analogous
#1D469C #341D9C #741D9C
triadic
#341D9C #9C341D #1D9C34
tetradic
#341D9C #9C1D46 #859C1D #1D9C74
square
#341D9C #9C1D46 #859C1D #1D9C74
split-complementary
#341D9C #9C741D #469C1D
monochromatic
#120A35 #231368 #341D9C #4527D0 #6D54DF
Accessibility & contrast
On white
11.66
#341D9C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.80
#341D9C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #341D9C
11.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##341D9C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##341D9C | 1.00 | 11.66 | 1.80 | 11.66 |
| #FFFFFF | 11.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.80 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003D9F
Deuteranopia (green-blind)
#00339A
Tritanopia (blue-blind)
#00445D
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #341d9c; /* rgb */ color: rgb(52, 29, 156); /* oklch */ color: oklch(36.3% 0.188 279.7);
Tailwind
colors: {
custom: {
50: '#7b5eba',
500: '#341d9c',
950: '#000000',
},
}SCSS
$custom: #341d9c; $custom-light: #7b5eba; $custom-dark: #000000;
JSON
{
"hex": "#341d9c",
"rgb": {
"r": 52,
"g": 29,
"b": 156
},
"hsl": {
"h": 250.866,
"s": 68.649,
"l": 36.275
},
"oklch": {
"l": 0.36319,
"c": 0.18822,
"h": 279.7
},
"luminance": 0.04009
}Semantic roles & 50–950 ramp
primary
#341D9C
secondary
#AEC252
accent
#EB3CCC
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0412
muted
#7C7981