#46176C#46176C

#46176C is a dark, vivid violet. Relative luminance 0.030; OKLCH L 32.8% C 0.139 H 304.9°. Best body text is #FFFFFF at 13.13:1 contrast (WCAG AA passes).

Color values

HEX#46176C
RGBrgb(70, 23, 108)
HSLhsl(273, 65%, 26%)
HSVhsv(273, 79%, 42%)
CMYKcmyk(35.2%, 78.7%, 0%, 57.6%)
CIE-LABlab(20.03, 38.52, -39.94)
CIE-LCHlch(20.03, 55.49, 313.97°)
OKLaboklab(32.8% 0.0794 -0.1137)
OKLCHoklch(32.8% 0.139 304.9)
XYZxyz(5.5383, 2.9976, 14.4713)
Luminance0.0300 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46176C #3D6C17
analogous
#1B176C #46176C #6C1767
triadic
#46176C #6C4617 #176C46
tetradic
#46176C #6C1B17 #3D6C17 #17676C
square
#46176C #6C1B17 #3D6C17 #17676C
split-complementary
#46176C #676C17 #176C1B
monochromatic
#100519 #250C3A #46176C #67229E #872CD1

Accessibility & contrast

On white

13.13
#46176C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#46176C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #46176C
13.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46176C#FFFFFF#000000##FFFFFF
##46176C1.0013.131.6013.13
#FFFFFF13.131.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.131.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: #46176c;
/* rgb */ color: rgb(70, 23, 108);
/* oklch */ color: oklch(32.8% 0.139 304.9);
Tailwind
colors: {
  custom: {
    50: '#7e5997',
    500: '#46176c',
    950: '#000000',
  },
}
SCSS
$custom: #46176c;
$custom-light: #7e5997;
$custom-dark: #000000;
JSON
{
  "hex": "#46176c",
  "rgb": {
    "r": 70,
    "g": 23,
    "b": 108
  },
  "hsl": {
    "h": 273.176,
    "s": 64.885,
    "l": 25.686
  },
  "oklch": {
    "l": 0.32796,
    "c": 0.13865,
    "h": 304.9
  },
  "luminance": 0.02998
}

Semantic roles & 50–950 ramp

primary
#46176C
secondary
#6AA23D
accent
#E8408B
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040D
muted
#7C797E

Preview Lab

Preview with #46176C

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

Preview Lab → · Contrast checker → · Palette generator →

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