#403552#403552

#403552 is a dark, muted violet. Relative luminance 0.042; OKLCH L 35.3% C 0.051 H 301.2°. Best body text is #FFFFFF at 11.36:1 contrast (WCAG AA passes).

Color values

HEX#403552
RGBrgb(64, 53, 82)
HSLhsl(263, 21%, 26%)
HSVhsv(263, 35%, 32%)
CMYKcmyk(22%, 35.4%, 0%, 67.8%)
CIE-LABlab(24.47, 11.79, -15.85)
CIE-LCHlch(24.47, 19.75, 306.65°)
OKLaboklab(35.35% 0.0265 -0.0437)
OKLCHoklch(35.35% 0.051 301.2)
XYZxyz(4.9101, 4.2454, 8.5418)
Luminance0.0425 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403552 #475235
analogous
#353952 #403552 #4F3552
triadic
#403552 #524035 #355240
tetradic
#403552 #523539 #475235 #35524F
square
#403552 #523539 #475235 #35524F
split-complementary
#403552 #524F35 #395235
monochromatic
#0F0C13 #231D2D #403552 #5D4D77 #7A669C

Accessibility & contrast

On white

11.36
#403552 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#403552 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403552
11.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403552#FFFFFF#000000##FFFFFF
##4035521.0011.361.8511.36
#FFFFFF11.361.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F3A53
Deuteranopia (green-blind)
#313A51
Tritanopia (blue-blind)
#3D3940
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #403552;
/* rgb */ color: rgb(64, 53, 82);
/* oklch */ color: oklch(35.3% 0.051 301.2);
Tailwind
colors: {
  custom: {
    50: '#756c82',
    500: '#403552',
    950: '#000000',
  },
}
SCSS
$custom: #403552;
$custom-light: #756c82;
$custom-dark: #000000;
JSON
{
  "hex": "#403552",
  "rgb": {
    "r": 64,
    "g": 53,
    "b": 82
  },
  "hsl": {
    "h": 262.759,
    "s": 21.481,
    "l": 26.471
  },
  "oklch": {
    "l": 0.35347,
    "c": 0.05116,
    "h": 301.2
  },
  "luminance": 0.04245
}

Semantic roles & 50–950 ramp

primary
#403552
secondary
#768260
accent
#BE6A9E
background
#F7F6F8
surface
#EDEBEF
border
#C8C6CA
text
#08070A
muted
#7B7A7C

Preview Lab

Preview with #403552

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

Preview Lab → · Contrast checker → · Palette generator →

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