#403249#403249

#403249 is a dark, muted violet. Relative luminance 0.039; OKLCH L 34.2% C 0.043 H 311.8°. Best body text is #FFFFFF at 11.86:1 contrast (WCAG AA passes).

Color values

HEX#403249
RGBrgb(64, 50, 73)
HSLhsl(277, 19%, 24%)
HSVhsv(277, 32%, 29%)
CMYKcmyk(12.3%, 31.5%, 0%, 71.4%)
CIE-LABlab(23.18, 11.44, -11.85)
CIE-LCHlch(23.18, 16.47, 314.01°)
OKLaboklab(34.22% 0.0289 -0.0323)
OKLCHoklch(34.22% 0.043 311.8)
XYZxyz(4.4573, 3.8523, 6.8108)
Luminance0.0385 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403249 #3B4932
analogous
#353249 #403249 #493247
triadic
#403249 #494032 #324940
tetradic
#403249 #493532 #3B4932 #324749
square
#403249 #493532 #3B4932 #324749
split-complementary
#403249 #474932 #324935
monochromatic
#100C12 #201925 #403249 #604B6D #806492

Accessibility & contrast

On white

11.86
#403249 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#403249 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403249
11.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403249#FFFFFF#000000##FFFFFF
##4032491.0011.861.7711.86
#FFFFFF11.861.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E374A
Deuteranopia (green-blind)
#313848
Tritanopia (blue-blind)
#3F353A
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #403249;
/* rgb */ color: rgb(64, 50, 73);
/* oklch */ color: oklch(34.2% 0.043 311.8);
Tailwind
colors: {
  custom: {
    50: '#756a7b',
    500: '#403249',
    950: '#000000',
  },
}
SCSS
$custom: #403249;
$custom-light: #756a7b;
$custom-dark: #000000;
JSON
{
  "hex": "#403249",
  "rgb": {
    "r": 64,
    "g": 50,
    "b": 73
  },
  "hsl": {
    "h": 276.522,
    "s": 18.699,
    "l": 24.118
  },
  "oklch": {
    "l": 0.34221,
    "c": 0.04339,
    "h": 311.8
  },
  "luminance": 0.03852
}

Semantic roles & 50–950 ramp

primary
#403249
secondary
#68795D
accent
#BB6C8B
background
#F7F6F7
surface
#EDEBEE
border
#C8C6C9
text
#080609
muted
#7B7A7B

Preview Lab

Preview with #403249

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

Preview Lab → · Contrast checker → · Palette generator →

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