#46166D#46166D

#46166D is a dark, vivid violet. Relative luminance 0.030; OKLCH L 32.8% C 0.141 H 304.6°. Best body text is #FFFFFF at 13.16:1 contrast (WCAG AA passes).

Color values

HEX#46166D
RGBrgb(70, 22, 109)
HSLhsl(273, 66%, 26%)
HSVhsv(273, 80%, 43%)
CMYKcmyk(35.8%, 79.8%, 0%, 57.3%)
CIE-LABlab(19.96, 39.22, -40.70)
CIE-LCHlch(19.96, 56.52, 313.94°)
OKLaboklab(32.77% 0.0801 -0.1159)
OKLCHoklch(32.77% 0.141 304.6)
XYZxyz(5.5724, 2.9801, 14.7467)
Luminance0.0298 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46166D #3D6D16
analogous
#1A166D #46166D #6D1668
triadic
#46166D #6D4616 #166D46
tetradic
#46166D #6D1A16 #3D6D16 #16686D
square
#46166D #6D1A16 #3D6D16 #16686D
split-complementary
#46166D #686D16 #166D1A
monochromatic
#100519 #250C3A #46166D #6720A0 #872BD3

Accessibility & contrast

On white

13.16
#46166D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#46166D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #46166D
13.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46166D#FFFFFF#000000##FFFFFF
##46166D1.0013.161.6013.16
#FFFFFF13.161.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F6F
Deuteranopia (green-blind)
#00306B
Tritanopia (blue-blind)
#3F2C41
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #46166d;
/* rgb */ color: rgb(70, 22, 109);
/* oklch */ color: oklch(32.8% 0.141 304.6);
Tailwind
colors: {
  custom: {
    50: '#7e5998',
    500: '#46166d',
    950: '#000000',
  },
}
SCSS
$custom: #46166d;
$custom-light: #7e5998;
$custom-dark: #000000;
JSON
{
  "hex": "#46166d",
  "rgb": {
    "r": 70,
    "g": 22,
    "b": 109
  },
  "hsl": {
    "h": 273.103,
    "s": 66.412,
    "l": 25.686
  },
  "oklch": {
    "l": 0.32774,
    "c": 0.14091,
    "h": 304.6
  },
  "luminance": 0.0298
}

Semantic roles & 50–950 ramp

primary
#46166D
secondary
#6AA33C
accent
#E93E8B
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #46166D

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

Preview Lab → · Contrast checker → · Palette generator →

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