#46279E#46279E
#46279E is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.4% C 0.179 H 286.9°. Best body text is #FFFFFF at 10.27:1 contrast (WCAG AA passes).
Color values
| HEX | #46279E |
|---|---|
| RGB | rgb(70, 39, 158) |
| HSL | hsl(256, 60%, 39%) |
| HSV | hsv(256, 75%, 62%) |
| CMYK | cmyk(55.7%, 75.3%, 0%, 38%) |
| CIE-LAB | lab(27.36, 44.52, -59.39) |
| CIE-LCH | lch(27.36, 74.22, 306.85°) |
| OKLab | oklab(39.36% 0.0521 -0.1709) |
| OKLCH | oklch(39.36% 0.179 286.9) |
| XYZ | xyz(9.4210, 5.2212, 32.8525) |
| Luminance | 0.0522 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.83
Violet Blue
#510AC9
ΔE00 6.37
Rebeccapurple
#663399
ΔE00 6.53
Royal
#0C1793
ΔE00 6.59
Ultramarine
#2000B1
ΔE00 6.61
Cobalt Blue
#030AA7
ΔE00 6.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#46279E #7F9E27
analogous
#27439E #46279E #81279E
triadic
#46279E #9E4627 #279E46
tetradic
#46279E #9E2743 #7F9E27 #279E81
square
#46279E #9E2743 #7F9E27 #279E81
split-complementary
#46279E #9E8127 #439E27
monochromatic
#1B0F3C #301B6D #46279E #5D35CD #8466D9
Accessibility & contrast
On white
10.27
#46279E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.04
#46279E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #46279E
10.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##46279E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##46279E | 1.00 | 10.27 | 2.04 | 10.27 |
| #FFFFFF | 10.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0043A1
Deuteranopia (green-blind)
#003D9C
Tritanopia (blue-blind)
#204860
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #46279e; /* rgb */ color: rgb(70, 39, 158); /* oklch */ color: oklch(39.4% 0.179 286.9);
Tailwind
colors: {
custom: {
50: '#8365bc',
500: '#46279e',
950: '#000000',
},
}SCSS
$custom: #46279e; $custom-light: #8365bc; $custom-dark: #000000;
JSON
{
"hex": "#46279e",
"rgb": {
"r": 70,
"g": 39,
"b": 158
},
"hsl": {
"h": 255.63,
"s": 60.406,
"l": 38.627
},
"oklch": {
"l": 0.39356,
"c": 0.17863,
"h": 286.9
},
"luminance": 0.05222
}Semantic roles & 50–950 ramp
primary
#46279E
secondary
#A7BF62
accent
#E444BA
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0612
muted
#7D7A81