#401339#401339

#401339 is a dark, moderate purple. Relative luminance 0.019; OKLCH L 27.6% C 0.088 H 334.3°. Best body text is #FFFFFF at 15.33:1 contrast (WCAG AA passes).

Color values

HEX#401339
RGBrgb(64, 19, 57)
HSLhsl(309, 54%, 16%)
HSVhsv(309, 70%, 25%)
CMYKcmyk(0%, 70.3%, 10.9%, 74.9%)
CIE-LABlab(14.69, 27.23, -13.93)
CIE-LCHlch(14.69, 30.59, 332.90°)
OKLaboklab(27.59% 0.0789 -0.038)
OKLCHoklch(27.59% 0.088 334.3)
XYZxyz(3.0858, 1.8514, 4.0649)
Luminance0.0185 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401339 #13401A
analogous
#311340 #401339 #401323
triadic
#401339 #394013 #133940
tetradic
#401339 #403113 #13401A #132340
square
#401339 #403113 #13401A #132340
split-complementary
#401339 #234013 #134031
monochromatic
#180715 #180715 #401339 #6F2163 #9E2F8D

Accessibility & contrast

On white

15.33
#401339 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#401339 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##401339#FFFFFF#000000##FFFFFF
##4013391.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)
#13213A
Deuteranopia (green-blind)
#212738
Tritanopia (blue-blind)
#431623
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #401339;
/* rgb */ color: rgb(64, 19, 57);
/* oklch */ color: oklch(27.6% 0.088 334.3);
Tailwind
colors: {
  custom: {
    50: '#77546f',
    500: '#401339',
    950: '#000000',
  },
}
SCSS
$custom: #401339;
$custom-light: #77546f;
$custom-dark: #000000;
JSON
{
  "hex": "#401339",
  "rgb": {
    "r": 64,
    "g": 19,
    "b": 57
  },
  "hsl": {
    "h": 309.333,
    "s": 54.217,
    "l": 16.275
  },
  "oklch": {
    "l": 0.27594,
    "c": 0.08755,
    "h": 334.3
  },
  "luminance": 0.01851
}

Semantic roles & 50–950 ramp

primary
#401339
secondary
#367941
accent
#DE614A
background
#F7F5F6
surface
#EDE8EC
border
#C8C4C7
text
#090307
muted
#7B787A

Preview Lab

Preview with #401339

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

Preview Lab → · Contrast checker → · Palette generator →

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