#3A2C46#3A2C46

#3A2C46 is a dark, muted violet. Relative luminance 0.031; OKLCH L 32.0% C 0.049 H 308.5°. Best body text is #FFFFFF at 12.89:1 contrast (WCAG AA passes).

Color values

HEX#3A2C46
RGBrgb(58, 44, 70)
HSLhsl(272, 23%, 22%)
HSVhsv(272, 37%, 27%)
CMYKcmyk(17.1%, 37.1%, 0%, 72.5%)
CIE-LABlab(20.61, 12.44, -13.84)
CIE-LCHlch(20.61, 18.60, 311.95°)
OKLaboklab(32.05% 0.0303 -0.0381)
OKLCHoklch(32.05% 0.049 308.5)
XYZxyz(3.7509, 3.1431, 6.2022)
Luminance0.0314 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A2C46 #38462C
analogous
#2D2C46 #3A2C46 #462C45
triadic
#3A2C46 #463A2C #2C463A
tetradic
#3A2C46 #462D2C #38462C #2C4546
square
#3A2C46 #462D2C #38462C #2C4546
split-complementary
#3A2C46 #45462C #2C462D
monochromatic
#100C13 #1B1420 #3A2C46 #59446C #785B91

Accessibility & contrast

On white

12.89
#3A2C46 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A2C46
12.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A2C46#FFFFFF#000000##FFFFFF
##3A2C461.0012.891.6312.89
#FFFFFF12.891.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#273147
Deuteranopia (green-blind)
#2A3245
Tritanopia (blue-blind)
#393035
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #3a2c46;
/* rgb */ color: rgb(58, 44, 70);
/* oklch */ color: oklch(32.0% 0.049 308.5);
Tailwind
colors: {
  custom: {
    50: '#706579',
    500: '#3a2c46',
    950: '#000000',
  },
}
SCSS
$custom: #3a2c46;
$custom-light: #706579;
$custom-dark: #000000;
JSON
{
  "hex": "#3a2c46",
  "rgb": {
    "r": 58,
    "g": 44,
    "b": 70
  },
  "hsl": {
    "h": 272.308,
    "s": 22.807,
    "l": 22.353
  },
  "oklch": {
    "l": 0.3205,
    "c": 0.04863,
    "h": 308.5
  },
  "luminance": 0.03143
}

Semantic roles & 50–950 ramp

primary
#3A2C46
secondary
#667756
accent
#BF6891
background
#F6F6F7
surface
#ECEBED
border
#C7C6C8
text
#070509
muted
#7A7A7B

Preview Lab

Preview with #3A2C46

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

Preview Lab → · Contrast checker → · Palette generator →

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