#46279C#46279C
#46279C is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.2% C 0.176 H 287.4°. Best body text is #FFFFFF at 10.34:1 contrast (WCAG AA passes).
Color values
| HEX | #46279C |
|---|---|
| RGB | rgb(70, 39, 156) |
| HSL | hsl(256, 60%, 38%) |
| HSV | hsv(256, 75%, 61%) |
| CMYK | cmyk(55.1%, 75%, 0%, 38.8%) |
| CIE-LAB | lab(27.17, 43.93, -58.48) |
| CIE-LCH | lch(27.17, 73.14, 306.91°) |
| OKLab | oklab(39.16% 0.0526 -0.1682) |
| OKLCH | oklch(39.16% 0.176 287.4) |
| XYZ | xyz(9.2503, 5.1529, 31.9532) |
| Luminance | 0.0515 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.04
Rebeccapurple
#663399
ΔE00 6.47
Royal
#0C1793
ΔE00 6.56
Violet Blue
#510AC9
ΔE00 6.62
Ultramarine
#2000B1
ΔE00 6.73
Darkslateblue
#483D8B
ΔE00 6.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#46279C #7D9C27
analogous
#27439C #46279C #80279C
triadic
#46279C #9C4627 #279C46
tetradic
#46279C #9C2743 #7D9C27 #279C80
square
#46279C #9C2743 #7D9C27 #279C80
split-complementary
#46279C #9C8027 #439C27
monochromatic
#1A0F3A #301B6B #46279C #5C34CC #8465D8
Accessibility & contrast
On white
10.34
#46279C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.03
#46279C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #46279C
10.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##46279C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##46279C | 1.00 | 10.34 | 2.03 | 10.34 |
| #FFFFFF | 10.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00439F
Deuteranopia (green-blind)
#003D9A
Tritanopia (blue-blind)
#22475F
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #46279c; /* rgb */ color: rgb(70, 39, 156); /* oklch */ color: oklch(39.2% 0.176 287.4);
Tailwind
colors: {
custom: {
50: '#8365ba',
500: '#46279c',
950: '#000000',
},
}SCSS
$custom: #46279c; $custom-light: #8365ba; $custom-dark: #000000;
JSON
{
"hex": "#46279c",
"rgb": {
"r": 70,
"g": 39,
"b": 156
},
"hsl": {
"h": 255.897,
"s": 60,
"l": 38.235
},
"oklch": {
"l": 0.39164,
"c": 0.17624,
"h": 287.4
},
"luminance": 0.05153
}Semantic roles & 50–950 ramp
primary
#46279C
secondary
#A5BE61
accent
#E345B9
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0612
muted
#7D7A81