#403243#403243

#403243 is a dark, muted purple. Relative luminance 0.038; OKLCH L 33.9% C 0.035 H 320.3°. Best body text is #FFFFFF at 11.96:1 contrast (WCAG AA passes).

Color values

HEX#403243
RGBrgb(64, 50, 67)
HSLhsl(289, 15%, 23%)
HSVhsv(289, 25%, 26%)
CMYKcmyk(4.5%, 25.4%, 0%, 73.7%)
CIE-LABlab(22.92, 9.97, -8.21)
CIE-LCHlch(22.92, 12.91, 320.52°)
OKLaboklab(33.94% 0.0267 -0.0222)
OKLCHoklch(33.94% 0.035 320.3)
XYZxyz(4.2679, 3.7765, 5.8132)
Luminance0.0378 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403243 #354332
analogous
#373243 #403243 #43323D
triadic
#403243 #434032 #324340
tetradic
#403243 #433732 #354332 #323D43
square
#403243 #433732 #354332 #323D43
split-complementary
#403243 #3D4332 #324337
monochromatic
#110D12 #1F1820 #403243 #614C66 #836689

Accessibility & contrast

On white

11.96
#403243 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#403243 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403243
11.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403243#FFFFFF#000000##FFFFFF
##4032431.0011.961.7611.96
#FFFFFF11.961.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#303644
Deuteranopia (green-blind)
#333742
Tritanopia (blue-blind)
#403438
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #403243;
/* rgb */ color: rgb(64, 50, 67);
/* oklch */ color: oklch(33.9% 0.035 320.3);
Tailwind
colors: {
  custom: {
    50: '#756a77',
    500: '#403243',
    950: '#000000',
  },
}
SCSS
$custom: #403243;
$custom-light: #756a77;
$custom-dark: #000000;
JSON
{
  "hex": "#403243",
  "rgb": {
    "r": 64,
    "g": 50,
    "b": 67
  },
  "hsl": {
    "h": 289.412,
    "s": 14.53,
    "l": 22.941
  },
  "oklch": {
    "l": 0.33937,
    "c": 0.03472,
    "h": 320.3
  },
  "luminance": 0.03776
}

Semantic roles & 50–950 ramp

primary
#403243
secondary
#62735E
accent
#B7707D
background
#F7F6F7
surface
#EDEBED
border
#C8C6C8
text
#080608
muted
#7B7A7B

Preview Lab

Preview with #403243

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

Preview Lab → · Contrast checker → · Palette generator →

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