#403149#403149

#403149 is a dark, muted violet. Relative luminance 0.038; OKLCH L 34.0% C 0.046 H 312.4°. Best body text is #FFFFFF at 11.98:1 contrast (WCAG AA passes).

Color values

HEX#403149
RGBrgb(64, 49, 73)
HSLhsl(278, 20%, 24%)
HSVhsv(278, 33%, 29%)
CMYKcmyk(12.3%, 32.9%, 0%, 71.4%)
CIE-LABlab(22.89, 12.12, -12.29)
CIE-LCHlch(22.89, 17.26, 314.59°)
OKLaboklab(34% 0.0307 -0.0336)
OKLCHoklch(34% 0.046 312.4)
XYZxyz(4.4151, 3.7677, 6.7967)
Luminance0.0377 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403149 #3A4931
analogous
#343149 #403149 #493146
triadic
#403149 #494031 #314940
tetradic
#403149 #493431 #3A4931 #314649
square
#403149 #493431 #3A4931 #314649
split-complementary
#403149 #464931 #314934
monochromatic
#100C12 #201824 #403149 #604A6E #806292

Accessibility & contrast

On white

11.98
#403149 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#403149 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403149
11.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403149#FFFFFF#000000##FFFFFF
##4031491.0011.981.7511.98
#FFFFFF11.981.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D364A
Deuteranopia (green-blind)
#303748
Tritanopia (blue-blind)
#3F343A
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #403149;
/* rgb */ color: rgb(64, 49, 73);
/* oklch */ color: oklch(34.0% 0.046 312.4);
Tailwind
colors: {
  custom: {
    50: '#75697b',
    500: '#403149',
    950: '#000000',
  },
}
SCSS
$custom: #403149;
$custom-light: #75697b;
$custom-dark: #000000;
JSON
{
  "hex": "#403149",
  "rgb": {
    "r": 64,
    "g": 49,
    "b": 73
  },
  "hsl": {
    "h": 277.5,
    "s": 19.672,
    "l": 23.922
  },
  "oklch": {
    "l": 0.34,
    "c": 0.04551,
    "h": 312.4
  },
  "luminance": 0.03768
}

Semantic roles & 50–950 ramp

primary
#403149
secondary
#677A5C
accent
#BC6C8A
background
#F7F6F7
surface
#EDEBEE
border
#C8C6C9
text
#080609
muted
#7B7A7B

Preview Lab

Preview with #403149

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

Preview Lab → · Contrast checker → · Palette generator →

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