#401450#401450

#401450 is a dark, moderate purple. Relative luminance 0.022; OKLCH L 29.3% C 0.110 H 315.6°. Best body text is #FFFFFF at 14.65:1 contrast (WCAG AA passes).

Color values

HEX#401450
RGBrgb(64, 20, 80)
HSLhsl(284, 60%, 20%)
HSVhsv(284, 75%, 31%)
CMYKcmyk(20%, 75%, 0%, 68.6%)
CIE-LABlab(16.35, 31.70, -27.30)
CIE-LCHlch(16.35, 41.84, 319.26°)
OKLaboklab(29.28% 0.0784 -0.0768)
OKLCHoklch(29.28% 0.11 315.6)
XYZxyz(3.8122, 2.1696, 7.8058)
Luminance0.0217 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401450 #245014
analogous
#221450 #401450 #501442
triadic
#401450 #504014 #145040
tetradic
#401450 #502214 #245014 #144250
square
#401450 #502214 #245014 #144250
split-complementary
#401450 #425014 #145022
monochromatic
#140618 #19081F #401450 #672081 #8E2CB2

Accessibility & contrast

On white

14.65
#401450 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #401450
14.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401450#FFFFFF#000000##FFFFFF
##4014501.0014.651.4314.65
#FFFFFF14.651.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002652
Deuteranopia (green-blind)
#132A4F
Tritanopia (blue-blind)
#3F2030
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #401450;
/* rgb */ color: rgb(64, 20, 80);
/* oklch */ color: oklch(29.3% 0.110 315.6);
Tailwind
colors: {
  custom: {
    50: '#775681',
    500: '#401450',
    950: '#000000',
  },
}
SCSS
$custom: #401450;
$custom-light: #775681;
$custom-dark: #000000;
JSON
{
  "hex": "#401450",
  "rgb": {
    "r": 64,
    "g": 20,
    "b": 80
  },
  "hsl": {
    "h": 284,
    "s": 60,
    "l": 19.608
  },
  "oklch": {
    "l": 0.29278,
    "c": 0.10972,
    "h": 315.6
  },
  "luminance": 0.02169
}

Semantic roles & 50–950 ramp

primary
#401450
secondary
#4D8838
accent
#E3456F
background
#F7F5F7
surface
#EDE9EE
border
#C8C5C9
text
#09030A
muted
#7B787C

Preview Lab

Preview with #401450

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

Preview Lab → · Contrast checker → · Palette generator →

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