#341F85#341F85
#341F85 is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.1% C 0.158 H 283.6°. Best body text is #FFFFFF at 12.50:1 contrast (WCAG AA passes).
Color values
| HEX | #341F85 |
|---|---|
| RGB | rgb(52, 31, 133) |
| HSL | hsl(252, 62%, 32%) |
| HSV | hsv(252, 77%, 52%) |
| CMYK | cmyk(60.9%, 76.7%, 0%, 47.8%) |
| CIE-LAB | lab(21.59, 38.58, -53.46) |
| CIE-LCH | lch(21.59, 65.93, 305.81°) |
| OKLab | oklab(34.11% 0.0372 -0.1541) |
| OKLCH | oklch(34.11% 0.158 283.6) |
| XYZ | xyz(6.1385, 3.4031, 22.5191) |
| Luminance | 0.0340 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal
#0C1793
ΔE00 4.29
Indigo (survey)
#380282
ΔE00 4.63
Midnight Blue
#191970
ΔE00 4.68
Indigo
#4B0082
ΔE00 5.96
Darkblue
#00008B
ΔE00 6.34
Cobalt Blue
#030AA7
ΔE00 6.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#341F85 #70851F
analogous
#1F3D85 #341F85 #671F85
triadic
#341F85 #85341F #1F8534
tetradic
#341F85 #851F3D #70851F #1F8567
square
#341F85 #851F3D #70851F #1F8567
split-complementary
#341F85 #85671F #3D851F
monochromatic
#0D0822 #211353 #341F85 #472BB7 #664AD5
Accessibility & contrast
On white
12.50
#341F85 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.68
#341F85 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #341F85
12.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##341F85 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##341F85 | 1.00 | 12.50 | 1.68 | 12.50 |
| #FFFFFF | 12.50 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.50 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003788
Deuteranopia (green-blind)
#003083
Tritanopia (blue-blind)
#003C50
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #341f85; /* rgb */ color: rgb(52, 31, 133); /* oklch */ color: oklch(34.1% 0.158 283.6);
Tailwind
colors: {
custom: {
50: '#765daa',
500: '#341f85',
950: '#000000',
},
}SCSS
$custom: #341f85; $custom-light: #765daa; $custom-dark: #000000;
JSON
{
"hex": "#341f85",
"rgb": {
"r": 52,
"g": 31,
"b": 133
},
"hsl": {
"h": 252.353,
"s": 62.195,
"l": 32.157
},
"oklch": {
"l": 0.34112,
"c": 0.15849,
"h": 283.6
},
"luminance": 0.03403
}Semantic roles & 50–950 ramp
primary
#341F85
secondary
#A0B749
accent
#E543C4
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#090410
muted
#7B797F