#3A1041#3A1041

#3A1041 is a dark, moderate purple. Relative luminance 0.017; OKLCH L 26.7% C 0.097 H 321.6°. Best body text is #FFFFFF at 15.78:1 contrast (WCAG AA passes).

Color values

HEX#3A1041
RGBrgb(58, 16, 65)
HSLhsl(291, 60%, 16%)
HSVhsv(291, 75%, 25%)
CMYKcmyk(10.8%, 75.4%, 0%, 74.5%)
CIE-LABlab(13.54, 28.61, -21.47)
CIE-LCHlch(13.54, 35.78, 323.12°)
OKLaboklab(26.71% 0.0757 -0.0599)
OKLCHoklch(26.71% 0.097 321.6)
XYZxyz(2.8842, 1.6519, 5.1669)
Luminance0.0165 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A1041 #174110
analogous
#211041 #3A1041 #41102F
triadic
#3A1041 #413A10 #10413A
tetradic
#3A1041 #412110 #174110 #102F41
square
#3A1041 #412110 #174110 #102F41
split-complementary
#3A1041 #2F4110 #104121
monochromatic
#160619 #160619 #3A1041 #661C72 #9228A3

Accessibility & contrast

On white

15.78
#3A1041 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#3A1041 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A1041
15.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A1041#FFFFFF#000000##FFFFFF
##3A10411.0015.781.3315.78
#FFFFFF15.781.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#042042
Deuteranopia (green-blind)
#162440
Tritanopia (blue-blind)
#3B1827
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #3a1041;
/* rgb */ color: rgb(58, 16, 65);
/* oklch */ color: oklch(26.7% 0.097 321.6);
Tailwind
colors: {
  custom: {
    50: '#725276',
    500: '#3a1041',
    950: '#000000',
  },
}
SCSS
$custom: #3a1041;
$custom-light: #725276;
$custom-dark: #000000;
JSON
{
  "hex": "#3a1041",
  "rgb": {
    "r": 58,
    "g": 16,
    "b": 65
  },
  "hsl": {
    "h": 291.429,
    "s": 60.494,
    "l": 15.882
  },
  "oklch": {
    "l": 0.26706,
    "c": 0.09654,
    "h": 321.6
  },
  "luminance": 0.01652
}

Semantic roles & 50–950 ramp

primary
#3A1041
secondary
#3C7B32
accent
#E4445B
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#080208
muted
#7B787B

Preview Lab

Preview with #3A1041

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

Preview Lab → · Contrast checker → · Palette generator →

#3A1041 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva