#401345#401345

#401345 is a dark, moderate purple. Relative luminance 0.020; OKLCH L 28.4% C 0.099 H 323.6°. Best body text is #FFFFFF at 15.03:1 contrast (WCAG AA passes).

Color values

HEX#401345
RGBrgb(64, 19, 69)
HSLhsl(294, 57%, 17%)
HSVhsv(294, 72%, 27%)
CMYKcmyk(7.2%, 72.5%, 0%, 72.9%)
CIE-LABlab(15.41, 29.70, -21.23)
CIE-LCHlch(15.41, 36.51, 324.43°)
OKLaboklab(28.36% 0.08 -0.059)
OKLCHoklch(28.36% 0.099 323.6)
XYZxyz(3.4213, 1.9856, 5.8321)
Luminance0.0198 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401345 #184513
analogous
#271345 #401345 #451331
triadic
#401345 #454013 #134540
tetradic
#401345 #452713 #184513 #133145
square
#401345 #452713 #184513 #133145
split-complementary
#401345 #314513 #134527
monochromatic
#160718 #160718 #401345 #6D2075 #992DA5

Accessibility & contrast

On white

15.03
#401345 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#401345 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #401345
15.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401345#FFFFFF#000000##FFFFFF
##4013451.0015.031.4015.03
#FFFFFF15.031.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#082346
Deuteranopia (green-blind)
#1B2844
Tritanopia (blue-blind)
#411B2A
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #401345;
/* rgb */ color: rgb(64, 19, 69);
/* oklch */ color: oklch(28.4% 0.099 323.6);
Tailwind
colors: {
  custom: {
    50: '#775579',
    500: '#401345',
    950: '#000000',
  },
}
SCSS
$custom: #401345;
$custom-light: #775579;
$custom-dark: #000000;
JSON
{
  "hex": "#401345",
  "rgb": {
    "r": 64,
    "g": 19,
    "b": 69
  },
  "hsl": {
    "h": 294,
    "s": 56.818,
    "l": 17.255
  },
  "oklch": {
    "l": 0.28355,
    "c": 0.09945,
    "h": 323.6
  },
  "luminance": 0.01985
}

Semantic roles & 50–950 ramp

primary
#401345
secondary
#3D7E36
accent
#E04857
background
#F7F5F7
surface
#EDE9ED
border
#C8C5C8
text
#090309
muted
#7B787B

Preview Lab

Preview with #401345

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

Preview Lab → · Contrast checker → · Palette generator →

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