#3A2C48#3A2C48

#3A2C48 is a dark, muted violet. Relative luminance 0.032; OKLCH L 32.2% C 0.052 H 306.6°. Best body text is #FFFFFF at 12.85:1 contrast (WCAG AA passes).

Color values

HEX#3A2C48
RGBrgb(58, 44, 72)
HSLhsl(270, 24%, 23%)
HSVhsv(270, 39%, 28%)
CMYKcmyk(19.4%, 38.9%, 0%, 71.8%)
CIE-LABlab(20.71, 12.97, -15.04)
CIE-LCHlch(20.71, 19.86, 310.78°)
OKLaboklab(32.16% 0.0309 -0.0415)
OKLCHoklch(32.16% 0.052 306.6)
XYZxyz(3.8151, 3.1688, 6.5403)
Luminance0.0317 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A2C48 #3A482C
analogous
#2C2C48 #3A2C48 #482C48
triadic
#3A2C48 #483A2C #2C483A
tetradic
#3A2C48 #482C2C #3A482C #2C4848
square
#3A2C48 #482C2C #3A482C #2C4848
split-complementary
#3A2C48 #48482C #2C482C
monochromatic
#0F0C13 #1B1522 #3A2C48 #59436E #775A94

Accessibility & contrast

On white

12.85
#3A2C48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#3A2C48 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A2C48
12.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A2C48#FFFFFF#000000##FFFFFF
##3A2C481.0012.851.6312.85
#FFFFFF12.851.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#263149
Deuteranopia (green-blind)
#293247
Tritanopia (blue-blind)
#383036
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #3a2c48;
/* rgb */ color: rgb(58, 44, 72);
/* oklch */ color: oklch(32.2% 0.052 306.6);
Tailwind
colors: {
  custom: {
    50: '#70657b',
    500: '#3a2c48',
    950: '#000000',
  },
}
SCSS
$custom: #3a2c48;
$custom-light: #70657b;
$custom-dark: #000000;
JSON
{
  "hex": "#3a2c48",
  "rgb": {
    "r": 58,
    "g": 44,
    "b": 72
  },
  "hsl": {
    "h": 270,
    "s": 24.138,
    "l": 22.745
  },
  "oklch": {
    "l": 0.32159,
    "c": 0.05172,
    "h": 306.6
  },
  "luminance": 0.03169
}

Semantic roles & 50–950 ramp

primary
#3A2C48
secondary
#687956
accent
#C16794
background
#F6F6F7
surface
#ECEBED
border
#C7C6C8
text
#070509
muted
#7A7A7B

Preview Lab

Preview with #3A2C48

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

Preview Lab → · Contrast checker → · Palette generator →

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