#401043#401043

#401043 is a dark, moderate purple. Relative luminance 0.019; OKLCH L 27.8% C 0.102 H 325.4°. Best body text is #FFFFFF at 15.29:1 contrast (WCAG AA passes).

Color values

HEX#401043
RGBrgb(64, 16, 67)
HSLhsl(296, 61%, 16%)
HSVhsv(296, 76%, 26%)
CMYKcmyk(4.5%, 76.1%, 0%, 73.7%)
CIE-LABlab(14.77, 30.70, -20.86)
CIE-LCHlch(14.77, 37.12, 325.81°)
OKLaboklab(27.85% 0.084 -0.0579)
OKLCHoklch(27.85% 0.102 325.4)
XYZxyz(3.3127, 1.8660, 5.4948)
Luminance0.0187 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401043 #134310
analogous
#271043 #401043 #43102D
triadic
#401043 #434010 #104340
tetradic
#401043 #432710 #134310 #102D43
square
#401043 #432710 #134310 #102D43
split-complementary
#401043 #2D4310 #104327
monochromatic
#180619 #180619 #401043 #6F1C74 #9E28A6

Accessibility & contrast

On white

15.29
#401043 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#401043 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #401043
15.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401043#FFFFFF#000000##FFFFFF
##4010431.0015.291.3715.29
#FFFFFF15.291.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#062144
Deuteranopia (green-blind)
#1A2742
Tritanopia (blue-blind)
#421828
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #401043;
/* rgb */ color: rgb(64, 16, 67);
/* oklch */ color: oklch(27.8% 0.102 325.4);
Tailwind
colors: {
  custom: {
    50: '#775377',
    500: '#401043',
    950: '#000000',
  },
}
SCSS
$custom: #401043;
$custom-light: #775377;
$custom-dark: #000000;
JSON
{
  "hex": "#401043",
  "rgb": {
    "r": 64,
    "g": 16,
    "b": 67
  },
  "hsl": {
    "h": 296.471,
    "s": 61.446,
    "l": 16.275
  },
  "oklch": {
    "l": 0.27849,
    "c": 0.102,
    "h": 325.4
  },
  "luminance": 0.01866
}

Semantic roles & 50–950 ramp

primary
#401043
secondary
#367D32
accent
#E5434D
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#090308
muted
#7B787B

Preview Lab

Preview with #401043

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

Preview Lab → · Contrast checker → · Palette generator →

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