#401143#401143

#401143 is a dark, moderate purple. Relative luminance 0.019; OKLCH L 28.0% C 0.101 H 325.3°. Best body text is #FFFFFF at 15.23:1 contrast (WCAG AA passes).

Color values

HEX#401143
RGBrgb(64, 17, 67)
HSLhsl(296, 60%, 16%)
HSVhsv(296, 75%, 26%)
CMYKcmyk(4.5%, 74.6%, 0%, 73.7%)
CIE-LABlab(14.93, 30.24, -20.60)
CIE-LCHlch(14.93, 36.59, 325.74°)
OKLaboklab(27.97% 0.0827 -0.0572)
OKLCHoklch(27.97% 0.101 325.3)
XYZxyz(3.3278, 1.8963, 5.4998)
Luminance0.0190 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401143 #144311
analogous
#271143 #401143 #43112D
triadic
#401143 #434011 #114340
tetradic
#401143 #432711 #144311 #112D43
square
#401143 #432711 #144311 #112D43
split-complementary
#401143 #2D4311 #114327
monochromatic
#170618 #170618 #401143 #6F1D74 #9D2AA5

Accessibility & contrast

On white

15.23
#401143 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #401143
15.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401143#FFFFFF#000000##FFFFFF
##4011431.0015.231.3815.23
#FFFFFF15.231.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#072244
Deuteranopia (green-blind)
#1B2842
Tritanopia (blue-blind)
#421928
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #401143;
/* rgb */ color: rgb(64, 17, 67);
/* oklch */ color: oklch(28.0% 0.101 325.3);
Tailwind
colors: {
  custom: {
    50: '#775477',
    500: '#401143',
    950: '#000000',
  },
}
SCSS
$custom: #401143;
$custom-light: #775477;
$custom-dark: #000000;
JSON
{
  "hex": "#401143",
  "rgb": {
    "r": 64,
    "g": 17,
    "b": 67
  },
  "hsl": {
    "h": 296.4,
    "s": 59.524,
    "l": 16.471
  },
  "oklch": {
    "l": 0.27968,
    "c": 0.1005,
    "h": 325.3
  },
  "luminance": 0.01896
}

Semantic roles & 50–950 ramp

primary
#401143
secondary
#387D33
accent
#E3454F
background
#F7F4F7
surface
#EDE8ED
border
#C8C4C8
text
#090308
muted
#7B787B

Preview Lab

Preview with #401143

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

Preview Lab → · Contrast checker → · Palette generator →

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