#46166A#46166A

#46166A is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.5% C 0.138 H 306.0°. Best body text is #FFFFFF at 13.26:1 contrast (WCAG AA passes).

Color values

HEX#46166A
RGBrgb(70, 22, 106)
HSLhsl(274, 66%, 25%)
HSVhsv(274, 79%, 42%)
CMYKcmyk(34%, 79.2%, 0%, 58.4%)
CIE-LABlab(19.71, 38.47, -39.17)
CIE-LCHlch(19.71, 54.90, 314.48°)
OKLaboklab(32.51% 0.0808 -0.1114)
OKLCHoklch(32.51% 0.138 306)
XYZxyz(5.4136, 2.9166, 13.9106)
Luminance0.0292 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46166A #3A6A16
analogous
#1C166A #46166A #6A1664
triadic
#46166A #6A4616 #166A46
tetradic
#46166A #6A1C16 #3A6A16 #16646A
square
#46166A #6A1C16 #3A6A16 #16646A
split-complementary
#46166A #646A16 #166A1C
monochromatic
#110519 #250B37 #46166A #67219D #892BCF

Accessibility & contrast

On white

13.26
#46166A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#46166A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #46166A
13.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46166A#FFFFFF#000000##FFFFFF
##46166A1.0013.261.5813.26
#FFFFFF13.261.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E6C
Deuteranopia (green-blind)
#003068
Tritanopia (blue-blind)
#402B3F
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #46166a;
/* rgb */ color: rgb(70, 22, 106);
/* oklch */ color: oklch(32.5% 0.138 306.0);
Tailwind
colors: {
  custom: {
    50: '#7e5995',
    500: '#46166a',
    950: '#000000',
  },
}
SCSS
$custom: #46166a;
$custom-light: #7e5995;
$custom-dark: #000000;
JSON
{
  "hex": "#46166a",
  "rgb": {
    "r": 70,
    "g": 22,
    "b": 106
  },
  "hsl": {
    "h": 274.286,
    "s": 65.625,
    "l": 25.098
  },
  "oklch": {
    "l": 0.32512,
    "c": 0.13765,
    "h": 306
  },
  "luminance": 0.02917
}

Semantic roles & 50–950 ramp

primary
#46166A
secondary
#67A03B
accent
#E93F88
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040D
muted
#7C797E

Preview Lab

Preview with #46166A

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

Preview Lab → · Contrast checker → · Palette generator →

#46166A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva