#51199E#51199E
#51199E is a dark, vivid violet. Relative luminance 0.049; OKLCH L 39.0% C 0.192 H 294.5°. Best body text is #FFFFFF at 10.59:1 contrast (WCAG AA passes).
Color values
| HEX | #51199E |
|---|---|
| RGB | rgb(81, 25, 158) |
| HSL | hsl(265, 73%, 36%) |
| HSV | hsv(265, 84%, 62%) |
| CMYK | cmyk(48.7%, 84.2%, 0%, 38%) |
| CIE-LAB | lab(26.49, 52.21, -60.78) |
| CIE-LCH | lch(26.49, 80.12, 310.67°) |
| OKLab | oklab(39.04% 0.0794 -0.1744) |
| OKLCH | oklch(39.04% 0.192 294.5) |
| XYZ | xyz(9.9108, 4.9129, 32.7672) |
| Luminance | 0.0491 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.09
Indigo
#4B0082
ΔE00 5.21
Violet Blue
#510AC9
ΔE00 5.63
Indigo (survey)
#380282
ΔE00 6.15
Ultramarine
#2000B1
ΔE00 6.30
Rebeccapurple
#663399
ΔE00 6.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#51199E #669E19
analogous
#19239E #51199E #93199E
triadic
#51199E #9E5119 #199E51
tetradic
#51199E #9E1923 #669E19 #199E93
square
#51199E #9E1923 #669E19 #199E93
split-complementary
#51199E #9E9319 #239E19
monochromatic
#1B0834 #361169 #51199E #6C21D3 #8D4EE3
Accessibility & contrast
On white
10.59
#51199E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.98
#51199E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #51199E
10.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##51199E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##51199E | 1.00 | 10.59 | 1.98 | 10.59 |
| #FFFFFF | 10.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0040A2
Deuteranopia (green-blind)
#003C9C
Tritanopia (blue-blind)
#39415E
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #51199e; /* rgb */ color: rgb(81, 25, 158); /* oklch */ color: oklch(39.0% 0.192 294.5);
Tailwind
colors: {
custom: {
50: '#8b5fbc',
500: '#51199e',
950: '#000000',
},
}SCSS
$custom: #51199e; $custom-light: #8b5fbc; $custom-dark: #000000;
JSON
{
"hex": "#51199e",
"rgb": {
"r": 81,
"g": 25,
"b": 158
},
"hsl": {
"h": 265.263,
"s": 72.678,
"l": 35.882
},
"oklch": {
"l": 0.3904,
"c": 0.19166,
"h": 294.5
},
"luminance": 0.04913
}Semantic roles & 50–950 ramp
primary
#51199E
secondary
#93C54E
accent
#EF38A2
background
#F9F5FB
surface
#F1EAF6
border
#CBC6D0
text
#0D0512
muted
#7E7981