#46239F#46239F
#46239F is a dark, vivid violet. Relative luminance 0.050; OKLCH L 39.0% C 0.184 H 287.3°. Best body text is #FFFFFF at 10.49:1 contrast (WCAG AA passes).
Color values
| HEX | #46239F |
|---|---|
| RGB | rgb(70, 35, 159) |
| HSL | hsl(257, 64%, 38%) |
| HSV | hsv(257, 78%, 62%) |
| CMYK | cmyk(56%, 78%, 0%, 37.6%) |
| CIE-LAB | lab(26.75, 46.80, -60.99) |
| CIE-LCH | lch(26.75, 76.87, 307.50°) |
| OKLab | oklab(38.96% 0.0548 -0.1755) |
| OKLCH | oklch(38.96% 0.184 287.3) |
| XYZ | xyz(9.3830, 5.0069, 33.2662) |
| Luminance | 0.0501 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.26
Violet Blue
#510AC9
ΔE00 5.93
Ultramarine
#2000B1
ΔE00 5.96
Royal
#0C1793
ΔE00 6.31
Cobalt Blue
#030AA7
ΔE00 6.41
Royal Blue (survey)
#0504AA
ΔE00 6.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#46239F #7C9F23
analogous
#233E9F #46239F #84239F
triadic
#46239F #9F4623 #239F46
tetradic
#46239F #9F233E #7C9F23 #239F84
square
#46239F #9F233E #7C9F23 #239F84
split-complementary
#46239F #9F8423 #3E9F23
monochromatic
#1A0D3B #30186D #46239F #5C2ED1 #8360DC
Accessibility & contrast
On white
10.49
#46239F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.00
#46239F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #46239F
10.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##46239F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##46239F | 1.00 | 10.49 | 2.00 | 10.49 |
| #FFFFFF | 10.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0042A2
Deuteranopia (green-blind)
#003C9D
Tritanopia (blue-blind)
#1F4660
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #46239f; /* rgb */ color: rgb(70, 35, 159); /* oklch */ color: oklch(39.0% 0.184 287.3);
Tailwind
colors: {
custom: {
50: '#8462bd',
500: '#46239f',
950: '#000000',
},
}SCSS
$custom: #46239f; $custom-light: #8462bd; $custom-dark: #000000;
JSON
{
"hex": "#46239f",
"rgb": {
"r": 70,
"g": 35,
"b": 159
},
"hsl": {
"h": 256.935,
"s": 63.918,
"l": 38.039
},
"oklch": {
"l": 0.38963,
"c": 0.18388,
"h": 287.3
},
"luminance": 0.05007
}Semantic roles & 50–950 ramp
primary
#46239F
secondary
#A5C15D
accent
#E741B8
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0512
muted
#7D7A81