#403B59#403B59

#403B59 is a dark, muted violet. Relative luminance 0.049; OKLCH L 37.1% C 0.051 H 291.3°. Best body text is #FFFFFF at 10.56:1 contrast (WCAG AA passes).

Color values

HEX#403B59
RGBrgb(64, 59, 89)
HSLhsl(250, 20%, 29%)
HSVhsv(250, 34%, 35%)
CMYKcmyk(28.1%, 33.7%, 0%, 65.1%)
CIE-LABlab(26.56, 9.72, -17.20)
CIE-LCHlch(26.56, 19.75, 299.48°)
OKLaboklab(37.06% 0.0186 -0.0476)
OKLCHoklch(37.06% 0.051 291.3)
XYZxyz(5.4810, 4.9391, 10.1138)
Luminance0.0494 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403B59 #54593B
analogous
#3B4559 #403B59 #4F3B59
triadic
#403B59 #59403B #3B5940
tetradic
#403B59 #593B45 #54593B #3B594F
square
#403B59 #593B45 #54593B #3B594F
split-complementary
#403B59 #594F3B #45593B
monochromatic
#0D0C12 #262334 #403B59 #5A537E #776F9F

Accessibility & contrast

On white

10.56
#403B59 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#403B59 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403B59
10.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403B59#FFFFFF#000000##FFFFFF
##403B591.0010.561.9910.56
#FFFFFF10.561.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#333F5A
Deuteranopia (green-blind)
#333E58
Tritanopia (blue-blind)
#3B4046
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #403b59;
/* rgb */ color: rgb(64, 59, 89);
/* oklch */ color: oklch(37.1% 0.051 291.3);
Tailwind
colors: {
  custom: {
    50: '#757088',
    500: '#403b59',
    950: '#000000',
  },
}
SCSS
$custom: #403b59;
$custom-light: #757088;
$custom-dark: #000000;
JSON
{
  "hex": "#403b59",
  "rgb": {
    "r": 64,
    "g": 59,
    "b": 89
  },
  "hsl": {
    "h": 250,
    "s": 20.27,
    "l": 29.02
  },
  "oklch": {
    "l": 0.37064,
    "c": 0.05114,
    "h": 291.3
  },
  "luminance": 0.04939
}

Semantic roles & 50–950 ramp

primary
#403B59
secondary
#838967
accent
#BD6BAF
background
#F7F6F8
surface
#EDECEF
border
#C8C7CA
text
#08070B
muted
#7B7A7C

Preview Lab

Preview with #403B59

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

Preview Lab → · Contrast checker → · Palette generator →

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