#403448#403448

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

Color values

HEX#403448
RGBrgb(64, 52, 72)
HSLhsl(276, 16%, 24%)
HSVhsv(276, 28%, 28%)
CMYKcmyk(11.1%, 27.8%, 0%, 71.8%)
CIE-LABlab(23.72, 9.84, -10.35)
CIE-LCHlch(23.72, 14.28, 313.57°)
OKLaboklab(34.62% 0.025 -0.0282)
OKLCHoklch(34.62% 0.038 311.6)
XYZxyz(4.5118, 4.0139, 6.6667)
Luminance0.0401 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403448 #3C4834
analogous
#363448 #403448 #483446
triadic
#403448 #484034 #344840
tetradic
#403448 #483634 #3C4834 #344648
square
#403448 #483634 #3C4834 #344648
split-complementary
#403448 #464834 #344836
monochromatic
#100D12 #201A24 #403448 #604E6C #7F678F

Accessibility & contrast

On white

11.65
#403448 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #403448
11.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403448#FFFFFF#000000##FFFFFF
##4034481.0011.651.8011.65
#FFFFFF11.651.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.651.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #403448;
/* rgb */ color: rgb(64, 52, 72);
/* oklch */ color: oklch(34.6% 0.038 311.6);
Tailwind
colors: {
  custom: {
    50: '#756b7b',
    500: '#403448',
    950: '#000000',
  },
}
SCSS
$custom: #403448;
$custom-light: #756b7b;
$custom-dark: #000000;
JSON
{
  "hex": "#403448",
  "rgb": {
    "r": 64,
    "g": 52,
    "b": 72
  },
  "hsl": {
    "h": 276,
    "s": 16.129,
    "l": 24.314
  },
  "oklch": {
    "l": 0.34621,
    "c": 0.03763,
    "h": 311.6
  },
  "luminance": 0.04014
}

Semantic roles & 50–950 ramp

primary
#403448
secondary
#697860
accent
#B96F8D
background
#F7F6F7
surface
#EDEBED
border
#C8C6C8
text
#080609
muted
#7B7A7B

Preview Lab

Preview with #403448

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

Preview Lab → · Contrast checker → · Palette generator →

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