#341E3A#341E3A

#341E3A is a dark, muted purple. Relative luminance 0.020; OKLCH L 27.7% C 0.058 H 318.8°. Best body text is #FFFFFF at 15.08:1 contrast (WCAG AA passes).

Color values

HEX#341E3A
RGBrgb(52, 30, 58)
HSLhsl(287, 32%, 17%)
HSVhsv(287, 48%, 23%)
CMYKcmyk(10.3%, 48.3%, 0%, 77.3%)
CIE-LABlab(15.30, 16.60, -13.84)
CIE-LCHlch(15.30, 21.61, 320.18°)
OKLaboklab(27.66% 0.0436 -0.0381)
OKLCHoklch(27.66% 0.058 318.8)
XYZxyz(2.6441, 1.9642, 4.2420)
Luminance0.0196 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341E3A #243A1E
analogous
#261E3A #341E3A #3A1E32
triadic
#341E3A #3A341E #1E3A34
tetradic
#341E3A #3A261E #243A1E #1E323A
square
#341E3A #3A261E #243A1E #1E323A
split-complementary
#341E3A #323A1E #1E3A26
monochromatic
#120A14 #120A14 #341E3A #583362 #7C488B

Accessibility & contrast

On white

15.08
#341E3A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#341E3A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #341E3A
15.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341E3A#FFFFFF#000000##FFFFFF
##341E3A1.0015.081.3915.08
#FFFFFF15.081.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A253B
Deuteranopia (green-blind)
#202739
Tritanopia (blue-blind)
#342229
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #341e3a;
/* rgb */ color: rgb(52, 30, 58);
/* oklch */ color: oklch(27.7% 0.058 318.8);
Tailwind
colors: {
  custom: {
    50: '#6c5a70',
    500: '#341e3a',
    950: '#000000',
  },
}
SCSS
$custom: #341e3a;
$custom-light: #6c5a70;
$custom-dark: #000000;
JSON
{
  "hex": "#341e3a",
  "rgb": {
    "r": 52,
    "g": 30,
    "b": 58
  },
  "hsl": {
    "h": 287.143,
    "s": 31.818,
    "l": 17.255
  },
  "oklch": {
    "l": 0.27655,
    "c": 0.05789,
    "h": 318.8
  },
  "luminance": 0.01964
}

Semantic roles & 50–950 ramp

primary
#341E3A
secondary
#4E6E46
accent
#C86076
background
#F6F5F6
surface
#EBE9EC
border
#C6C5C7
text
#070407
muted
#7A797A

Preview Lab

Preview with #341E3A

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

Preview Lab → · Contrast checker → · Palette generator →

#341E3A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva