#46117E#46117E

#46117E is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.9% C 0.164 H 298.8°. Best body text is #FFFFFF at 12.79:1 contrast (WCAG AA passes).

Color values

HEX#46117E
RGBrgb(70, 17, 126)
HSLhsl(269, 76%, 28%)
HSVhsv(269, 87%, 49%)
CMYKcmyk(44.4%, 86.5%, 0%, 50.6%)
CIE-LABlab(20.86, 45.48, -50.16)
CIE-LCHlch(20.86, 67.71, 312.20°)
OKLaboklab(33.89% 0.0788 -0.1436)
OKLCHoklch(33.89% 0.164 298.8)
XYZxyz(6.4912, 3.2092, 20.0121)
Luminance0.0321 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46117E #497E11
analogous
#11137E #46117E #7C117E
triadic
#46117E #7E4611 #117E46
tetradic
#46117E #7E1113 #497E11 #117E7C
square
#46117E #7E1113 #497E11 #117E7C
split-complementary
#46117E #7E7C11 #137E11
monochromatic
#0F041B #280A48 #46117E #6418B4 #8227E2

Accessibility & contrast

On white

12.79
#46117E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#46117E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #46117E
12.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46117E#FFFFFF#000000##FFFFFF
##46117E1.0012.791.6412.79
#FFFFFF12.791.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003281
Deuteranopia (green-blind)
#00317C
Tritanopia (blue-blind)
#38314A
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #46117e;
/* rgb */ color: rgb(70, 17, 126);
/* oklch */ color: oklch(33.9% 0.164 298.8);
Tailwind
colors: {
  custom: {
    50: '#8058a4',
    500: '#46117e',
    950: '#000000',
  },
}
SCSS
$custom: #46117e;
$custom-light: #8058a4;
$custom-dark: #000000;
JSON
{
  "hex": "#46117e",
  "rgb": {
    "r": 70,
    "g": 17,
    "b": 126
  },
  "hsl": {
    "h": 269.174,
    "s": 76.224,
    "l": 28.039
  },
  "oklch": {
    "l": 0.33885,
    "c": 0.16383,
    "h": 298.8
  },
  "luminance": 0.03209
}

Semantic roles & 50–950 ramp

primary
#46117E
secondary
#77B437
accent
#F33597
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #46117E

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#46117E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva