#3A2136#3A2136

#3A2136 is a dark, muted purple. Relative luminance 0.023; OKLCH L 28.9% C 0.051 H 332.8°. Best body text is #FFFFFF at 14.47:1 contrast (WCAG AA passes).

Color values

HEX#3A2136
RGBrgb(58, 33, 54)
HSLhsl(310, 27%, 18%)
HSVhsv(310, 43%, 23%)
CMYKcmyk(0%, 43.1%, 6.9%, 77.3%)
CIE-LABlab(16.77, 15.98, -8.69)
CIE-LCHlch(16.77, 18.19, 331.48°)
OKLaboklab(28.89% 0.0455 -0.0234)
OKLCHoklch(28.89% 0.051 332.8)
XYZxyz(2.9546, 2.2537, 3.7687)
Luminance0.0225 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A2136 #213A25
analogous
#31213A #3A2136 #3A2129
triadic
#3A2136 #363A21 #21363A
tetradic
#3A2136 #3A3121 #213A25 #21293A
square
#3A2136 #3A3121 #213A25 #21293A
split-complementary
#3A2136 #293A21 #213A31
monochromatic
#140B12 #140B12 #3A2136 #61375A #884D7F

Accessibility & contrast

On white

14.47
#3A2136 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#3A2136 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A2136
14.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A2136#FFFFFF#000000##FFFFFF
##3A21361.0014.471.4514.47
#FFFFFF14.471.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#212737
Deuteranopia (green-blind)
#272B35
Tritanopia (blue-blind)
#3C2229
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #3a2136;
/* rgb */ color: rgb(58, 33, 54);
/* oklch */ color: oklch(28.9% 0.051 332.8);
Tailwind
colors: {
  custom: {
    50: '#715d6d',
    500: '#3a2136',
    950: '#000000',
  },
}
SCSS
$custom: #3a2136;
$custom-light: #715d6d;
$custom-dark: #000000;
JSON
{
  "hex": "#3a2136",
  "rgb": {
    "r": 58,
    "g": 33,
    "b": 54
  },
  "hsl": {
    "h": 309.6,
    "s": 27.473,
    "l": 17.843
  },
  "oklch": {
    "l": 0.28885,
    "c": 0.05117,
    "h": 332.8
  },
  "luminance": 0.02254
}

Semantic roles & 50–950 ramp

primary
#3A2136
secondary
#4A6D4F
accent
#C47364
background
#F6F5F6
surface
#ECE9EB
border
#C7C5C6
text
#070407
muted
#7A797A

Preview Lab

Preview with #3A2136

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

Preview Lab → · Contrast checker → · Palette generator →

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