#3A1141#3A1141

#3A1141 is a dark, moderate purple. Relative luminance 0.017; OKLCH L 26.8% C 0.095 H 321.5°. Best body text is #FFFFFF at 15.71:1 contrast (WCAG AA passes).

Color values

HEX#3A1141
RGBrgb(58, 17, 65)
HSLhsl(291, 59%, 16%)
HSVhsv(291, 74%, 25%)
CMYKcmyk(10.8%, 73.8%, 0%, 74.5%)
CIE-LABlab(13.72, 28.11, -21.19)
CIE-LCHlch(13.72, 35.20, 323.00°)
OKLaboklab(26.84% 0.0744 -0.0591)
OKLCHoklch(26.84% 0.095 321.5)
XYZxyz(2.8994, 1.6822, 5.1720)
Luminance0.0168 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A1141 #184111
analogous
#221141 #3A1141 #411130
triadic
#3A1141 #413A11 #11413A
tetradic
#3A1141 #412211 #184111 #113041
square
#3A1141 #412211 #184111 #113041
split-complementary
#3A1141 #304111 #114122
monochromatic
#160618 #160618 #3A1141 #651E72 #912AA2

Accessibility & contrast

On white

15.71
#3A1141 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#3A1141 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A1141
15.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A1141#FFFFFF#000000##FFFFFF
##3A11411.0015.711.3415.71
#FFFFFF15.711.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#052042
Deuteranopia (green-blind)
#172540
Tritanopia (blue-blind)
#3B1927
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #3a1141;
/* rgb */ color: rgb(58, 17, 65);
/* oklch */ color: oklch(26.8% 0.095 321.5);
Tailwind
colors: {
  custom: {
    50: '#725376',
    500: '#3a1141',
    950: '#000000',
  },
}
SCSS
$custom: #3a1141;
$custom-light: #725376;
$custom-dark: #000000;
JSON
{
  "hex": "#3a1141",
  "rgb": {
    "r": 58,
    "g": 17,
    "b": 65
  },
  "hsl": {
    "h": 291.25,
    "s": 58.537,
    "l": 16.078
  },
  "oklch": {
    "l": 0.26836,
    "c": 0.09497,
    "h": 321.5
  },
  "luminance": 0.01682
}

Semantic roles & 50–950 ramp

primary
#3A1141
secondary
#3E7B33
accent
#E2465D
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#080208
muted
#7B787B

Preview Lab

Preview with #3A1141

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

Preview Lab → · Contrast checker → · Palette generator →

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