#3A2139#3A2139

#3A2139 is a dark, muted purple. Relative luminance 0.023; OKLCH L 29.0% C 0.055 H 328.3°. Best body text is #FFFFFF at 14.42:1 contrast (WCAG AA passes).

Color values

HEX#3A2139
RGBrgb(58, 33, 57)
HSLhsl(302, 27%, 18%)
HSVhsv(302, 43%, 23%)
CMYKcmyk(0%, 43.1%, 1.7%, 77.3%)
CIE-LABlab(16.91, 16.65, -10.58)
CIE-LCHlch(16.91, 19.73, 327.57°)
OKLaboklab(29.04% 0.0465 -0.0287)
OKLCHoklch(29.04% 0.055 328.3)
XYZxyz(3.0272, 2.2828, 4.1513)
Luminance0.0228 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A2139 #213A22
analogous
#2E213A #3A2139 #3A212C
triadic
#3A2139 #393A21 #21393A
tetradic
#3A2139 #3A2E21 #213A22 #212C3A
square
#3A2139 #3A2E21 #213A22 #212C3A
split-complementary
#3A2139 #2C3A21 #213A2E
monochromatic
#140B13 #140B13 #3A2139 #61375F #884D86

Accessibility & contrast

On white

14.42
#3A2139 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#3A2139 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A2139
14.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A2139#FFFFFF#000000##FFFFFF
##3A21391.0014.421.4614.42
#FFFFFF14.421.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F283A
Deuteranopia (green-blind)
#262B38
Tritanopia (blue-blind)
#3C232A
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #3a2139;
/* rgb */ color: rgb(58, 33, 57);
/* oklch */ color: oklch(29.0% 0.055 328.3);
Tailwind
colors: {
  custom: {
    50: '#715d6f',
    500: '#3a2139',
    950: '#000000',
  },
}
SCSS
$custom: #3a2139;
$custom-light: #715d6f;
$custom-dark: #000000;
JSON
{
  "hex": "#3a2139",
  "rgb": {
    "r": 58,
    "g": 33,
    "b": 57
  },
  "hsl": {
    "h": 302.4,
    "s": 27.473,
    "l": 17.843
  },
  "oklch": {
    "l": 0.29036,
    "c": 0.05463,
    "h": 328.3
  },
  "luminance": 0.02283
}

Semantic roles & 50–950 ramp

primary
#3A2139
secondary
#4A6D4B
accent
#C46864
background
#F6F5F6
surface
#ECE9EC
border
#C7C5C7
text
#070407
muted
#7A797A

Preview Lab

Preview with #3A2139

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

Preview Lab → · Contrast checker → · Palette generator →

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