#341A7C#341A7C
#341A7C is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.5% C 0.153 H 286.5°. Best body text is #FFFFFF at 13.25:1 contrast (WCAG AA passes).
Color values
| HEX | #341A7C |
|---|---|
| RGB | rgb(52, 26, 124) |
| HSL | hsl(256, 65%, 29%) |
| HSV | hsv(256, 79%, 49%) |
| CMYK | cmyk(58.1%, 79%, 0%, 51.4%) |
| CIE-LAB | lab(19.74, 38.45, -50.82) |
| CIE-LCH | lch(19.74, 63.72, 307.11°) |
| OKLab | oklab(32.53% 0.0434 -0.1463) |
| OKLCH | oklch(32.53% 0.153 286.5) |
| XYZ | xyz(5.4226, 2.9238, 19.3435) |
| Luminance | 0.0292 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 3.74
Midnight Blue
#191970
ΔE00 4.08
Royal
#0C1793
ΔE00 5.08
Indigo
#4B0082
ΔE00 5.18
Dark Royal Blue
#02066F
ΔE00 6.04
Navy
#000080
ΔE00 6.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#341A7C #627C1A
analogous
#1A317C #341A7C #651A7C
triadic
#341A7C #7C341A #1A7C34
tetradic
#341A7C #7C1A31 #627C1A #1A7C65
square
#341A7C #7C1A31 #627C1A #1A7C65
split-complementary
#341A7C #7C651A #317C1A
monochromatic
#0B0519 #1F0F49 #341A7C #4925AF #643BD6
Accessibility & contrast
On white
13.25
#341A7C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.58
#341A7C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #341A7C
13.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##341A7C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##341A7C | 1.00 | 13.25 | 1.58 | 13.25 |
| #FFFFFF | 13.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00327F
Deuteranopia (green-blind)
#002D7A
Tritanopia (blue-blind)
#13364A
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #341a7c; /* rgb */ color: rgb(52, 26, 124); /* oklch */ color: oklch(32.5% 0.153 286.5);
Tailwind
colors: {
custom: {
50: '#755aa3',
500: '#341a7c',
950: '#000000',
},
}SCSS
$custom: #341a7c; $custom-light: #755aa3; $custom-dark: #000000;
JSON
{
"hex": "#341a7c",
"rgb": {
"r": 52,
"g": 26,
"b": 124
},
"hsl": {
"h": 255.918,
"s": 65.333,
"l": 29.412
},
"oklch": {
"l": 0.3253,
"c": 0.1526,
"h": 286.5
},
"luminance": 0.02924
}Semantic roles & 50–950 ramp
primary
#341A7C
secondary
#93B042
accent
#E840BC
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#09040F
muted
#7B797F