#401146#401146

#401146 is a dark, moderate purple. Relative luminance 0.019; OKLCH L 28.2% C 0.104 H 323.0°. Best body text is #FFFFFF at 15.14:1 contrast (WCAG AA passes).

Color values

HEX#401146
RGBrgb(64, 17, 70)
HSLhsl(293, 61%, 17%)
HSVhsv(293, 76%, 27%)
CMYKcmyk(8.6%, 75.7%, 0%, 72.5%)
CIE-LABlab(15.13, 30.88, -22.37)
CIE-LCHlch(15.13, 38.13, 324.08°)
OKLaboklab(28.18% 0.0827 -0.0623)
OKLCHoklch(28.18% 0.104 323)
XYZxyz(3.4202, 1.9333, 5.9862)
Luminance0.0193 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401146 #174611
analogous
#261146 #401146 #461132
triadic
#401146 #464011 #114640
tetradic
#401146 #462611 #174611 #113246
square
#401146 #462611 #174611 #113246
split-complementary
#401146 #324611 #114626
monochromatic
#170619 #170619 #401146 #6D1D77 #9A29A8

Accessibility & contrast

On white

15.14
#401146 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#401146 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #401146
15.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401146#FFFFFF#000000##FFFFFF
##4011461.0015.141.3915.14
#FFFFFF15.141.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#042248
Deuteranopia (green-blind)
#192845
Tritanopia (blue-blind)
#411A2A
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #401146;
/* rgb */ color: rgb(64, 17, 70);
/* oklch */ color: oklch(28.2% 0.104 323.0);
Tailwind
colors: {
  custom: {
    50: '#77547a',
    500: '#401146',
    950: '#000000',
  },
}
SCSS
$custom: #401146;
$custom-light: #77547a;
$custom-dark: #000000;
JSON
{
  "hex": "#401146",
  "rgb": {
    "r": 64,
    "g": 17,
    "b": 70
  },
  "hsl": {
    "h": 293.208,
    "s": 60.92,
    "l": 17.059
  },
  "oklch": {
    "l": 0.28176,
    "c": 0.10354,
    "h": 323
  },
  "luminance": 0.01933
}

Semantic roles & 50–950 ramp

primary
#401146
secondary
#3C8033
accent
#E44456
background
#F7F5F7
surface
#EDE8ED
border
#C8C4C8
text
#090309
muted
#7B787B

Preview Lab

Preview with #401146

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

Preview Lab → · Contrast checker → · Palette generator →

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