#403450#403450

#403450 is a dark, muted violet. Relative luminance 0.041; OKLCH L 35.0% C 0.050 H 303.6°. Best body text is #FFFFFF at 11.51:1 contrast (WCAG AA passes).

Color values

HEX#403450
RGBrgb(64, 52, 80)
HSLhsl(266, 21%, 26%)
HSVhsv(266, 35%, 31%)
CMYKcmyk(20%, 35%, 0%, 68.6%)
CIE-LABlab(24.08, 11.92, -15.12)
CIE-LCHlch(24.08, 19.25, 308.26°)
OKLaboklab(35.02% 0.0277 -0.0417)
OKLCHoklch(35.02% 0.05 303.6)
XYZxyz(4.7900, 4.1252, 8.1317)
Luminance0.0413 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403450 #445034
analogous
#343650 #403450 #4E3450
triadic
#403450 #504034 #345040
tetradic
#403450 #503436 #445034 #34504E
square
#403450 #503436 #445034 #34504E
split-complementary
#403450 #504E34 #365034
monochromatic
#0F0C13 #221C2B #403450 #5E4C75 #7B649A

Accessibility & contrast

On white

11.51
#403450 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#403450 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403450
11.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403450#FFFFFF#000000##FFFFFF
##4034501.0011.511.8311.51
#FFFFFF11.511.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E3951
Deuteranopia (green-blind)
#30394F
Tritanopia (blue-blind)
#3D383E
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #403450;
/* rgb */ color: rgb(64, 52, 80);
/* oklch */ color: oklch(35.0% 0.050 303.6);
Tailwind
colors: {
  custom: {
    50: '#756b81',
    500: '#403450',
    950: '#000000',
  },
}
SCSS
$custom: #403450;
$custom-light: #756b81;
$custom-dark: #000000;
JSON
{
  "hex": "#403450",
  "rgb": {
    "r": 64,
    "g": 52,
    "b": 80
  },
  "hsl": {
    "h": 265.714,
    "s": 21.212,
    "l": 25.882
  },
  "oklch": {
    "l": 0.3502,
    "c": 0.05,
    "h": 303.6
  },
  "luminance": 0.04125
}

Semantic roles & 50–950 ramp

primary
#403450
secondary
#72815F
accent
#BE6A9A
background
#F7F6F7
surface
#EDEBEE
border
#C8C6C9
text
#08060A
muted
#7B7A7C

Preview Lab

Preview with #403450

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

Preview Lab → · Contrast checker → · Palette generator →

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