#400F44#400F44

#400F44 is a dark, moderate purple. Relative luminance 0.018; OKLCH L 27.8% C 0.104 H 324.7°. Best body text is #FFFFFF at 15.33:1 contrast (WCAG AA passes).

Color values

HEX#400F44
RGBrgb(64, 15, 68)
HSLhsl(295, 64%, 16%)
HSVhsv(295, 78%, 27%)
CMYKcmyk(5.9%, 77.9%, 0%, 73.3%)
CIE-LABlab(14.68, 31.36, -21.71)
CIE-LCHlch(14.68, 38.14, 325.31°)
OKLaboklab(27.8% 0.0852 -0.0604)
OKLCHoklch(27.8% 0.104 324.7)
XYZxyz(3.3285, 1.8492, 5.6493)
Luminance0.0185 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#400F44 #13440F
analogous
#260F44 #400F44 #440F2E
triadic
#400F44 #44400F #0F4440
tetradic
#400F44 #44260F #13440F #0F2E44
square
#400F44 #44260F #13440F #0F2E44
split-complementary
#400F44 #2E440F #0F4426
monochromatic
#180619 #180619 #400F44 #6F1A76 #9E25A8

Accessibility & contrast

On white

15.33
#400F44 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#400F44 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #400F44
15.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##400F44#FFFFFF#000000##FFFFFF
##400F441.0015.331.3715.33
#FFFFFF15.331.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#032146
Deuteranopia (green-blind)
#192743
Tritanopia (blue-blind)
#421828
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #400f44;
/* rgb */ color: rgb(64, 15, 68);
/* oklch */ color: oklch(27.8% 0.104 324.7);
Tailwind
colors: {
  custom: {
    50: '#775378',
    500: '#400f44',
    950: '#000000',
  },
}
SCSS
$custom: #400f44;
$custom-light: #775378;
$custom-dark: #000000;
JSON
{
  "hex": "#400f44",
  "rgb": {
    "r": 64,
    "g": 15,
    "b": 68
  },
  "hsl": {
    "h": 295.472,
    "s": 63.855,
    "l": 16.275
  },
  "oklch": {
    "l": 0.27804,
    "c": 0.10443,
    "h": 324.7
  },
  "luminance": 0.01849
}

Semantic roles & 50–950 ramp

primary
#400F44
secondary
#367E30
accent
#E7414D
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#090209
muted
#7B787B

Preview Lab

Preview with #400F44

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

Preview Lab → · Contrast checker → · Palette generator →

#400F44 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva