#403141#403141

#403141 is a dark, muted purple. Relative luminance 0.037; OKLCH L 33.6% C 0.034 H 324.3°. Best body text is #FFFFFF at 12.11:1 contrast (WCAG AA passes).

Color values

HEX#403141
RGBrgb(64, 49, 65)
HSLhsl(296, 14%, 22%)
HSVhsv(296, 25%, 25%)
CMYKcmyk(1.5%, 24.6%, 0%, 74.5%)
CIE-LABlab(22.54, 10.17, -7.43)
CIE-LCHlch(22.54, 12.59, 323.85°)
OKLaboklab(33.62% 0.0278 -0.02)
OKLCHoklch(33.62% 0.034 324.3)
XYZxyz(4.1667, 3.6684, 5.4886)
Luminance0.0367 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403141 #324131
analogous
#383141 #403141 #41313A
triadic
#403141 #414031 #314140
tetradic
#403141 #413831 #324131 #313A41
square
#403141 #413831 #324131 #313A41
split-complementary
#403141 #3A4131 #314138
monochromatic
#110D11 #1E171E #403141 #624B64 #856687

Accessibility & contrast

On white

12.11
#403141 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#403141 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403141
12.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403141#FFFFFF#000000##FFFFFF
##4031411.0012.111.7312.11
#FFFFFF12.111.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#303542
Deuteranopia (green-blind)
#333640
Tritanopia (blue-blind)
#413236
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #403141;
/* rgb */ color: rgb(64, 49, 65);
/* oklch */ color: oklch(33.6% 0.034 324.3);
Tailwind
colors: {
  custom: {
    50: '#756975',
    500: '#403141',
    950: '#000000',
  },
}
SCSS
$custom: #403141;
$custom-light: #756975;
$custom-dark: #000000;
JSON
{
  "hex": "#403141",
  "rgb": {
    "r": 64,
    "g": 49,
    "b": 65
  },
  "hsl": {
    "h": 296.25,
    "s": 14.035,
    "l": 22.353
  },
  "oklch": {
    "l": 0.33622,
    "c": 0.03424,
    "h": 324.3
  },
  "luminance": 0.03668
}

Semantic roles & 50–950 ramp

primary
#403141
secondary
#5E715D
accent
#B77175
background
#F7F6F7
surface
#EDEBED
border
#C8C6C8
text
#080608
muted
#7B7A7B

Preview Lab

Preview with #403141

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

Preview Lab → · Contrast checker → · Palette generator →

#403141 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva