#403A4C#403A4C

#403A4C is a dark, muted violet. Relative luminance 0.046; OKLCH L 36.2% C 0.032 H 300.1°. Best body text is #FFFFFF at 10.89:1 contrast (WCAG AA passes).

Color values

HEX#403A4C
RGBrgb(64, 58, 76)
HSLhsl(260, 13%, 26%)
HSVhsv(260, 24%, 30%)
CMYKcmyk(15.8%, 23.7%, 0%, 70.2%)
CIE-LABlab(25.68, 6.85, -10.02)
CIE-LCHlch(25.68, 12.14, 304.34°)
OKLaboklab(36.19% 0.0158 -0.0273)
OKLCHoklch(36.19% 0.032 300.1)
XYZxyz(4.9317, 4.6379, 7.4715)
Luminance0.0464 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403A4C #464C3A
analogous
#3A3D4C #403A4C #493A4C
triadic
#403A4C #4C403A #3A4C40
tetradic
#403A4C #4C3A3D #464C3A #3A4C49
square
#403A4C #4C3A3D #464C3A #3A4C49
split-complementary
#403A4C #4C493A #3D4C3A
monochromatic
#0F0D11 #232029 #403A4C #5D546F #7B6F91

Accessibility & contrast

On white

10.89
#403A4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#403A4C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403A4C
10.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403A4C#FFFFFF#000000##FFFFFF
##403A4C1.0010.891.9310.89
#FFFFFF10.891.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363D4D
Deuteranopia (green-blind)
#373D4B
Tritanopia (blue-blind)
#3E3D40
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #403a4c;
/* rgb */ color: rgb(64, 58, 76);
/* oklch */ color: oklch(36.2% 0.032 300.1);
Tailwind
colors: {
  custom: {
    50: '#75707e',
    500: '#403a4c',
    950: '#000000',
  },
}
SCSS
$custom: #403a4c;
$custom-light: #75707e;
$custom-dark: #000000;
JSON
{
  "hex": "#403a4c",
  "rgb": {
    "r": 64,
    "g": 58,
    "b": 76
  },
  "hsl": {
    "h": 260,
    "s": 13.433,
    "l": 26.275
  },
  "oklch": {
    "l": 0.3619,
    "c": 0.03155,
    "h": 300.1
  },
  "luminance": 0.04638
}

Semantic roles & 50–950 ramp

primary
#403A4C
secondary
#747C66
accent
#B6729F
background
#F7F6F7
surface
#EDECEE
border
#C8C7C9
text
#080709
muted
#7B7A7B

Preview Lab

Preview with #403A4C

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

Preview Lab → · Contrast checker → · Palette generator →

#403A4C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva