#401348#401348

#401348 is a dark, moderate purple. Relative luminance 0.020; OKLCH L 28.6% C 0.103 H 321.3°. Best body text is #FFFFFF at 14.95:1 contrast (WCAG AA passes).

Color values

HEX#401348
RGBrgb(64, 19, 72)
HSLhsl(291, 58%, 18%)
HSVhsv(291, 74%, 28%)
CMYKcmyk(11.1%, 73.6%, 0%, 71.8%)
CIE-LABlab(15.61, 30.35, -23.00)
CIE-LCHlch(15.61, 38.08, 322.85°)
OKLaboklab(28.56% 0.0801 -0.0642)
OKLCHoklch(28.56% 0.103 321.3)
XYZxyz(3.5168, 2.0238, 6.3350)
Luminance0.0202 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401348 #1B4813
analogous
#251348 #401348 #481335
triadic
#401348 #484013 #134840
tetradic
#401348 #482513 #1B4813 #133548
square
#401348 #482513 #1B4813 #133548
split-complementary
#401348 #354813 #134825
monochromatic
#160618 #160618 #401348 #6B2078 #962DA9

Accessibility & contrast

On white

14.95
#401348 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #401348
14.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401348#FFFFFF#000000##FFFFFF
##4013481.0014.951.4014.95
#FFFFFF14.951.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#05244A
Deuteranopia (green-blind)
#192947
Tritanopia (blue-blind)
#411C2B
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #401348;
/* rgb */ color: rgb(64, 19, 72);
/* oklch */ color: oklch(28.6% 0.103 321.3);
Tailwind
colors: {
  custom: {
    50: '#77557b',
    500: '#401348',
    950: '#000000',
  },
}
SCSS
$custom: #401348;
$custom-light: #77557b;
$custom-dark: #000000;
JSON
{
  "hex": "#401348",
  "rgb": {
    "r": 64,
    "g": 19,
    "b": 72
  },
  "hsl": {
    "h": 290.943,
    "s": 58.242,
    "l": 17.843
  },
  "oklch": {
    "l": 0.28564,
    "c": 0.1026,
    "h": 321.3
  },
  "luminance": 0.02024
}

Semantic roles & 50–950 ramp

primary
#401348
secondary
#418136
accent
#E1465E
background
#F7F5F7
surface
#EDE9EE
border
#C8C5C9
text
#090309
muted
#7B787B

Preview Lab

Preview with #401348

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

Preview Lab → · Contrast checker → · Palette generator →

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