#403046#403046

#403046 is a dark, muted purple. Relative luminance 0.036; OKLCH L 33.6% C 0.043 H 316.6°. Best body text is #FFFFFF at 12.14:1 contrast (WCAG AA passes).

Color values

HEX#403046
RGBrgb(64, 48, 70)
HSLhsl(284, 19%, 23%)
HSVhsv(284, 31%, 27%)
CMYKcmyk(8.6%, 31.4%, 0%, 72.5%)
CIE-LABlab(22.47, 12.04, -10.92)
CIE-LCHlch(22.47, 16.25, 317.79°)
OKLaboklab(33.63% 0.0315 -0.0297)
OKLCHoklch(33.63% 0.043 316.6)
XYZxyz(4.2766, 3.6462, 6.2717)
Luminance0.0365 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403046 #364630
analogous
#353046 #403046 #463041
triadic
#403046 #464030 #304640
tetradic
#403046 #463530 #364630 #304146
square
#403046 #463530 #364630 #304146
split-complementary
#403046 #414630 #304635
monochromatic
#110C12 #1F1722 #403046 #61496A #82628F

Accessibility & contrast

On white

12.14
#403046 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #403046
12.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403046#FFFFFF#000000##FFFFFF
##4030461.0012.141.7312.14
#FFFFFF12.141.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D3547
Deuteranopia (green-blind)
#313645
Tritanopia (blue-blind)
#403338
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #403046;
/* rgb */ color: rgb(64, 48, 70);
/* oklch */ color: oklch(33.6% 0.043 316.6);
Tailwind
colors: {
  custom: {
    50: '#756879',
    500: '#403046',
    950: '#000000',
  },
}
SCSS
$custom: #403046;
$custom-light: #756879;
$custom-dark: #000000;
JSON
{
  "hex": "#403046",
  "rgb": {
    "r": 64,
    "g": 48,
    "b": 70
  },
  "hsl": {
    "h": 283.636,
    "s": 18.644,
    "l": 23.137
  },
  "oklch": {
    "l": 0.33632,
    "c": 0.04331,
    "h": 316.6
  },
  "luminance": 0.03646
}

Semantic roles & 50–950 ramp

primary
#403046
secondary
#63775B
accent
#BB6D82
background
#F7F6F7
surface
#EDEBED
border
#C8C6C8
text
#080609
muted
#7B7A7B

Preview Lab

Preview with #403046

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

Preview Lab → · Contrast checker → · Palette generator →

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