#46166F#46166F

#46166F is a dark, vivid violet. Relative luminance 0.030; OKLCH L 33.0% C 0.143 H 303.8°. Best body text is #FFFFFF at 13.09:1 contrast (WCAG AA passes).

Color values

HEX#46166F
RGBrgb(70, 22, 111)
HSLhsl(272, 67%, 26%)
HSVhsv(272, 80%, 44%)
CMYKcmyk(36.9%, 80.2%, 0%, 56.5%)
CIE-LABlab(20.14, 39.73, -41.72)
CIE-LCHlch(20.14, 57.61, 313.60°)
OKLaboklab(32.95% 0.0796 -0.1189)
OKLCHoklch(32.95% 0.143 303.8)
XYZxyz(5.6813, 3.0236, 15.3202)
Luminance0.0302 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46166F #3F6F16
analogous
#1A166F #46166F #6F166B
triadic
#46166F #6F4616 #166F46
tetradic
#46166F #6F1A16 #3F6F16 #166B6F
square
#46166F #6F1A16 #3F6F16 #166B6F
split-complementary
#46166F #6B6F16 #166F1A
monochromatic
#10051A #260C3C #46166F #6620A2 #862BD5

Accessibility & contrast

On white

13.09
#46166F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #46166F
13.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46166F#FFFFFF#000000##FFFFFF
##46166F1.0013.091.6013.09
#FFFFFF13.091.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003071
Deuteranopia (green-blind)
#00306D
Tritanopia (blue-blind)
#3E2D42
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #46166f;
/* rgb */ color: rgb(70, 22, 111);
/* oklch */ color: oklch(33.0% 0.143 303.8);
Tailwind
colors: {
  custom: {
    50: '#7e5999',
    500: '#46166f',
    950: '#000000',
  },
}
SCSS
$custom: #46166f;
$custom-light: #7e5999;
$custom-dark: #000000;
JSON
{
  "hex": "#46166f",
  "rgb": {
    "r": 70,
    "g": 22,
    "b": 111
  },
  "hsl": {
    "h": 272.36,
    "s": 66.917,
    "l": 26.078
  },
  "oklch": {
    "l": 0.3295,
    "c": 0.14309,
    "h": 303.8
  },
  "luminance": 0.03024
}

Semantic roles & 50–950 ramp

primary
#46166F
secondary
#6CA53C
accent
#EA3E8D
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #46166F

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

Preview Lab → · Contrast checker → · Palette generator →

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