#34146F#34146F
#34146F is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.5% C 0.143 H 291.4°. Best body text is #FFFFFF at 14.23:1 contrast (WCAG AA passes).
Color values
| HEX | #34146F |
|---|---|
| RGB | rgb(52, 20, 111) |
| HSL | hsl(261, 69%, 26%) |
| HSV | hsv(261, 82%, 44%) |
| CMYK | cmyk(53.2%, 82%, 0%, 56.5%) |
| CIE-LAB | lab(17.36, 37.57, -46.37) |
| CIE-LCH | lch(17.36, 59.67, 309.01°) |
| OKLab | oklab(30.46% 0.0522 -0.1332) |
| OKLCH | oklch(30.46% 0.143 291.4) |
| XYZ | xyz(4.5348, 2.3779, 15.2559) |
| Luminance | 0.0238 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 4.01
Midnight Blue
#191970
ΔE00 4.44
Indigo
#4B0082
ΔE00 5.12
Royal Purple (survey)
#4B006E
ΔE00 5.22
Dark Indigo
#1F0954
ΔE00 5.30
Dark Royal Blue
#02066F
ΔE00 5.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#34146F #4F6F14
analogous
#14216F #34146F #61146F
triadic
#34146F #6F3414 #146F34
tetradic
#34146F #6F1421 #4F6F14 #146F61
square
#34146F #6F1421 #4F6F14 #146F61
split-complementary
#34146F #6F6114 #216F14
monochromatic
#0C051A #1C0B3B #34146F #4C1DA3 #6527D7
Accessibility & contrast
On white
14.23
#34146F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.48
#34146F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #34146F
14.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##34146F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##34146F | 1.00 | 14.23 | 1.48 | 14.23 |
| #FFFFFF | 14.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002C72
Deuteranopia (green-blind)
#00296D
Tritanopia (blue-blind)
#202E41
Achromatopsia (no color)
#2B2B2B
Design tokens & code
CSS
--color: #34146f; /* rgb */ color: rgb(52, 20, 111); /* oklch */ color: oklch(30.5% 0.143 291.4);
Tailwind
colors: {
custom: {
50: '#735699',
500: '#34146f',
950: '#000000',
},
}SCSS
$custom: #34146f; $custom-light: #735699; $custom-dark: #000000;
JSON
{
"hex": "#34146f",
"rgb": {
"r": 52,
"g": 20,
"b": 111
},
"hsl": {
"h": 261.099,
"s": 69.466,
"l": 25.686
},
"oklch": {
"l": 0.30463,
"c": 0.14307,
"h": 291.4
},
"luminance": 0.02378
}Semantic roles & 50–950 ramp
primary
#34146F
secondary
#7FA639
accent
#EC3CAE
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030E
muted
#7B787E