#341F92#341F92
#341F92 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.5% C 0.174 H 281.1°. Best body text is #FFFFFF at 11.95:1 contrast (WCAG AA passes).
Color values
| HEX | #341F92 |
|---|---|
| RGB | rgb(52, 31, 146) |
| HSL | hsl(251, 65%, 35%) |
| HSV | hsv(251, 79%, 57%) |
| CMYK | cmyk(64.4%, 78.8%, 0%, 42.7%) |
| CIE-LAB | lab(22.95, 42.63, -59.34) |
| CIE-LCH | lch(22.95, 73.07, 305.69°) |
| OKLab | oklab(35.47% 0.0336 -0.1712) |
| OKLCH | oklch(35.47% 0.175 281.1) |
| XYZ | xyz(7.0928, 3.7848, 27.5453) |
| Luminance | 0.0379 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal
#0C1793
ΔE00 3.58
Indigo Blue
#3A18B1
ΔE00 4.46
Cobalt Blue
#030AA7
ΔE00 4.95
Indigo (survey)
#380282
ΔE00 5.05
Royal Blue (survey)
#0504AA
ΔE00 5.37
Ultramarine
#2000B1
ΔE00 5.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#341F92 #7D921F
analogous
#1F4392 #341F92 #6E1F92
triadic
#341F92 #92341F #1F9234
tetradic
#341F92 #921F43 #7D921F #1F926E
square
#341F92 #921F43 #7D921F #1F926E
split-complementary
#341F92 #926E1F #43921F
monochromatic
#100A2D #221460 #341F92 #462AC4 #6A51DA
Accessibility & contrast
On white
11.95
#341F92 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.76
#341F92 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #341F92
11.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##341F92 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##341F92 | 1.00 | 11.95 | 1.76 | 11.95 |
| #FFFFFF | 11.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003B95
Deuteranopia (green-blind)
#003290
Tritanopia (blue-blind)
#004158
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #341f92; /* rgb */ color: rgb(52, 31, 146); /* oklch */ color: oklch(35.5% 0.174 281.1);
Tailwind
colors: {
custom: {
50: '#795eb3',
500: '#341f92',
950: '#000000',
},
}SCSS
$custom: #341f92; $custom-light: #795eb3; $custom-dark: #000000;
JSON
{
"hex": "#341f92",
"rgb": {
"r": 52,
"g": 31,
"b": 146
},
"hsl": {
"h": 250.957,
"s": 64.972,
"l": 34.706
},
"oklch": {
"l": 0.35471,
"c": 0.1745,
"h": 281.1
},
"luminance": 0.03785
}Semantic roles & 50–950 ramp
primary
#341F92
secondary
#A9BD50
accent
#E840C9
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980