#401553#401553

#401553 is a dark, moderate purple. Relative luminance 0.023; OKLCH L 29.6% C 0.112 H 313.5°. Best body text is #FFFFFF at 14.48:1 contrast (WCAG AA passes).

Color values

HEX#401553
RGBrgb(64, 21, 83)
HSLhsl(282, 60%, 20%)
HSVhsv(282, 75%, 33%)
CMYKcmyk(22.9%, 74.7%, 0%, 67.5%)
CIE-LABlab(16.75, 31.92, -28.70)
CIE-LCHlch(16.75, 42.92, 318.04°)
OKLaboklab(29.64% 0.0769 -0.0809)
OKLCHoklch(29.64% 0.112 313.5)
XYZxyz(3.9436, 2.2510, 8.4087)
Luminance0.0225 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401553 #285315
analogous
#211553 #401553 #531547
triadic
#401553 #534015 #155340
tetradic
#401553 #532115 #285315 #154753
square
#401553 #532115 #285315 #154753
split-complementary
#401553 #475315 #155321
monochromatic
#130618 #1A0922 #401553 #662184 #8B2EB5

Accessibility & contrast

On white

14.48
#401553 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#401553 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #401553
14.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401553#FFFFFF#000000##FFFFFF
##4015531.0014.481.4514.48
#FFFFFF14.481.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.481.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #401553;
/* rgb */ color: rgb(64, 21, 83);
/* oklch */ color: oklch(29.6% 0.112 313.5);
Tailwind
colors: {
  custom: {
    50: '#775684',
    500: '#401553',
    950: '#000000',
  },
}
SCSS
$custom: #401553;
$custom-light: #775684;
$custom-dark: #000000;
JSON
{
  "hex": "#401553",
  "rgb": {
    "r": 64,
    "g": 21,
    "b": 83
  },
  "hsl": {
    "h": 281.613,
    "s": 59.615,
    "l": 20.392
  },
  "oklch": {
    "l": 0.29635,
    "c": 0.11157,
    "h": 313.5
  },
  "luminance": 0.02251
}

Semantic roles & 50–950 ramp

primary
#401553
secondary
#528B39
accent
#E34575
background
#F7F5F8
surface
#EDE9EF
border
#C8C5CA
text
#09030B
muted
#7B787C

Preview Lab

Preview with #401553

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

Preview Lab → · Contrast checker → · Palette generator →

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