#401453#401453

#401453 is a dark, moderate purple. Relative luminance 0.022; OKLCH L 29.5% C 0.113 H 313.7°. Best body text is #FFFFFF at 14.55:1 contrast (WCAG AA passes).

Color values

HEX#401453
RGBrgb(64, 20, 83)
HSLhsl(282, 61%, 20%)
HSVhsv(282, 76%, 33%)
CMYKcmyk(22.9%, 75.9%, 0%, 67.5%)
CIE-LABlab(16.58, 32.41, -28.98)
CIE-LCHlch(16.58, 43.48, 318.20°)
OKLaboklab(29.51% 0.0781 -0.0817)
OKLCHoklch(29.51% 0.113 313.7)
XYZxyz(3.9256, 2.2150, 8.4027)
Luminance0.0221 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401453 #275314
analogous
#211453 #401453 #531446
triadic
#401453 #534014 #145340
tetradic
#401453 #532114 #275314 #144653
square
#401453 #532114 #275314 #144653
split-complementary
#401453 #465314 #145321
monochromatic
#130619 #1A0822 #401453 #662084 #8C2CB6

Accessibility & contrast

On white

14.55
#401453 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#401453 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #401453
14.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401453#FFFFFF#000000##FFFFFF
##4014531.0014.551.4414.55
#FFFFFF14.551.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002755
Deuteranopia (green-blind)
#102A52
Tritanopia (blue-blind)
#3E2132
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #401453;
/* rgb */ color: rgb(64, 20, 83);
/* oklch */ color: oklch(29.5% 0.113 313.7);
Tailwind
colors: {
  custom: {
    50: '#775684',
    500: '#401453',
    950: '#000000',
  },
}
SCSS
$custom: #401453;
$custom-light: #775684;
$custom-dark: #000000;
JSON
{
  "hex": "#401453",
  "rgb": {
    "r": 64,
    "g": 20,
    "b": 83
  },
  "hsl": {
    "h": 281.905,
    "s": 61.165,
    "l": 20.196
  },
  "oklch": {
    "l": 0.2951,
    "c": 0.11302,
    "h": 313.7
  },
  "luminance": 0.02215
}

Semantic roles & 50–950 ramp

primary
#401453
secondary
#518B38
accent
#E44474
background
#F7F5F8
surface
#EDE9EF
border
#C8C5CA
text
#09030B
muted
#7B787C

Preview Lab

Preview with #401453

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

Preview Lab → · Contrast checker → · Palette generator →

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