#403447#403447

#403447 is a dark, muted violet. Relative luminance 0.040; OKLCH L 34.6% C 0.036 H 312.9°. Best body text is #FFFFFF at 11.67:1 contrast (WCAG AA passes).

Color values

HEX#403447
RGBrgb(64, 52, 71)
HSLhsl(278, 15%, 24%)
HSVhsv(278, 27%, 28%)
CMYKcmyk(9.9%, 26.8%, 0%, 72.2%)
CIE-LABlab(23.67, 9.59, -9.75)
CIE-LCHlch(23.67, 13.68, 314.55°)
OKLaboklab(34.57% 0.0246 -0.0265)
OKLCHoklch(34.57% 0.036 312.9)
XYZxyz(4.4795, 4.0010, 6.4963)
Luminance0.0400 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403447 #3B4734
analogous
#373447 #403447 #473445
triadic
#403447 #474034 #344740
tetradic
#403447 #473734 #3B4734 #344547
square
#403447 #473734 #3B4734 #344547
split-complementary
#403447 #454734 #344737
monochromatic
#100D12 #201A24 #403447 #604E6A #80688E

Accessibility & contrast

On white

11.67
#403447 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#403447 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403447
11.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403447#FFFFFF#000000##FFFFFF
##4034471.0011.671.8011.67
#FFFFFF11.671.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#313848
Deuteranopia (green-blind)
#343946
Tritanopia (blue-blind)
#3F363B
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #403447;
/* rgb */ color: rgb(64, 52, 71);
/* oklch */ color: oklch(34.6% 0.036 312.9);
Tailwind
colors: {
  custom: {
    50: '#756b7a',
    500: '#403447',
    950: '#000000',
  },
}
SCSS
$custom: #403447;
$custom-light: #756b7a;
$custom-dark: #000000;
JSON
{
  "hex": "#403447",
  "rgb": {
    "r": 64,
    "g": 52,
    "b": 71
  },
  "hsl": {
    "h": 277.895,
    "s": 15.447,
    "l": 24.118
  },
  "oklch": {
    "l": 0.34574,
    "c": 0.03613,
    "h": 312.9
  },
  "luminance": 0.04001
}

Semantic roles & 50–950 ramp

primary
#403447
secondary
#687760
accent
#B8708A
background
#F7F6F7
surface
#EDEBED
border
#C8C6C8
text
#080609
muted
#7B7A7B

Preview Lab

Preview with #403447

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

Preview Lab → · Contrast checker → · Palette generator →

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