#3A1341#3A1341

#3A1341 is a dark, moderate purple. Relative luminance 0.017; OKLCH L 27.1% C 0.092 H 321.3°. Best body text is #FFFFFF at 15.56:1 contrast (WCAG AA passes).

Color values

HEX#3A1341
RGBrgb(58, 19, 65)
HSLhsl(291, 55%, 16%)
HSVhsv(291, 71%, 25%)
CMYKcmyk(10.8%, 70.8%, 0%, 74.5%)
CIE-LABlab(14.10, 27.07, -20.59)
CIE-LCHlch(14.10, 34.01, 322.75°)
OKLaboklab(27.11% 0.0715 -0.0573)
OKLCHoklch(27.11% 0.092 321.3)
XYZxyz(2.9318, 1.7471, 5.1828)
Luminance0.0175 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A1341 #1A4113
analogous
#231341 #3A1341 #411331
triadic
#3A1341 #413A13 #13413A
tetradic
#3A1341 #412313 #1A4113 #133141
square
#3A1341 #412313 #1A4113 #133141
split-complementary
#3A1341 #314113 #134123
monochromatic
#150718 #150718 #3A1341 #642170 #8F2FA0

Accessibility & contrast

On white

15.56
#3A1341 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#3A1341 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A1341
15.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A1341#FFFFFF#000000##FFFFFF
##3A13411.0015.561.3515.56
#FFFFFF15.561.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#082142
Deuteranopia (green-blind)
#182540
Tritanopia (blue-blind)
#3B1A28
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #3a1341;
/* rgb */ color: rgb(58, 19, 65);
/* oklch */ color: oklch(27.1% 0.092 321.3);
Tailwind
colors: {
  custom: {
    50: '#725476',
    500: '#3a1341',
    950: '#000000',
  },
}
SCSS
$custom: #3a1341;
$custom-light: #725476;
$custom-dark: #000000;
JSON
{
  "hex": "#3a1341",
  "rgb": {
    "r": 58,
    "g": 19,
    "b": 65
  },
  "hsl": {
    "h": 290.87,
    "s": 54.762,
    "l": 16.471
  },
  "oklch": {
    "l": 0.27108,
    "c": 0.09168,
    "h": 321.3
  },
  "luminance": 0.01747
}

Semantic roles & 50–950 ramp

primary
#3A1341
secondary
#407A36
accent
#DE4A60
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#080308
muted
#7B787B

Preview Lab

Preview with #3A1341

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

Preview Lab → · Contrast checker → · Palette generator →

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