#401053#401053

#401053 is a dark, moderate purple. Relative luminance 0.021; OKLCH L 29.0% C 0.118 H 314.3°. Best body text is #FFFFFF at 14.82:1 contrast (WCAG AA passes).

Color values

HEX#401053
RGBrgb(64, 16, 83)
HSLhsl(283, 68%, 19%)
HSVhsv(283, 81%, 33%)
CMYKcmyk(22.9%, 80.7%, 0%, 67.5%)
CIE-LABlab(15.93, 34.25, -30.03)
CIE-LCHlch(15.93, 45.55, 318.76°)
OKLaboklab(29.05% 0.0827 -0.0847)
OKLCHoklch(29.05% 0.118 314.3)
XYZxyz(3.8607, 2.0852, 8.3811)
Luminance0.0209 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401053 #235310
analogous
#1F1053 #401053 #531045
triadic
#401053 #534010 #105340
tetradic
#401053 #531F10 #235310 #104553
square
#401053 #531F10 #235310 #104553
split-complementary
#401053 #455310 #10531F
monochromatic
#14051A #180620 #401053 #681A86 #8F24BA

Accessibility & contrast

On white

14.82
#401053 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#401053 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #401053
14.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401053#FFFFFF#000000##FFFFFF
##4010531.0014.821.4214.82
#FFFFFF14.821.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002555
Deuteranopia (green-blind)
#0C2952
Tritanopia (blue-blind)
#3E1F30
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #401053;
/* rgb */ color: rgb(64, 16, 83);
/* oklch */ color: oklch(29.0% 0.118 314.3);
Tailwind
colors: {
  custom: {
    50: '#785484',
    500: '#401053',
    950: '#000000',
  },
}
SCSS
$custom: #401053;
$custom-light: #785484;
$custom-dark: #000000;
JSON
{
  "hex": "#401053",
  "rgb": {
    "r": 64,
    "g": 16,
    "b": 83
  },
  "hsl": {
    "h": 282.985,
    "s": 67.677,
    "l": 19.412
  },
  "oklch": {
    "l": 0.29048,
    "c": 0.11839,
    "h": 314.3
  },
  "luminance": 0.02085
}

Semantic roles & 50–950 ramp

primary
#401053
secondary
#4C8D32
accent
#EB3D6E
background
#F7F5F8
surface
#EDE9EF
border
#C8C5CA
text
#09030B
muted
#7B787C

Preview Lab

Preview with #401053

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

Preview Lab → · Contrast checker → · Palette generator →

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