#403652#403652

#403652 is a dark, muted violet. Relative luminance 0.043; OKLCH L 35.6% C 0.049 H 300.3°. Best body text is #FFFFFF at 11.24:1 contrast (WCAG AA passes).

Color values

HEX#403652
RGBrgb(64, 54, 82)
HSLhsl(261, 21%, 27%)
HSVhsv(261, 34%, 32%)
CMYKcmyk(22%, 34.1%, 0%, 67.8%)
CIE-LABlab(24.76, 11.12, -15.40)
CIE-LCHlch(24.76, 18.99, 305.84°)
OKLaboklab(35.57% 0.0248 -0.0425)
OKLCHoklch(35.57% 0.049 300.3)
XYZxyz(4.9562, 4.3375, 8.5571)
Luminance0.0434 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403652 #485236
analogous
#363A52 #403652 #4E3652
triadic
#403652 #524036 #365240
tetradic
#403652 #52363A #485236 #36524E
square
#403652 #52363A #485236 #36524E
split-complementary
#403652 #524E36 #3A5236
monochromatic
#0E0C12 #231E2D #403652 #5D4E77 #7A679B

Accessibility & contrast

On white

11.24
#403652 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#403652 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403652
11.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403652#FFFFFF#000000##FFFFFF
##4036521.0011.241.8711.24
#FFFFFF11.241.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#303B53
Deuteranopia (green-blind)
#323B51
Tritanopia (blue-blind)
#3D3A40
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #403652;
/* rgb */ color: rgb(64, 54, 82);
/* oklch */ color: oklch(35.6% 0.049 300.3);
Tailwind
colors: {
  custom: {
    50: '#756d82',
    500: '#403652',
    950: '#000000',
  },
}
SCSS
$custom: #403652;
$custom-light: #756d82;
$custom-dark: #000000;
JSON
{
  "hex": "#403652",
  "rgb": {
    "r": 64,
    "g": 54,
    "b": 82
  },
  "hsl": {
    "h": 261.429,
    "s": 20.588,
    "l": 26.667
  },
  "oklch": {
    "l": 0.3557,
    "c": 0.04919,
    "h": 300.3
  },
  "luminance": 0.04338
}

Semantic roles & 50–950 ramp

primary
#403652
secondary
#778261
accent
#BD6BA0
background
#F7F6F8
surface
#EDEBEF
border
#C8C6CA
text
#08070A
muted
#7B7A7C

Preview Lab

Preview with #403652

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

Preview Lab → · Contrast checker → · Palette generator →

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