#403545#403545

#403545 is a dark, muted purple. Relative luminance 0.041; OKLCH L 34.7% C 0.031 H 315.2°. Best body text is #FFFFFF at 11.58:1 contrast (WCAG AA passes).

Color values

HEX#403545
RGBrgb(64, 53, 69)
HSLhsl(281, 13%, 24%)
HSVhsv(281, 23%, 27%)
CMYKcmyk(7.2%, 23.2%, 0%, 72.9%)
CIE-LABlab(23.89, 8.43, -8.08)
CIE-LCHlch(23.89, 11.68, 316.21°)
OKLaboklab(34.71% 0.022 -0.0218)
OKLCHoklch(34.71% 0.031 315.2)
XYZxyz(4.4615, 4.0659, 6.1788)
Luminance0.0407 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403545 #3A4535
analogous
#383545 #403545 #453542
triadic
#403545 #454035 #354540
tetradic
#403545 #453835 #3A4535 #354245
square
#403545 #453835 #3A4535 #354245
split-complementary
#403545 #424535 #354538
monochromatic
#100D11 #201A22 #403545 #605068 #806A8A

Accessibility & contrast

On white

11.58
#403545 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#403545 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403545
11.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403545#FFFFFF#000000##FFFFFF
##4035451.0011.581.8111.58
#FFFFFF11.581.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#333846
Deuteranopia (green-blind)
#353944
Tritanopia (blue-blind)
#40373A
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #403545;
/* rgb */ color: rgb(64, 53, 69);
/* oklch */ color: oklch(34.7% 0.031 315.2);
Tailwind
colors: {
  custom: {
    50: '#756c78',
    500: '#403545',
    950: '#000000',
  },
}
SCSS
$custom: #403545;
$custom-light: #756c78;
$custom-dark: #000000;
JSON
{
  "hex": "#403545",
  "rgb": {
    "r": 64,
    "g": 53,
    "b": 69
  },
  "hsl": {
    "h": 281.25,
    "s": 13.115,
    "l": 23.922
  },
  "oklch": {
    "l": 0.34712,
    "c": 0.03101,
    "h": 315.2
  },
  "luminance": 0.04066
}

Semantic roles & 50–950 ramp

primary
#403545
secondary
#677561
accent
#B67287
background
#F7F6F7
surface
#EDEBED
border
#C8C6C8
text
#080709
muted
#7B7A7B

Preview Lab

Preview with #403545

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

Preview Lab → · Contrast checker → · Palette generator →

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