#401550#401550

#401550 is a dark, moderate purple. Relative luminance 0.022; OKLCH L 29.4% C 0.108 H 315.4°. Best body text is #FFFFFF at 14.57:1 contrast (WCAG AA passes).

Color values

HEX#401550
RGBrgb(64, 21, 80)
HSLhsl(284, 58%, 20%)
HSVhsv(284, 74%, 31%)
CMYKcmyk(20%, 73.7%, 0%, 68.6%)
CIE-LABlab(16.53, 31.20, -27.02)
CIE-LCHlch(16.53, 41.27, 319.11°)
OKLaboklab(29.41% 0.0771 -0.0759)
OKLCHoklch(29.41% 0.108 315.4)
XYZxyz(3.8303, 2.2056, 7.8118)
Luminance0.0221 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401550 #255015
analogous
#231550 #401550 #501543
triadic
#401550 #504015 #155040
tetradic
#401550 #502315 #255015 #154350
square
#401550 #502315 #255015 #154350
split-complementary
#401550 #435015 #155023
monochromatic
#130618 #190820 #401550 #672280 #8E2EB1

Accessibility & contrast

On white

14.57
#401550 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#401550 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #401550
14.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401550#FFFFFF#000000##FFFFFF
##4015501.0014.571.4414.57
#FFFFFF14.571.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.571.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #401550;
/* rgb */ color: rgb(64, 21, 80);
/* oklch */ color: oklch(29.4% 0.108 315.4);
Tailwind
colors: {
  custom: {
    50: '#775681',
    500: '#401550',
    950: '#000000',
  },
}
SCSS
$custom: #401550;
$custom-light: #775681;
$custom-dark: #000000;
JSON
{
  "hex": "#401550",
  "rgb": {
    "r": 64,
    "g": 21,
    "b": 80
  },
  "hsl": {
    "h": 283.729,
    "s": 58.416,
    "l": 19.804
  },
  "oklch": {
    "l": 0.29406,
    "c": 0.10823,
    "h": 315.4
  },
  "luminance": 0.02206
}

Semantic roles & 50–950 ramp

primary
#401550
secondary
#4E8839
accent
#E24670
background
#F7F5F7
surface
#EDE9EE
border
#C8C5C9
text
#09030A
muted
#7B787C

Preview Lab

Preview with #401550

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

Preview Lab → · Contrast checker → · Palette generator →

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