#3A2A44#3A2A44

#3A2A44 is a dark, muted violet. Relative luminance 0.030; OKLCH L 31.5% C 0.050 H 311.8°. Best body text is #FFFFFF at 13.17:1 contrast (WCAG AA passes).

Color values

HEX#3A2A44
RGBrgb(58, 42, 68)
HSLhsl(277, 24%, 22%)
HSVhsv(277, 38%, 27%)
CMYKcmyk(14.7%, 38.2%, 0%, 73.3%)
CIE-LABlab(19.93, 13.27, -13.52)
CIE-LCHlch(19.93, 18.94, 314.48°)
OKLaboklab(31.51% 0.0332 -0.0371)
OKLCHoklch(31.51% 0.05 311.8)
XYZxyz(3.6161, 2.9729, 5.8510)
Luminance0.0297 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A2A44 #34442A
analogous
#2D2A44 #3A2A44 #442A41
triadic
#3A2A44 #443A2A #2A443A
tetradic
#3A2A44 #442D2A #34442A #2A4144
square
#3A2A44 #442D2A #34442A #2A4144
split-complementary
#3A2A44 #41442A #2A442D
monochromatic
#100C13 #1A131E #3A2A44 #5A416A #7B5990

Accessibility & contrast

On white

13.17
#3A2A44 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A2A44
13.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A2A44#FFFFFF#000000##FFFFFF
##3A2A441.0013.171.5913.17
#FFFFFF13.171.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#262F45
Deuteranopia (green-blind)
#293143
Tritanopia (blue-blind)
#392D34
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #3a2a44;
/* rgb */ color: rgb(58, 42, 68);
/* oklch */ color: oklch(31.5% 0.050 311.8);
Tailwind
colors: {
  custom: {
    50: '#706378',
    500: '#3a2a44',
    950: '#000000',
  },
}
SCSS
$custom: #3a2a44;
$custom-light: #706378;
$custom-dark: #000000;
JSON
{
  "hex": "#3a2a44",
  "rgb": {
    "r": 58,
    "g": 42,
    "b": 68
  },
  "hsl": {
    "h": 276.923,
    "s": 23.636,
    "l": 21.569
  },
  "oklch": {
    "l": 0.31505,
    "c": 0.04984,
    "h": 311.8
  },
  "luminance": 0.02973
}

Semantic roles & 50–950 ramp

primary
#3A2A44
secondary
#617654
accent
#C0688A
background
#F6F5F7
surface
#ECEAED
border
#C7C6C8
text
#070508
muted
#7A797B

Preview Lab

Preview with #3A2A44

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

Preview Lab → · Contrast checker → · Palette generator →

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