#46174F#46174F

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

Color values

HEX#46174F
RGBrgb(70, 23, 79)
HSLhsl(290, 55%, 20%)
HSVhsv(290, 71%, 31%)
CMYKcmyk(11.4%, 70.9%, 0%, 69%)
CIE-LABlab(17.83, 31.57, -24.21)
CIE-LCHlch(17.83, 39.79, 322.52°)
OKLaboklab(30.52% 0.083 -0.0675)
OKLCHoklch(30.52% 0.107 320.9)
XYZxyz(4.2433, 2.4796, 7.6507)
Luminance0.0248 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46174F #204F17
analogous
#2A174F #46174F #4F173C
triadic
#46174F #4F4617 #174F46
tetradic
#46174F #4F2A17 #204F17 #173C4F
square
#46174F #4F2A17 #204F17 #173C4F
split-complementary
#46174F #3C4F17 #174F2A
monochromatic
#150718 #1C0920 #46174F #70257E #9A33AE

Accessibility & contrast

On white

14.04
#46174F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#46174F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #46174F
14.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46174F#FFFFFF#000000##FFFFFF
##46174F1.0014.041.5014.04
#FFFFFF14.041.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#082851
Deuteranopia (green-blind)
#1D2D4E
Tritanopia (blue-blind)
#472030
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #46174f;
/* rgb */ color: rgb(70, 23, 79);
/* oklch */ color: oklch(30.5% 0.107 320.9);
Tailwind
colors: {
  custom: {
    50: '#7c5880',
    500: '#46174f',
    950: '#000000',
  },
}
SCSS
$custom: #46174f;
$custom-light: #7c5880;
$custom-dark: #000000;
JSON
{
  "hex": "#46174f",
  "rgb": {
    "r": 70,
    "g": 23,
    "b": 79
  },
  "hsl": {
    "h": 290.357,
    "s": 54.902,
    "l": 20
  },
  "oklch": {
    "l": 0.30521,
    "c": 0.10701,
    "h": 320.9
  },
  "luminance": 0.02479
}

Semantic roles & 50–950 ramp

primary
#46174F
secondary
#48863C
accent
#DE4A61
background
#F7F5F7
surface
#EEE9EE
border
#C9C5C9
text
#0A030A
muted
#7C787C

Preview Lab

Preview with #46174F

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

Preview Lab → · Contrast checker → · Palette generator →

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