#46174E#46174E

#46174E is a dark, moderate purple. Relative luminance 0.025; OKLCH L 30.5% C 0.106 H 321.6°. Best body text is #FFFFFF at 14.07:1 contrast (WCAG AA passes).

Color values

HEX#46174E
RGBrgb(70, 23, 78)
HSLhsl(291, 54%, 20%)
HSVhsv(291, 71%, 31%)
CMYKcmyk(10.3%, 70.5%, 0%, 69.4%)
CIE-LABlab(17.76, 31.35, -23.63)
CIE-LCHlch(17.76, 39.26, 322.99°)
OKLaboklab(30.45% 0.083 -0.0659)
OKLCHoklch(30.45% 0.106 321.6)
XYZxyz(4.2072, 2.4652, 7.4605)
Luminance0.0246 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46174E #1F4E17
analogous
#2B174E #46174E #4E173A
triadic
#46174E #4E4617 #174E46
tetradic
#46174E #4E2B17 #1F4E17 #173A4E
square
#46174E #4E2B17 #1F4E17 #173A4E
split-complementary
#46174E #3A4E17 #174E2B
monochromatic
#150718 #1C091F #46174E #70257D #9B33AD

Accessibility & contrast

On white

14.07
#46174E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #46174E
14.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46174E#FFFFFF#000000##FFFFFF
##46174E1.0014.071.4914.07
#FFFFFF14.071.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#092850
Deuteranopia (green-blind)
#1D2D4D
Tritanopia (blue-blind)
#472030
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #46174e;
/* rgb */ color: rgb(70, 23, 78);
/* oklch */ color: oklch(30.5% 0.106 321.6);
Tailwind
colors: {
  custom: {
    50: '#7c5880',
    500: '#46174e',
    950: '#000000',
  },
}
SCSS
$custom: #46174e;
$custom-light: #7c5880;
$custom-dark: #000000;
JSON
{
  "hex": "#46174e",
  "rgb": {
    "r": 70,
    "g": 23,
    "b": 78
  },
  "hsl": {
    "h": 291.273,
    "s": 54.455,
    "l": 19.804
  },
  "oklch": {
    "l": 0.30453,
    "c": 0.10595,
    "h": 321.6
  },
  "luminance": 0.02465
}

Semantic roles & 50–950 ramp

primary
#46174E
secondary
#46853C
accent
#DE4A5F
background
#F7F5F7
surface
#EEE9EE
border
#C9C5C9
text
#0A030A
muted
#7C787C

Preview Lab

Preview with #46174E

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

Preview Lab → · Contrast checker → · Palette generator →

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