#401753#401753

#401753 is a dark, moderate purple. Relative luminance 0.023; OKLCH L 29.9% C 0.109 H 313.2°. Best body text is #FFFFFF at 14.33:1 contrast (WCAG AA passes).

Color values

HEX#401753
RGBrgb(64, 23, 83)
HSLhsl(281, 57%, 21%)
HSVhsv(281, 72%, 33%)
CMYKcmyk(22.9%, 72.3%, 0%, 67.5%)
CIE-LABlab(17.12, 30.90, -28.11)
CIE-LCHlch(17.12, 41.77, 317.70°)
OKLaboklab(29.9% 0.0743 -0.0792)
OKLCHoklch(29.9% 0.109 313.2)
XYZxyz(3.9818, 2.3274, 8.4214)
Luminance0.0233 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401753 #2A5317
analogous
#221753 #401753 #531748
triadic
#401753 #534017 #175340
tetradic
#401753 #532217 #2A5317 #174853
square
#401753 #532217 #2A5317 #174853
split-complementary
#401753 #485317 #175322
monochromatic
#120718 #1B0A23 #401753 #652483 #8A32B3

Accessibility & contrast

On white

14.33
#401753 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#401753 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #401753
14.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401753#FFFFFF#000000##FFFFFF
##4017531.0014.331.4714.33
#FFFFFF14.331.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002855
Deuteranopia (green-blind)
#132B52
Tritanopia (blue-blind)
#3E2332
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #401753;
/* rgb */ color: rgb(64, 23, 83);
/* oklch */ color: oklch(29.9% 0.109 313.2);
Tailwind
colors: {
  custom: {
    50: '#775784',
    500: '#401753',
    950: '#000000',
  },
}
SCSS
$custom: #401753;
$custom-light: #775784;
$custom-dark: #000000;
JSON
{
  "hex": "#401753",
  "rgb": {
    "r": 64,
    "g": 23,
    "b": 83
  },
  "hsl": {
    "h": 281,
    "s": 56.604,
    "l": 20.784
  },
  "oklch": {
    "l": 0.29898,
    "c": 0.10857,
    "h": 313.2
  },
  "luminance": 0.02327
}

Semantic roles & 50–950 ramp

primary
#401753
secondary
#558A3C
accent
#E04878
background
#F7F5F8
surface
#EDE9EF
border
#C8C5CA
text
#09030B
muted
#7B787C

Preview Lab

Preview with #401753

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

Preview Lab → · Contrast checker → · Palette generator →

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