#412B40#412B40

#412B40 is a dark, muted purple. Relative luminance 0.032; OKLCH L 32.4% C 0.047 H 328.1°. Best body text is #FFFFFF at 12.77:1 contrast (WCAG AA passes).

Color values

HEX#412B40
RGBrgb(65, 43, 64)
HSLhsl(303, 20%, 21%)
HSVhsv(303, 34%, 25%)
CMYKcmyk(0%, 33.8%, 1.5%, 74.5%)
CIE-LABlab(20.91, 14.37, -9.21)
CIE-LCHlch(20.91, 17.07, 327.34°)
OKLaboklab(32.39% 0.04 -0.0249)
OKLCHoklch(32.39% 0.047 328.1)
XYZxyz(3.9692, 3.2219, 5.2623)
Luminance0.0322 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412B40 #2B412C
analogous
#372B41 #412B40 #412B35
triadic
#412B40 #40412B #2B4041
tetradic
#412B40 #41372B #2B412C #2B3541
square
#412B40 #41372B #2B412C #2B3541
split-complementary
#412B40 #35412B #2B4137
monochromatic
#120C12 #1C131C #412B40 #664364 #8B5C89

Accessibility & contrast

On white

12.77
#412B40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#412B40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412B40
12.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412B40#FFFFFF#000000##FFFFFF
##412B401.0012.771.6412.77
#FFFFFF12.771.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A3141
Deuteranopia (green-blind)
#2F333F
Tritanopia (blue-blind)
#432D33
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #412b40;
/* rgb */ color: rgb(65, 43, 64);
/* oklch */ color: oklch(32.4% 0.047 328.1);
Tailwind
colors: {
  custom: {
    50: '#766474',
    500: '#412b40',
    950: '#000000',
  },
}
SCSS
$custom: #412b40;
$custom-light: #766474;
$custom-dark: #000000;
JSON
{
  "hex": "#412b40",
  "rgb": {
    "r": 65,
    "g": 43,
    "b": 64
  },
  "hsl": {
    "h": 302.727,
    "s": 20.37,
    "l": 21.176
  },
  "oklch": {
    "l": 0.32388,
    "c": 0.04712,
    "h": 328.1
  },
  "luminance": 0.03222
}

Semantic roles & 50–950 ramp

primary
#412B40
secondary
#567257
accent
#BD6F6B
background
#F7F6F7
surface
#EDEBED
border
#C8C6C8
text
#080508
muted
#7B7A7B

Preview Lab

Preview with #412B40

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

Preview Lab → · Contrast checker → · Palette generator →

#412B40 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva