#3A223C#3A223C

#3A223C is a dark, muted purple. Relative luminance 0.024; OKLCH L 29.4% C 0.056 H 324.2°. Best body text is #FFFFFF at 14.25:1 contrast (WCAG AA passes).

Color values

HEX#3A223C
RGBrgb(58, 34, 60)
HSLhsl(295, 28%, 18%)
HSVhsv(295, 43%, 24%)
CMYKcmyk(3.3%, 43.3%, 0%, 76.5%)
CIE-LABlab(17.32, 16.69, -12.04)
CIE-LCHlch(17.32, 20.58, 324.19°)
OKLaboklab(29.4% 0.0455 -0.0329)
OKLCHoklch(29.4% 0.056 324.2)
XYZxyz(3.1325, 2.3700, 4.5665)
Luminance0.0237 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A223C #243C22
analogous
#2D223C #3A223C #3C2231
triadic
#3A223C #3C3A22 #223C3A
tetradic
#3A223C #3C2D22 #243C22 #22313C
square
#3A223C #3C2D22 #243C22 #22313C
split-complementary
#3A223C #313C22 #223C2D
monochromatic
#130B14 #140C15 #3A223C #603863 #864E8A

Accessibility & contrast

On white

14.25
#3A223C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#3A223C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A223C
14.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A223C#FFFFFF#000000##FFFFFF
##3A223C1.0014.251.4714.25
#FFFFFF14.251.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F293D
Deuteranopia (green-blind)
#262C3B
Tritanopia (blue-blind)
#3B252C
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #3a223c;
/* rgb */ color: rgb(58, 34, 60);
/* oklch */ color: oklch(29.4% 0.056 324.2);
Tailwind
colors: {
  custom: {
    50: '#715d71',
    500: '#3a223c',
    950: '#000000',
  },
}
SCSS
$custom: #3a223c;
$custom-light: #715d71;
$custom-dark: #000000;
JSON
{
  "hex": "#3a223c",
  "rgb": {
    "r": 58,
    "g": 34,
    "b": 60
  },
  "hsl": {
    "h": 295.385,
    "s": 27.66,
    "l": 18.431
  },
  "oklch": {
    "l": 0.29396,
    "c": 0.05614,
    "h": 324.2
  },
  "luminance": 0.0237
}

Semantic roles & 50–950 ramp

primary
#3A223C
secondary
#4E6F4B
accent
#C4646B
background
#F6F5F6
surface
#ECE9EC
border
#C7C5C7
text
#070407
muted
#7A797A

Preview Lab

Preview with #3A223C

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

Preview Lab → · Contrast checker → · Palette generator →

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