#34146C#34146C
#34146C is a dark, vivid violet. Relative luminance 0.023; OKLCH L 30.2% C 0.140 H 292.4°. Best body text is #FFFFFF at 14.36:1 contrast (WCAG AA passes).
Color values
| HEX | #34146C |
|---|---|
| RGB | rgb(52, 20, 108) |
| HSL | hsl(262, 69%, 25%) |
| HSV | hsv(262, 81%, 42%) |
| CMYK | cmyk(51.9%, 81.5%, 0%, 57.6%) |
| CIE-LAB | lab(17.05, 36.70, -44.92) |
| CIE-LCH | lch(17.05, 58.00, 309.25°) |
| OKLab | oklab(30.16% 0.0532 -0.129) |
| OKLCH | oklch(30.16% 0.14 292.4) |
| XYZ | xyz(4.3723, 2.3129, 14.4005) |
| Luminance | 0.0231 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 4.46
Midnight Blue
#191970
ΔE00 4.61
Dark Indigo
#1F0954
ΔE00 4.94
Royal Purple (survey)
#4B006E
ΔE00 5.16
Indigo
#4B0082
ΔE00 5.41
Dark Royal Blue
#02066F
ΔE00 5.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#34146C #4C6C14
analogous
#14206C #34146C #60146C
triadic
#34146C #6C3414 #146C34
tetradic
#34146C #6C1420 #4C6C14 #146C60
square
#34146C #6C1420 #4C6C14 #146C60
split-complementary
#34146C #6C6014 #206C14
monochromatic
#0C051A #1B0A38 #34146C #4D1EA0 #6627D3
Accessibility & contrast
On white
14.36
#34146C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.46
#34146C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #34146C
14.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##34146C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##34146C | 1.00 | 14.36 | 1.46 | 14.36 |
| #FFFFFF | 14.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002B6E
Deuteranopia (green-blind)
#00286A
Tritanopia (blue-blind)
#222D40
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #34146c; /* rgb */ color: rgb(52, 20, 108); /* oklch */ color: oklch(30.2% 0.140 292.4);
Tailwind
colors: {
custom: {
50: '#725697',
500: '#34146c',
950: '#000000',
},
}SCSS
$custom: #34146c; $custom-light: #725697; $custom-dark: #000000;
JSON
{
"hex": "#34146c",
"rgb": {
"r": 52,
"g": 20,
"b": 108
},
"hsl": {
"h": 261.818,
"s": 68.75,
"l": 25.098
},
"oklch": {
"l": 0.30156,
"c": 0.1395,
"h": 292.4
},
"luminance": 0.02313
}Semantic roles & 50–950 ramp
primary
#34146C
secondary
#7CA339
accent
#EC3CAC
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030D
muted
#7B787E