#403048#403048

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

Color values

HEX#403048
RGBrgb(64, 48, 72)
HSLhsl(280, 20%, 24%)
HSVhsv(280, 33%, 28%)
CMYKcmyk(11.1%, 33.3%, 0%, 71.8%)
CIE-LABlab(22.56, 12.54, -12.13)
CIE-LCHlch(22.56, 17.44, 315.95°)
OKLaboklab(33.73% 0.0322 -0.0331)
OKLCHoklch(33.73% 0.046 314.1)
XYZxyz(4.3408, 3.6718, 6.6097)
Luminance0.0367 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403048 #384830
analogous
#343048 #403048 #483044
triadic
#403048 #484030 #304840
tetradic
#403048 #483430 #384830 #304448
square
#403048 #483430 #384830 #304448
split-complementary
#403048 #444830 #304834
monochromatic
#100C12 #1F1823 #403048 #61486D #816191

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##403048#FFFFFF#000000##FFFFFF
##4030481.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)
#2C3549
Deuteranopia (green-blind)
#303647
Tritanopia (blue-blind)
#403339
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #403048;
/* rgb */ color: rgb(64, 48, 72);
/* oklch */ color: oklch(33.7% 0.046 314.1);
Tailwind
colors: {
  custom: {
    50: '#75687b',
    500: '#403048',
    950: '#000000',
  },
}
SCSS
$custom: #403048;
$custom-light: #75687b;
$custom-dark: #000000;
JSON
{
  "hex": "#403048",
  "rgb": {
    "r": 64,
    "g": 48,
    "b": 72
  },
  "hsl": {
    "h": 280,
    "s": 20,
    "l": 23.529
  },
  "oklch": {
    "l": 0.33731,
    "c": 0.04618,
    "h": 314.1
  },
  "luminance": 0.03672
}

Semantic roles & 50–950 ramp

primary
#403048
secondary
#65795B
accent
#BD6B86
background
#F7F6F7
surface
#EDEBED
border
#C8C6C8
text
#080609
muted
#7B7A7B

Preview Lab

Preview with #403048

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

Preview Lab → · Contrast checker → · Palette generator →

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