#34199F#34199F
#34199F is a dark, vivid violet. Relative luminance 0.039; OKLCH L 36.2% C 0.195 H 279.7°. Best body text is #FFFFFF at 11.76:1 contrast (WCAG AA passes).
Color values
| HEX | #34199F |
|---|---|
| RGB | rgb(52, 25, 159) |
| HSL | hsl(252, 73%, 36%) |
| HSV | hsv(252, 84%, 62%) |
| CMYK | cmyk(67.3%, 84.3%, 0%, 37.6%) |
| CIE-LAB | lab(23.43, 49.34, -66.53) |
| CIE-LCH | lch(23.43, 82.83, 306.56°) |
| OKLab | oklab(36.23% 0.0327 -0.1921) |
| OKLCH | oklch(36.23% 0.195 279.7) |
| XYZ | xyz(8.0198, 3.9279, 33.1297) |
| Luminance | 0.0393 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 2.55
Ultramarine
#2000B1
ΔE00 3.54
Cobalt Blue
#030AA7
ΔE00 3.55
Royal
#0C1793
ΔE00 3.76
Royal Blue (survey)
#0504AA
ΔE00 3.81
Indigo (survey)
#380282
ΔE00 5.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#34199F #849F19
analogous
#19419F #34199F #77199F
triadic
#34199F #9F3419 #199F34
tetradic
#34199F #9F1941 #849F19 #199F77
square
#34199F #9F1941 #849F19 #199F77
split-complementary
#34199F #9F7719 #419F19
monochromatic
#110835 #23116A #34199F #4521D4 #6D4FE3
Accessibility & contrast
On white
11.76
#34199F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.79
#34199F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #34199F
11.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##34199F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##34199F | 1.00 | 11.76 | 1.79 | 11.76 |
| #FFFFFF | 11.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003DA3
Deuteranopia (green-blind)
#00339D
Tritanopia (blue-blind)
#00445E
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #34199f; /* rgb */ color: rgb(52, 25, 159); /* oklch */ color: oklch(36.2% 0.195 279.7);
Tailwind
colors: {
custom: {
50: '#7c5cbd',
500: '#34199f',
950: '#000000',
},
}SCSS
$custom: #34199f; $custom-light: #7c5cbd; $custom-dark: #000000;
JSON
{
"hex": "#34199f",
"rgb": {
"r": 52,
"g": 25,
"b": 159
},
"hsl": {
"h": 252.09,
"s": 72.826,
"l": 36.078
},
"oklch": {
"l": 0.36234,
"c": 0.19484,
"h": 279.7
},
"luminance": 0.03929
}Semantic roles & 50–950 ramp
primary
#34199F
secondary
#AEC64E
accent
#F038CB
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0412
muted
#7C7981