#401953#401953

#401953 is a dark, moderate purple. Relative luminance 0.024; OKLCH L 30.2% C 0.105 H 312.8°. Best body text is #FFFFFF at 14.17:1 contrast (WCAG AA passes).

Color values

HEX#401953
RGBrgb(64, 25, 83)
HSLhsl(280, 54%, 21%)
HSVhsv(280, 70%, 33%)
CMYKcmyk(22.9%, 69.9%, 0%, 67.5%)
CIE-LABlab(17.51, 29.83, -27.49)
CIE-LCHlch(17.51, 40.56, 317.34°)
OKLaboklab(30.18% 0.0716 -0.0774)
OKLCHoklch(30.18% 0.105 312.8)
XYZxyz(4.0230, 2.4099, 8.4352)
Luminance0.0241 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401953 #2C5319
analogous
#231953 #401953 #531949
triadic
#401953 #534019 #195340
tetradic
#401953 #532319 #2C5319 #194953
square
#401953 #532319 #2C5319 #194953
split-complementary
#401953 #495319 #195323
monochromatic
#120718 #1C0B24 #401953 #642782 #8935B1

Accessibility & contrast

On white

14.17
#401953 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#401953 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #401953
14.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401953#FFFFFF#000000##FFFFFF
##4019531.0014.171.4814.17
#FFFFFF14.171.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#012955
Deuteranopia (green-blind)
#152C52
Tritanopia (blue-blind)
#3E2433
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #401953;
/* rgb */ color: rgb(64, 25, 83);
/* oklch */ color: oklch(30.2% 0.105 312.8);
Tailwind
colors: {
  custom: {
    50: '#775984',
    500: '#401953',
    950: '#000000',
  },
}
SCSS
$custom: #401953;
$custom-light: #775984;
$custom-dark: #000000;
JSON
{
  "hex": "#401953",
  "rgb": {
    "r": 64,
    "g": 25,
    "b": 83
  },
  "hsl": {
    "h": 280.345,
    "s": 53.704,
    "l": 21.176
  },
  "oklch": {
    "l": 0.30177,
    "c": 0.10542,
    "h": 312.8
  },
  "luminance": 0.0241
}

Semantic roles & 50–950 ramp

primary
#401953
secondary
#57893E
accent
#DD4B7B
background
#F7F5F8
surface
#EDE9EF
border
#C8C5CA
text
#09030B
muted
#7B787C

Preview Lab

Preview with #401953

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

Preview Lab → · Contrast checker → · Palette generator →

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