#403241#403241

#403241 is a dark, muted purple. Relative luminance 0.038; OKLCH L 33.8% C 0.032 H 324.1°. Best body text is #FFFFFF at 12.00:1 contrast (WCAG AA passes).

Color values

HEX#403241
RGBrgb(64, 50, 65)
HSLhsl(296, 13%, 23%)
HSVhsv(296, 23%, 25%)
CMYKcmyk(1.5%, 23.1%, 0%, 74.5%)
CIE-LABlab(22.84, 9.49, -6.98)
CIE-LCHlch(22.84, 11.79, 323.66°)
OKLaboklab(33.85% 0.0259 -0.0188)
OKLCHoklch(33.85% 0.032 324.1)
XYZxyz(4.2090, 3.7529, 5.5027)
Luminance0.0375 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403241 #334132
analogous
#383241 #403241 #41323A
triadic
#403241 #414032 #324140
tetradic
#403241 #413832 #334132 #323A41
square
#403241 #413832 #334132 #323A41
split-complementary
#403241 #3A4132 #324138
monochromatic
#110D11 #1E171E #403241 #624D64 #846786

Accessibility & contrast

On white

12.00
#403241 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#403241 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403241
12.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403241#FFFFFF#000000##FFFFFF
##4032411.0012.001.7512.00
#FFFFFF12.001.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#313542
Deuteranopia (green-blind)
#343740
Tritanopia (blue-blind)
#413337
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #403241;
/* rgb */ color: rgb(64, 50, 65);
/* oklch */ color: oklch(33.8% 0.032 324.1);
Tailwind
colors: {
  custom: {
    50: '#756a75',
    500: '#403241',
    950: '#000000',
  },
}
SCSS
$custom: #403241;
$custom-light: #756a75;
$custom-dark: #000000;
JSON
{
  "hex": "#403241",
  "rgb": {
    "r": 64,
    "g": 50,
    "b": 65
  },
  "hsl": {
    "h": 296,
    "s": 13.043,
    "l": 22.549
  },
  "oklch": {
    "l": 0.33848,
    "c": 0.03202,
    "h": 324.1
  },
  "luminance": 0.03753
}

Semantic roles & 50–950 ramp

primary
#403241
secondary
#5F715E
accent
#B67276
background
#F7F6F7
surface
#EDEBED
border
#C8C6C8
text
#080608
muted
#7B7A7B

Preview Lab

Preview with #403241

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

Preview Lab → · Contrast checker → · Palette generator →

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