#341E38#341E38

#341E38 is a dark, muted purple. Relative luminance 0.019; OKLCH L 27.5% C 0.055 H 321.3°. Best body text is #FFFFFF at 15.12:1 contrast (WCAG AA passes).

Color values

HEX#341E38
RGBrgb(52, 30, 56)
HSLhsl(291, 30%, 17%)
HSVhsv(291, 46%, 22%)
CMYKcmyk(7.1%, 46.4%, 0%, 78%)
CIE-LABlab(15.19, 16.10, -12.59)
CIE-LCHlch(15.19, 20.44, 321.96°)
OKLaboklab(27.54% 0.0431 -0.0345)
OKLCHoklch(27.54% 0.055 321.3)
XYZxyz(2.5942, 1.9442, 3.9792)
Luminance0.0194 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341E38 #22381E
analogous
#271E38 #341E38 #381E2F
triadic
#341E38 #38341E #1E3834
tetradic
#341E38 #38271E #22381E #1E2F38
square
#341E38 #38271E #22381E #1E2F38
split-complementary
#341E38 #2F381E #1E3827
monochromatic
#130B14 #130B14 #341E38 #593360 #7E4988

Accessibility & contrast

On white

15.12
#341E38 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #341E38
15.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341E38#FFFFFF#000000##FFFFFF
##341E381.0015.121.3915.12
#FFFFFF15.121.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B2439
Deuteranopia (green-blind)
#202737
Tritanopia (blue-blind)
#352128
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #341e38;
/* rgb */ color: rgb(52, 30, 56);
/* oklch */ color: oklch(27.5% 0.055 321.3);
Tailwind
colors: {
  custom: {
    50: '#6c5a6e',
    500: '#341e38',
    950: '#000000',
  },
}
SCSS
$custom: #341e38;
$custom-light: #6c5a6e;
$custom-dark: #000000;
JSON
{
  "hex": "#341e38",
  "rgb": {
    "r": 52,
    "g": 30,
    "b": 56
  },
  "hsl": {
    "h": 290.769,
    "s": 30.233,
    "l": 16.863
  },
  "oklch": {
    "l": 0.27541,
    "c": 0.0552,
    "h": 321.3
  },
  "luminance": 0.01944
}

Semantic roles & 50–950 ramp

primary
#341E38
secondary
#4C6C46
accent
#C66171
background
#F6F5F6
surface
#EBE9EC
border
#C6C5C7
text
#070407
muted
#7A797A

Preview Lab

Preview with #341E38

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

Preview Lab → · Contrast checker → · Palette generator →

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