#401350#401350

#401350 is a dark, moderate purple. Relative luminance 0.021; OKLCH L 29.2% C 0.111 H 315.7°. Best body text is #FFFFFF at 14.72:1 contrast (WCAG AA passes).

Color values

HEX#401350
RGBrgb(64, 19, 80)
HSLhsl(284, 62%, 19%)
HSVhsv(284, 76%, 31%)
CMYKcmyk(20%, 76.3%, 0%, 68.6%)
CIE-LABlab(16.18, 32.18, -27.58)
CIE-LCHlch(16.18, 42.38, 319.41°)
OKLaboklab(29.15% 0.0796 -0.0776)
OKLCHoklch(29.15% 0.111 315.7)
XYZxyz(3.7950, 2.1351, 7.8001)
Luminance0.0214 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401350 #235013
analogous
#221350 #401350 #501342
triadic
#401350 #504013 #135040
tetradic
#401350 #502213 #235013 #134250
square
#401350 #502213 #235013 #134250
split-complementary
#401350 #425013 #135022
monochromatic
#140619 #18071F #401350 #681F81 #8F2AB3

Accessibility & contrast

On white

14.72
#401350 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#401350 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #401350
14.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401350#FFFFFF#000000##FFFFFF
##4013501.0014.721.4314.72
#FFFFFF14.721.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002652
Deuteranopia (green-blind)
#12294F
Tritanopia (blue-blind)
#3F1F30
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #401350;
/* rgb */ color: rgb(64, 19, 80);
/* oklch */ color: oklch(29.2% 0.111 315.7);
Tailwind
colors: {
  custom: {
    50: '#775581',
    500: '#401350',
    950: '#000000',
  },
}
SCSS
$custom: #401350;
$custom-light: #775581;
$custom-dark: #000000;
JSON
{
  "hex": "#401350",
  "rgb": {
    "r": 64,
    "g": 19,
    "b": 80
  },
  "hsl": {
    "h": 284.262,
    "s": 61.616,
    "l": 19.412
  },
  "oklch": {
    "l": 0.29155,
    "c": 0.11117,
    "h": 315.7
  },
  "luminance": 0.02135
}

Semantic roles & 50–950 ramp

primary
#401350
secondary
#4C8936
accent
#E5436D
background
#F7F5F7
surface
#EDE9EE
border
#C8C5C9
text
#09030A
muted
#7B787C

Preview Lab

Preview with #401350

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

Preview Lab → · Contrast checker → · Palette generator →

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