#401044#401044

#401044 is a dark, moderate purple. Relative luminance 0.019; OKLCH L 27.9% C 0.103 H 324.6°. Best body text is #FFFFFF at 15.27:1 contrast (WCAG AA passes).

Color values

HEX#401044
RGBrgb(64, 16, 68)
HSLhsl(295, 62%, 16%)
HSVhsv(295, 76%, 27%)
CMYKcmyk(5.9%, 76.5%, 0%, 73.3%)
CIE-LABlab(14.83, 30.91, -21.45)
CIE-LCHlch(14.83, 37.63, 325.24°)
OKLaboklab(27.92% 0.084 -0.0597)
OKLCHoklch(27.92% 0.103 324.6)
XYZxyz(3.3429, 1.8781, 5.6542)
Luminance0.0188 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401044 #144410
analogous
#261044 #401044 #44102E
triadic
#401044 #444010 #104440
tetradic
#401044 #442610 #144410 #102E44
square
#401044 #442610 #144410 #102E44
split-complementary
#401044 #2E4410 #104426
monochromatic
#170619 #170619 #401044 #6F1C76 #9D27A7

Accessibility & contrast

On white

15.27
#401044 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#401044 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #401044
15.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401044#FFFFFF#000000##FFFFFF
##4010441.0015.271.3815.27
#FFFFFF15.271.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#052245
Deuteranopia (green-blind)
#1A2743
Tritanopia (blue-blind)
#411828
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #401044;
/* rgb */ color: rgb(64, 16, 68);
/* oklch */ color: oklch(27.9% 0.103 324.6);
Tailwind
colors: {
  custom: {
    50: '#775378',
    500: '#401044',
    950: '#000000',
  },
}
SCSS
$custom: #401044;
$custom-light: #775378;
$custom-dark: #000000;
JSON
{
  "hex": "#401044",
  "rgb": {
    "r": 64,
    "g": 16,
    "b": 68
  },
  "hsl": {
    "h": 295.385,
    "s": 61.905,
    "l": 16.471
  },
  "oklch": {
    "l": 0.27918,
    "c": 0.103,
    "h": 324.6
  },
  "luminance": 0.01878
}

Semantic roles & 50–950 ramp

primary
#401044
secondary
#387E32
accent
#E5434F
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#090309
muted
#7B787B

Preview Lab

Preview with #401044

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

Preview Lab → · Contrast checker → · Palette generator →

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