#403A45#403A45

#403A45 is a dark, muted violet. Relative luminance 0.045; OKLCH L 35.9% C 0.020 H 309.7°. Best body text is #FFFFFF at 11.00:1 contrast (WCAG AA passes).

Color values

HEX#403A45
RGBrgb(64, 58, 69)
HSLhsl(273, 9%, 25%)
HSVhsv(273, 16%, 27%)
CMYKcmyk(7.2%, 15.9%, 0%, 72.9%)
CIE-LABlab(25.40, 5.09, -5.81)
CIE-LCHlch(25.40, 7.73, 311.26°)
OKLaboklab(35.88% 0.013 -0.0156)
OKLCHoklch(35.88% 0.02 309.7)
XYZxyz(4.7014, 4.5458, 6.2588)
Luminance0.0455 (WCAG relative)
Temperatureneutral
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403A45 #3F453A
analogous
#3B3A45 #403A45 #453A44
triadic
#403A45 #45403A #3A4540
tetradic
#403A45 #453B3A #3F453A #3A4445
square
#403A45 #453B3A #3F453A #3A4445
split-complementary
#403A45 #44453A #3A453B
monochromatic
#0F0E11 #211E24 #403A45 #5F5666 #7E7288

Accessibility & contrast

On white

11.00
#403A45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#403A45 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403A45
11.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403A45#FFFFFF#000000##FFFFFF
##403A451.0011.001.9111.00
#FFFFFF11.001.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383C45
Deuteranopia (green-blind)
#3A3C45
Tritanopia (blue-blind)
#3F3B3E
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #403a45;
/* rgb */ color: rgb(64, 58, 69);
/* oklch */ color: oklch(35.9% 0.020 309.7);
Tailwind
colors: {
  custom: {
    50: '#747078',
    500: '#403a45',
    950: '#000000',
  },
}
SCSS
$custom: #403a45;
$custom-light: #747078;
$custom-dark: #000000;
JSON
{
  "hex": "#403a45",
  "rgb": {
    "r": 64,
    "g": 58,
    "b": 69
  },
  "hsl": {
    "h": 272.727,
    "s": 8.661,
    "l": 24.902
  },
  "oklch": {
    "l": 0.35883,
    "c": 0.02031,
    "h": 309.7
  },
  "luminance": 0.04546
}

Semantic roles & 50–950 ramp

primary
#403A45
secondary
#6D7467
accent
#B27691
background
#F7F6F7
surface
#EDECED
border
#C8C7C8
text
#080709
muted
#7B7A7B

Preview Lab

Preview with #403A45

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

Preview Lab → · Contrast checker → · Palette generator →

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