#46174A#46174A

#46174A is a dark, moderate purple. Relative luminance 0.024; OKLCH L 30.2% C 0.102 H 324.5°. Best body text is #FFFFFF at 14.17:1 contrast (WCAG AA passes).

Color values

HEX#46174A
RGBrgb(70, 23, 74)
HSLhsl(295, 53%, 19%)
HSVhsv(295, 69%, 29%)
CMYKcmyk(5.4%, 68.9%, 0%, 71%)
CIE-LABlab(17.50, 30.48, -21.30)
CIE-LCHlch(17.50, 37.19, 325.05°)
OKLaboklab(30.19% 0.0828 -0.0591)
OKLCHoklch(30.19% 0.102 324.5)
XYZxyz(4.0681, 2.4095, 6.7280)
Luminance0.0241 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46174A #1B4A17
analogous
#2D174A #46174A #4A1735
triadic
#46174A #4A4617 #174A46
tetradic
#46174A #4A2D17 #1B4A17 #17354A
square
#46174A #4A2D17 #1B4A17 #17354A
split-complementary
#46174A #354A17 #174A2D
monochromatic
#160717 #1A081B #46174A #722679 #9E34A7

Accessibility & contrast

On white

14.17
#46174A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#46174A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #46174A
14.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46174A#FFFFFF#000000##FFFFFF
##46174A1.0014.171.4814.17
#FFFFFF14.171.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E274C
Deuteranopia (green-blind)
#202D49
Tritanopia (blue-blind)
#481E2E
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #46174a;
/* rgb */ color: rgb(70, 23, 74);
/* oklch */ color: oklch(30.2% 0.102 324.5);
Tailwind
colors: {
  custom: {
    50: '#7b587d',
    500: '#46174a',
    950: '#000000',
  },
}
SCSS
$custom: #46174a;
$custom-light: #7b587d;
$custom-dark: #000000;
JSON
{
  "hex": "#46174a",
  "rgb": {
    "r": 70,
    "g": 23,
    "b": 74
  },
  "hsl": {
    "h": 295.294,
    "s": 52.577,
    "l": 19.02
  },
  "oklch": {
    "l": 0.30185,
    "c": 0.10176,
    "h": 324.5
  },
  "luminance": 0.02409
}

Semantic roles & 50–950 ramp

primary
#46174A
secondary
#41813C
accent
#DC4C57
background
#F7F5F7
surface
#EEE9EE
border
#C9C5C9
text
#0A0309
muted
#7C787B

Preview Lab

Preview with #46174A

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

Preview Lab → · Contrast checker → · Palette generator →

#46174A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva