#341D7C#341D7C
#341D7C is a dark, vivid violet. Relative luminance 0.031; OKLCH L 32.9% C 0.149 H 286.0°. Best body text is #FFFFFF at 13.02:1 contrast (WCAG AA passes).
Color values
| HEX | #341D7C |
|---|---|
| RGB | rgb(52, 29, 124) |
| HSL | hsl(255, 62%, 30%) |
| HSV | hsv(255, 77%, 49%) |
| CMYK | cmyk(58.1%, 76.6%, 0%, 51.4%) |
| CIE-LAB | lab(20.30, 36.85, -49.90) |
| CIE-LCH | lch(20.30, 62.03, 306.45°) |
| OKLab | oklab(32.92% 0.0411 -0.1436) |
| OKLCH | oklch(32.92% 0.149 286) |
| XYZ | xyz(5.4925, 3.0637, 19.3668) |
| Luminance | 0.0306 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Midnight Blue
#191970
ΔE00 3.99
Indigo (survey)
#380282
ΔE00 4.41
Royal
#0C1793
ΔE00 5.19
Indigo
#4B0082
ΔE00 5.69
Dark Royal Blue
#02066F
ΔE00 6.42
Navy
#000080
ΔE00 6.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#341D7C #657C1D
analogous
#1D367C #341D7C #631D7C
triadic
#341D7C #7C341D #1D7C34
tetradic
#341D7C #7C1D36 #657C1D #1D7C63
square
#341D7C #7C1D36 #657C1D #1D7C63
split-complementary
#341D7C #7C631D #367C1D
monochromatic
#0A0619 #1F114A #341D7C #4929AE #6441D3
Accessibility & contrast
On white
13.02
#341D7C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.61
#341D7C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #341D7C
13.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##341D7C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##341D7C | 1.00 | 13.02 | 1.61 | 13.02 |
| #FFFFFF | 13.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00337F
Deuteranopia (green-blind)
#002E7A
Tritanopia (blue-blind)
#12374B
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #341d7c; /* rgb */ color: rgb(52, 29, 124); /* oklch */ color: oklch(32.9% 0.149 286.0);
Tailwind
colors: {
custom: {
50: '#745ca3',
500: '#341d7c',
950: '#000000',
},
}SCSS
$custom: #341d7c; $custom-light: #745ca3; $custom-dark: #000000;
JSON
{
"hex": "#341d7c",
"rgb": {
"r": 52,
"g": 29,
"b": 124
},
"hsl": {
"h": 254.526,
"s": 62.092,
"l": 30
},
"oklch": {
"l": 0.32924,
"c": 0.14937,
"h": 286
},
"luminance": 0.03064
}Semantic roles & 50–950 ramp
primary
#341D7C
secondary
#96B045
accent
#E543BE
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#09040F
muted
#7B797F