#3A2A40#3A2A40

#3A2A40 is a dark, muted purple. Relative luminance 0.029; OKLCH L 31.3% C 0.044 H 316.6°. Best body text is #FFFFFF at 13.25:1 contrast (WCAG AA passes).

Color values

HEX#3A2A40
RGBrgb(58, 42, 64)
HSLhsl(284, 21%, 21%)
HSVhsv(284, 34%, 25%)
CMYKcmyk(9.4%, 34.4%, 0%, 74.9%)
CIE-LABlab(19.74, 12.25, -11.07)
CIE-LCHlch(19.74, 16.51, 317.89°)
OKLaboklab(31.3% 0.032 -0.0302)
OKLCHoklch(31.3% 0.044 316.6)
XYZxyz(3.4982, 2.9257, 5.2299)
Luminance0.0293 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A2A40 #30402A
analogous
#2F2A40 #3A2A40 #402A3B
triadic
#3A2A40 #403A2A #2A403A
tetradic
#3A2A40 #402F2A #30402A #2A3B40
square
#3A2A40 #402F2A #30402A #2A3B40
split-complementary
#3A2A40 #3B402A #2A402F
monochromatic
#110C12 #19121B #3A2A40 #5B4265 #7D5A8A

Accessibility & contrast

On white

13.25
#3A2A40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#3A2A40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A2A40
13.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A2A40#FFFFFF#000000##FFFFFF
##3A2A401.0013.251.5913.25
#FFFFFF13.251.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#272F41
Deuteranopia (green-blind)
#2B303F
Tritanopia (blue-blind)
#3A2D32
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #3a2a40;
/* rgb */ color: rgb(58, 42, 64);
/* oklch */ color: oklch(31.3% 0.044 316.6);
Tailwind
colors: {
  custom: {
    50: '#706374',
    500: '#3a2a40',
    950: '#000000',
  },
}
SCSS
$custom: #3a2a40;
$custom-light: #706374;
$custom-dark: #000000;
JSON
{
  "hex": "#3a2a40",
  "rgb": {
    "r": 58,
    "g": 42,
    "b": 64
  },
  "hsl": {
    "h": 283.636,
    "s": 20.755,
    "l": 20.784
  },
  "oklch": {
    "l": 0.31297,
    "c": 0.04399,
    "h": 316.6
  },
  "luminance": 0.02926
}

Semantic roles & 50–950 ramp

primary
#3A2A40
secondary
#5C7155
accent
#BD6A81
background
#F6F5F7
surface
#ECEAED
border
#C7C6C8
text
#070508
muted
#7A797B

Preview Lab

Preview with #3A2A40

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

Preview Lab → · Contrast checker → · Palette generator →

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