#46176F#46176F

#46176F is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.1% C 0.142 H 303.6°. Best body text is #FFFFFF at 13.02:1 contrast (WCAG AA passes).

Color values

HEX#46176F
RGBrgb(70, 23, 111)
HSLhsl(272, 66%, 26%)
HSVhsv(272, 79%, 44%)
CMYKcmyk(36.9%, 79.3%, 0%, 56.5%)
CIE-LABlab(20.29, 39.29, -41.46)
CIE-LCHlch(20.29, 57.12, 313.45°)
OKLaboklab(33.06% 0.0786 -0.1182)
OKLCHoklch(33.06% 0.142 303.6)
XYZxyz(5.7008, 3.0626, 15.3267)
Luminance0.0306 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46176F #406F17
analogous
#1A176F #46176F #6F176C
triadic
#46176F #6F4617 #176F46
tetradic
#46176F #6F1A17 #406F17 #176C6F
square
#46176F #6F1A17 #406F17 #176C6F
split-complementary
#46176F #6C6F17 #176F1A
monochromatic
#100519 #260C3C #46176F #6622A2 #862DD3

Accessibility & contrast

On white

13.02
#46176F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#46176F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #46176F
13.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46176F#FFFFFF#000000##FFFFFF
##46176F1.0013.021.6113.02
#FFFFFF13.021.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.021.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #46176f;
/* rgb */ color: rgb(70, 23, 111);
/* oklch */ color: oklch(33.1% 0.142 303.6);
Tailwind
colors: {
  custom: {
    50: '#7e5a99',
    500: '#46176f',
    950: '#000000',
  },
}
SCSS
$custom: #46176f;
$custom-light: #7e5a99;
$custom-dark: #000000;
JSON
{
  "hex": "#46176f",
  "rgb": {
    "r": 70,
    "g": 23,
    "b": 111
  },
  "hsl": {
    "h": 272.045,
    "s": 65.672,
    "l": 26.275
  },
  "oklch": {
    "l": 0.33059,
    "c": 0.14195,
    "h": 303.6
  },
  "luminance": 0.03063
}

Semantic roles & 50–950 ramp

primary
#46176F
secondary
#6DA53D
accent
#E93F8E
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #46176F

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

Preview Lab → · Contrast checker → · Palette generator →

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