#403454#403454

#403454 is a dark, muted violet. Relative luminance 0.042; OKLCH L 35.2% C 0.056 H 300.8°. Best body text is #FFFFFF at 11.43:1 contrast (WCAG AA passes).

Color values

HEX#403454
RGBrgb(64, 52, 84)
HSLhsl(263, 24%, 27%)
HSVhsv(263, 38%, 33%)
CMYKcmyk(23.8%, 38.1%, 0%, 67.1%)
CIE-LABlab(24.28, 13.01, -17.46)
CIE-LCHlch(24.28, 21.78, 306.69°)
OKLaboklab(35.24% 0.0288 -0.0484)
OKLCHoklch(35.24% 0.056 300.8)
XYZxyz(4.9422, 4.1861, 8.9334)
Luminance0.0419 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403454 #485434
analogous
#343854 #403454 #503454
triadic
#403454 #544034 #345440
tetradic
#403454 #543438 #485434 #345450
square
#403454 #543438 #485434 #345450
split-complementary
#403454 #545034 #385434
monochromatic
#0E0C13 #231D2E #403454 #5D4B7A #7A649F

Accessibility & contrast

On white

11.43
#403454 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#403454 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403454
11.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403454#FFFFFF#000000##FFFFFF
##4034541.0011.431.8411.43
#FFFFFF11.431.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D3A55
Deuteranopia (green-blind)
#2F3A53
Tritanopia (blue-blind)
#3C3940
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #403454;
/* rgb */ color: rgb(64, 52, 84);
/* oklch */ color: oklch(35.2% 0.056 300.8);
Tailwind
colors: {
  custom: {
    50: '#756b84',
    500: '#403454',
    950: '#000000',
  },
}
SCSS
$custom: #403454;
$custom-light: #756b84;
$custom-dark: #000000;
JSON
{
  "hex": "#403454",
  "rgb": {
    "r": 64,
    "g": 52,
    "b": 84
  },
  "hsl": {
    "h": 262.5,
    "s": 23.529,
    "l": 26.667
  },
  "oklch": {
    "l": 0.35235,
    "c": 0.05631,
    "h": 300.8
  },
  "luminance": 0.04186
}

Semantic roles & 50–950 ramp

primary
#403454
secondary
#77855F
accent
#C0689F
background
#F7F6F8
surface
#EDEBEF
border
#C8C6CA
text
#08060B
muted
#7B7A7C

Preview Lab

Preview with #403454

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

Preview Lab → · Contrast checker → · Palette generator →

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