#46174C#46174C

#46174C is a dark, moderate purple. Relative luminance 0.024; OKLCH L 30.3% C 0.104 H 323.0°. Best body text is #FFFFFF at 14.12:1 contrast (WCAG AA passes).

Color values

HEX#46174C
RGBrgb(70, 23, 76)
HSLhsl(293, 54%, 19%)
HSVhsv(293, 70%, 30%)
CMYKcmyk(7.9%, 69.7%, 0%, 70.2%)
CIE-LABlab(17.63, 30.91, -22.47)
CIE-LCHlch(17.63, 38.22, 323.99°)
OKLaboklab(30.32% 0.0829 -0.0625)
OKLCHoklch(30.32% 0.104 323)
XYZxyz(4.1366, 2.4369, 7.0886)
Luminance0.0244 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46174C #1D4C17
analogous
#2C174C #46174C #4C1738
triadic
#46174C #4C4617 #174C46
tetradic
#46174C #4C2C17 #1D4C17 #17384C
square
#46174C #4C2C17 #1D4C17 #17384C
split-complementary
#46174C #384C17 #174C2C
monochromatic
#160717 #1B091D #46174C #71257B #9D33AA

Accessibility & contrast

On white

14.12
#46174C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#46174C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #46174C
14.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46174C#FFFFFF#000000##FFFFFF
##46174C1.0014.121.4914.12
#FFFFFF14.121.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C284E
Deuteranopia (green-blind)
#1F2D4B
Tritanopia (blue-blind)
#471F2F
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #46174c;
/* rgb */ color: rgb(70, 23, 76);
/* oklch */ color: oklch(30.3% 0.104 323.0);
Tailwind
colors: {
  custom: {
    50: '#7b587e',
    500: '#46174c',
    950: '#000000',
  },
}
SCSS
$custom: #46174c;
$custom-light: #7b587e;
$custom-dark: #000000;
JSON
{
  "hex": "#46174c",
  "rgb": {
    "r": 70,
    "g": 23,
    "b": 76
  },
  "hsl": {
    "h": 293.208,
    "s": 53.535,
    "l": 19.412
  },
  "oklch": {
    "l": 0.30317,
    "c": 0.10385,
    "h": 323
  },
  "luminance": 0.02437
}

Semantic roles & 50–950 ramp

primary
#46174C
secondary
#44833C
accent
#DD4B5B
background
#F7F5F7
surface
#EEE9EE
border
#C9C5C9
text
#0A030A
muted
#7C787C

Preview Lab

Preview with #46174C

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

Preview Lab → · Contrast checker → · Palette generator →

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