#46166C#46166C

#46166C is a dark, vivid violet. Relative luminance 0.030; OKLCH L 32.7% C 0.140 H 305.1°. Best body text is #FFFFFF at 13.19:1 contrast (WCAG AA passes).

Color values

HEX#46166C
RGBrgb(70, 22, 108)
HSLhsl(273, 66%, 25%)
HSVhsv(273, 80%, 42%)
CMYKcmyk(35.2%, 79.6%, 0%, 57.6%)
CIE-LABlab(19.88, 38.97, -40.19)
CIE-LCHlch(19.88, 55.98, 314.12°)
OKLaboklab(32.69% 0.0804 -0.1144)
OKLCHoklch(32.69% 0.14 305.1)
XYZxyz(5.5189, 2.9587, 14.4648)
Luminance0.0296 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46166C #3C6C16
analogous
#1B166C #46166C #6C1667
triadic
#46166C #6C4616 #166C46
tetradic
#46166C #6C1B16 #3C6C16 #16676C
square
#46166C #6C1B16 #3C6C16 #16676C
split-complementary
#46166C #676C16 #166C1B
monochromatic
#100519 #250C39 #46166C #67209F #882BD2

Accessibility & contrast

On white

13.19
#46166C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#46166C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #46166C
13.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46166C#FFFFFF#000000##FFFFFF
##46166C1.0013.191.5913.19
#FFFFFF13.191.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F6E
Deuteranopia (green-blind)
#00306A
Tritanopia (blue-blind)
#3F2C40
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #46166c;
/* rgb */ color: rgb(70, 22, 108);
/* oklch */ color: oklch(32.7% 0.140 305.1);
Tailwind
colors: {
  custom: {
    50: '#7e5997',
    500: '#46166c',
    950: '#000000',
  },
}
SCSS
$custom: #46166c;
$custom-light: #7e5997;
$custom-dark: #000000;
JSON
{
  "hex": "#46166c",
  "rgb": {
    "r": 70,
    "g": 22,
    "b": 108
  },
  "hsl": {
    "h": 273.488,
    "s": 66.154,
    "l": 25.49
  },
  "oklch": {
    "l": 0.32686,
    "c": 0.13983,
    "h": 305.1
  },
  "luminance": 0.02959
}

Semantic roles & 50–950 ramp

primary
#46166C
secondary
#69A23C
accent
#E93F8A
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040D
muted
#7C797E

Preview Lab

Preview with #46166C

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

Preview Lab → · Contrast checker → · Palette generator →

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