#403658#403658

#403658 is a dark, muted violet. Relative luminance 0.044; OKLCH L 35.9% C 0.059 H 296.9°. Best body text is #FFFFFF at 11.13:1 contrast (WCAG AA passes).

Color values

HEX#403658
RGBrgb(64, 54, 88)
HSLhsl(258, 24%, 28%)
HSVhsv(258, 39%, 35%)
CMYKcmyk(27.3%, 38.6%, 0%, 65.5%)
CIE-LABlab(25.05, 12.79, -18.89)
CIE-LCHlch(25.05, 22.81, 304.11°)
OKLaboklab(35.89% 0.0266 -0.0525)
OKLCHoklch(35.89% 0.059 296.9)
XYZxyz(5.1946, 4.4329, 9.8126)
Luminance0.0443 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403658 #4E5836
analogous
#363D58 #403658 #513658
triadic
#403658 #584036 #365840
tetradic
#403658 #58363D #4E5836 #365851
square
#403658 #58363D #4E5836 #365851
split-complementary
#403658 #585136 #3D5836
monochromatic
#0E0C13 #241F32 #403658 #5C4D7E #7867A2

Accessibility & contrast

On white

11.13
#403658 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#403658 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403658
11.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403658#FFFFFF#000000##FFFFFF
##4036581.0011.131.8911.13
#FFFFFF11.131.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D3C59
Deuteranopia (green-blind)
#2F3B57
Tritanopia (blue-blind)
#3B3C43
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #403658;
/* rgb */ color: rgb(64, 54, 88);
/* oklch */ color: oklch(35.9% 0.059 296.9);
Tailwind
colors: {
  custom: {
    50: '#756d87',
    500: '#403658',
    950: '#000000',
  },
}
SCSS
$custom: #403658;
$custom-light: #756d87;
$custom-dark: #000000;
JSON
{
  "hex": "#403658",
  "rgb": {
    "r": 64,
    "g": 54,
    "b": 88
  },
  "hsl": {
    "h": 257.647,
    "s": 23.944,
    "l": 27.843
  },
  "oklch": {
    "l": 0.35894,
    "c": 0.05881,
    "h": 296.9
  },
  "luminance": 0.04433
}

Semantic roles & 50–950 ramp

primary
#403658
secondary
#7D8861
accent
#C067A6
background
#F7F6F8
surface
#EDEBEF
border
#C8C6CA
text
#08070B
muted
#7B7A7C

Preview Lab

Preview with #403658

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

Preview Lab → · Contrast checker → · Palette generator →

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