#401853#401853

#401853 is a dark, moderate purple. Relative luminance 0.024; OKLCH L 30.0% C 0.107 H 313.0°. Best body text is #FFFFFF at 14.25:1 contrast (WCAG AA passes).

Color values

HEX#401853
RGBrgb(64, 24, 83)
HSLhsl(281, 55%, 21%)
HSVhsv(281, 71%, 33%)
CMYKcmyk(22.9%, 71.1%, 0%, 67.5%)
CIE-LABlab(17.31, 30.37, -27.80)
CIE-LCHlch(17.31, 41.17, 317.52°)
OKLaboklab(30.04% 0.073 -0.0783)
OKLCHoklch(30.04% 0.107 313)
XYZxyz(4.0020, 2.3679, 8.4282)
Luminance0.0237 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401853 #2B5318
analogous
#221853 #401853 #531848
triadic
#401853 #534018 #185340
tetradic
#401853 #532218 #2B5318 #184853
square
#401853 #532218 #2B5318 #184853
split-complementary
#401853 #485318 #185322
monochromatic
#120718 #1B0A24 #401853 #652682 #8933B2

Accessibility & contrast

On white

14.25
#401853 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #401853
14.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401853#FFFFFF#000000##FFFFFF
##4018531.0014.251.4714.25
#FFFFFF14.251.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002855
Deuteranopia (green-blind)
#142B52
Tritanopia (blue-blind)
#3E2433
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #401853;
/* rgb */ color: rgb(64, 24, 83);
/* oklch */ color: oklch(30.0% 0.107 313.0);
Tailwind
colors: {
  custom: {
    50: '#775884',
    500: '#401853',
    950: '#000000',
  },
}
SCSS
$custom: #401853;
$custom-light: #775884;
$custom-dark: #000000;
JSON
{
  "hex": "#401853",
  "rgb": {
    "r": 64,
    "g": 24,
    "b": 83
  },
  "hsl": {
    "h": 280.678,
    "s": 55.14,
    "l": 20.98
  },
  "oklch": {
    "l": 0.30036,
    "c": 0.10701,
    "h": 313
  },
  "luminance": 0.02368
}

Semantic roles & 50–950 ramp

primary
#401853
secondary
#568A3D
accent
#DE4979
background
#F7F5F8
surface
#EDE9EF
border
#C8C5CA
text
#09030B
muted
#7B787C

Preview Lab

Preview with #401853

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

Preview Lab → · Contrast checker → · Palette generator →

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