#341F9C#341F9C
#341F9C is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.5% C 0.186 H 279.5°. Best body text is #FFFFFF at 11.53:1 contrast (WCAG AA passes).
Color values
| HEX | #341F9C |
|---|---|
| RGB | rgb(52, 31, 156) |
| HSL | hsl(250, 67%, 37%) |
| HSV | hsv(250, 80%, 61%) |
| CMYK | cmyk(66.7%, 80.1%, 0%, 38.8%) |
| CIE-LAB | lab(24.03, 45.71, -63.71) |
| CIE-LCH | lch(24.03, 78.41, 305.66°) |
| OKLab | oklab(36.55% 0.0308 -0.1839) |
| OKLCH | oklch(36.55% 0.187 279.5) |
| XYZ | xyz(7.9050, 4.1097, 31.8227) |
| Luminance | 0.0411 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.10
Royal
#0C1793
ΔE00 3.80
Cobalt Blue
#030AA7
ΔE00 4.32
Ultramarine
#2000B1
ΔE00 4.56
Royal Blue (survey)
#0504AA
ΔE00 4.68
Indigo (survey)
#380282
ΔE00 5.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#341F9C #879C1F
analogous
#1F499C #341F9C #731F9C
triadic
#341F9C #9C341F #1F9C34
tetradic
#341F9C #9C1F49 #879C1F #1F9C73
square
#341F9C #9C1F49 #879C1F #1F9C73
split-complementary
#341F9C #9C731F #499C1F
monochromatic
#120B36 #231569 #341F9C #4529CF #6E58DE
Accessibility & contrast
On white
11.53
#341F9C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.82
#341F9C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #341F9C
11.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##341F9C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##341F9C | 1.00 | 11.53 | 1.82 | 11.53 |
| #FFFFFF | 11.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.82 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003E9F
Deuteranopia (green-blind)
#00349A
Tritanopia (blue-blind)
#00455D
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #341f9c; /* rgb */ color: rgb(52, 31, 156); /* oklch */ color: oklch(36.5% 0.186 279.5);
Tailwind
colors: {
custom: {
50: '#7b5fba',
500: '#341f9c',
950: '#000000',
},
}SCSS
$custom: #341f9c; $custom-light: #7b5fba; $custom-dark: #000000;
JSON
{
"hex": "#341f9c",
"rgb": {
"r": 52,
"g": 31,
"b": 156
},
"hsl": {
"h": 250.08,
"s": 66.845,
"l": 36.667
},
"oklch": {
"l": 0.36549,
"c": 0.1865,
"h": 279.5
},
"luminance": 0.0411
}Semantic roles & 50–950 ramp
primary
#341F9C
secondary
#AFC155
accent
#EA3ECD
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0512
muted
#7C7981