#46279F#46279F
#46279F is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.5% C 0.180 H 286.7°. Best body text is #FFFFFF at 10.24:1 contrast (WCAG AA passes).
Color values
| HEX | #46279F |
|---|---|
| RGB | rgb(70, 39, 159) |
| HSL | hsl(256, 61%, 39%) |
| HSV | hsv(256, 75%, 62%) |
| CMYK | cmyk(56%, 75.5%, 0%, 37.6%) |
| CIE-LAB | lab(27.45, 44.81, -59.84) |
| CIE-LCH | lch(27.45, 74.76, 306.83°) |
| OKLab | oklab(39.45% 0.0518 -0.1722) |
| OKLCH | oklch(39.45% 0.18 286.7) |
| XYZ | xyz(9.5074, 5.2558, 33.3077) |
| Luminance | 0.0526 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.73
Violet Blue
#510AC9
ΔE00 6.24
Ultramarine
#2000B1
ΔE00 6.56
Rebeccapurple
#663399
ΔE00 6.56
Royal
#0C1793
ΔE00 6.62
Cobalt Blue
#030AA7
ΔE00 6.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#46279F #809F27
analogous
#27449F #46279F #82279F
triadic
#46279F #9F4627 #279F46
tetradic
#46279F #9F2744 #809F27 #279F82
square
#46279F #9F2744 #809F27 #279F82
split-complementary
#46279F #9F8227 #449F27
monochromatic
#1B0F3D #301B6E #46279F #5D36CE #8467DA
Accessibility & contrast
On white
10.24
#46279F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.05
#46279F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #46279F
10.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##46279F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##46279F | 1.00 | 10.24 | 2.05 | 10.24 |
| #FFFFFF | 10.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0044A2
Deuteranopia (green-blind)
#003D9D
Tritanopia (blue-blind)
#1F4861
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #46279f; /* rgb */ color: rgb(70, 39, 159); /* oklch */ color: oklch(39.5% 0.180 286.7);
Tailwind
colors: {
custom: {
50: '#8465bc',
500: '#46279f',
950: '#000000',
},
}SCSS
$custom: #46279f; $custom-light: #8465bc; $custom-dark: #000000;
JSON
{
"hex": "#46279f",
"rgb": {
"r": 70,
"g": 39,
"b": 159
},
"hsl": {
"h": 255.5,
"s": 60.606,
"l": 38.824
},
"oklch": {
"l": 0.39452,
"c": 0.17983,
"h": 286.7
},
"luminance": 0.05256
}Semantic roles & 50–950 ramp
primary
#46279F
secondary
#A7C062
accent
#E444BA
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0612
muted
#7D7A81