#46239E#46239E
#46239E is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.9% C 0.183 H 287.6°. Best body text is #FFFFFF at 10.53:1 contrast (WCAG AA passes).
Color values
| HEX | #46239E |
|---|---|
| RGB | rgb(70, 35, 158) |
| HSL | hsl(257, 64%, 38%) |
| HSV | hsv(257, 78%, 62%) |
| CMYK | cmyk(55.7%, 77.8%, 0%, 38%) |
| CIE-LAB | lab(26.66, 46.51, -60.54) |
| CIE-LCH | lch(26.66, 76.35, 307.53°) |
| OKLab | oklab(38.86% 0.0551 -0.1742) |
| OKLCH | oklch(38.86% 0.183 287.6) |
| XYZ | xyz(9.2965, 4.9723, 32.8110) |
| Luminance | 0.0497 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.37
Ultramarine
#2000B1
ΔE00 6.01
Violet Blue
#510AC9
ΔE00 6.06
Royal
#0C1793
ΔE00 6.28
Cobalt Blue
#030AA7
ΔE00 6.44
Indigo
#4B0082
ΔE00 6.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#46239E #7B9E23
analogous
#233D9E #46239E #83239E
triadic
#46239E #9E4623 #239E46
tetradic
#46239E #9E233D #7B9E23 #239E83
square
#46239E #9E233D #7B9E23 #239E83
split-complementary
#46239E #9E8323 #3D9E23
monochromatic
#1A0D3A #30186C #46239E #5C2ED0 #8360DC
Accessibility & contrast
On white
10.53
#46239E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.99
#46239E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #46239E
10.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##46239E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##46239E | 1.00 | 10.53 | 1.99 | 10.53 |
| #FFFFFF | 10.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0042A1
Deuteranopia (green-blind)
#003C9C
Tritanopia (blue-blind)
#204660
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #46239e; /* rgb */ color: rgb(70, 35, 158); /* oklch */ color: oklch(38.9% 0.183 287.6);
Tailwind
colors: {
custom: {
50: '#8462bc',
500: '#46239e',
950: '#000000',
},
}SCSS
$custom: #46239e; $custom-light: #8462bc; $custom-dark: #000000;
JSON
{
"hex": "#46239e",
"rgb": {
"r": 70,
"g": 35,
"b": 158
},
"hsl": {
"h": 257.073,
"s": 63.731,
"l": 37.843
},
"oklch": {
"l": 0.38864,
"c": 0.18273,
"h": 287.6
},
"luminance": 0.04973
}Semantic roles & 50–950 ramp
primary
#46239E
secondary
#A4C15C
accent
#E741B8
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0512
muted
#7D7A81