#46176D#46176D

#46176D is a dark, vivid violet. Relative luminance 0.030; OKLCH L 32.9% C 0.140 H 304.5°. Best body text is #FFFFFF at 13.09:1 contrast (WCAG AA passes).

Color values

HEX#46176D
RGBrgb(70, 23, 109)
HSLhsl(273, 65%, 26%)
HSVhsv(273, 79%, 43%)
CMYKcmyk(35.8%, 78.9%, 0%, 57.3%)
CIE-LABlab(20.12, 38.78, -40.45)
CIE-LCHlch(20.12, 56.03, 313.79°)
OKLaboklab(32.88% 0.0791 -0.1152)
OKLCHoklch(32.88% 0.14 304.5)
XYZxyz(5.5919, 3.0190, 14.7532)
Luminance0.0302 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46176D #3E6D17
analogous
#1B176D #46176D #6D1769
triadic
#46176D #6D4617 #176D46
tetradic
#46176D #6D1B17 #3E6D17 #17696D
square
#46176D #6D1B17 #3E6D17 #17696D
split-complementary
#46176D #696D17 #176D1B
monochromatic
#100519 #260C3A #46176D #6622A0 #872CD2

Accessibility & contrast

On white

13.09
#46176D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #46176D
13.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46176D#FFFFFF#000000##FFFFFF
##46176D1.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)
#002F6F
Deuteranopia (green-blind)
#00316B
Tritanopia (blue-blind)
#3E2D41
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #46176d;
/* rgb */ color: rgb(70, 23, 109);
/* oklch */ color: oklch(32.9% 0.140 304.5);
Tailwind
colors: {
  custom: {
    50: '#7e5998',
    500: '#46176d',
    950: '#000000',
  },
}
SCSS
$custom: #46176d;
$custom-light: #7e5998;
$custom-dark: #000000;
JSON
{
  "hex": "#46176d",
  "rgb": {
    "r": 70,
    "g": 23,
    "b": 109
  },
  "hsl": {
    "h": 272.791,
    "s": 65.152,
    "l": 25.882
  },
  "oklch": {
    "l": 0.32883,
    "c": 0.13974,
    "h": 304.5
  },
  "luminance": 0.03019
}

Semantic roles & 50–950 ramp

primary
#46176D
secondary
#6BA33D
accent
#E8408C
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #46176D

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

Preview Lab → · Contrast checker → · Palette generator →

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