#3A223E#3A223E

#3A223E is a dark, muted purple. Relative luminance 0.024; OKLCH L 29.5% C 0.059 H 321.7°. Best body text is #FFFFFF at 14.21:1 contrast (WCAG AA passes).

Color values

HEX#3A223E
RGBrgb(58, 34, 62)
HSLhsl(291, 29%, 19%)
HSVhsv(291, 45%, 24%)
CMYKcmyk(6.5%, 45.2%, 0%, 75.7%)
CIE-LABlab(17.42, 17.17, -13.28)
CIE-LCHlch(17.42, 21.70, 322.28°)
OKLaboklab(29.51% 0.0461 -0.0364)
OKLCHoklch(29.51% 0.059 321.7)
XYZxyz(3.1864, 2.3915, 4.8503)
Luminance0.0239 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A223E #263E22
analogous
#2C223E #3A223E #3E2234
triadic
#3A223E #3E3A22 #223E3A
tetradic
#3A223E #3E2C22 #263E22 #22343E
square
#3A223E #3E2C22 #263E22 #22343E
split-complementary
#3A223E #343E22 #223E2C
monochromatic
#120B14 #150C16 #3A223E #5F3866 #844D8D

Accessibility & contrast

On white

14.21
#3A223E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#3A223E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A223E
14.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A223E#FFFFFF#000000##FFFFFF
##3A223E1.0014.211.4814.21
#FFFFFF14.211.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F293F
Deuteranopia (green-blind)
#252C3D
Tritanopia (blue-blind)
#3B252D
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #3a223e;
/* rgb */ color: rgb(58, 34, 62);
/* oklch */ color: oklch(29.5% 0.059 321.7);
Tailwind
colors: {
  custom: {
    50: '#715d73',
    500: '#3a223e',
    950: '#000000',
  },
}
SCSS
$custom: #3a223e;
$custom-light: #715d73;
$custom-dark: #000000;
JSON
{
  "hex": "#3a223e",
  "rgb": {
    "r": 58,
    "g": 34,
    "b": 62
  },
  "hsl": {
    "h": 291.429,
    "s": 29.167,
    "l": 18.824
  },
  "oklch": {
    "l": 0.29505,
    "c": 0.0587,
    "h": 321.7
  },
  "luminance": 0.02391
}

Semantic roles & 50–950 ramp

primary
#3A223E
secondary
#50714B
accent
#C56271
background
#F6F5F7
surface
#ECE9ED
border
#C7C5C8
text
#070408
muted
#7A797B

Preview Lab

Preview with #3A223E

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

Preview Lab → · Contrast checker → · Palette generator →

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