#3A2E40#3A2E40

#3A2E40 is a dark, muted purple. Relative luminance 0.032; OKLCH L 32.2% C 0.035 H 314.3°. Best body text is #FFFFFF at 12.77:1 contrast (WCAG AA passes).

Color values

HEX#3A2E40
RGBrgb(58, 46, 64)
HSLhsl(280, 16%, 22%)
HSVhsv(280, 28%, 25%)
CMYKcmyk(9.4%, 28.1%, 0%, 74.9%)
CIE-LABlab(20.92, 9.52, -9.28)
CIE-LCHlch(20.92, 13.29, 315.72°)
OKLaboklab(32.2% 0.0246 -0.0252)
OKLCHoklch(32.2% 0.035 314.3)
XYZxyz(3.6472, 3.2237, 5.2796)
Luminance0.0322 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A2E40 #34402E
analogous
#312E40 #3A2E40 #402E3D
triadic
#3A2E40 #403A2E #2E403A
tetradic
#3A2E40 #40312E #34402E #2E3D40
square
#3A2E40 #40312E #34402E #2E3D40
split-complementary
#3A2E40 #3D402E #2E4031
monochromatic
#100D12 #1A141C #3A2E40 #5A4864 #7B6187

Accessibility & contrast

On white

12.77
#3A2E40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#3A2E40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A2E40
12.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A2E40#FFFFFF#000000##FFFFFF
##3A2E401.0012.771.6412.77
#FFFFFF12.771.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C3241
Deuteranopia (green-blind)
#2E333F
Tritanopia (blue-blind)
#3A3034
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #3a2e40;
/* rgb */ color: rgb(58, 46, 64);
/* oklch */ color: oklch(32.2% 0.035 314.3);
Tailwind
colors: {
  custom: {
    50: '#706674',
    500: '#3a2e40',
    950: '#000000',
  },
}
SCSS
$custom: #3a2e40;
$custom-light: #706674;
$custom-dark: #000000;
JSON
{
  "hex": "#3a2e40",
  "rgb": {
    "r": 58,
    "g": 46,
    "b": 64
  },
  "hsl": {
    "h": 280,
    "s": 16.364,
    "l": 21.569
  },
  "oklch": {
    "l": 0.32196,
    "c": 0.03521,
    "h": 314.3
  },
  "luminance": 0.03224
}

Semantic roles & 50–950 ramp

primary
#3A2E40
secondary
#617059
accent
#B96F88
background
#F6F6F7
surface
#ECEBED
border
#C7C6C8
text
#070608
muted
#7A7A7B

Preview Lab

Preview with #3A2E40

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

Preview Lab → · Contrast checker → · Palette generator →

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