#341C38#341C38

#341C38 is a dark, muted purple. Relative luminance 0.018; OKLCH L 27.1% C 0.060 H 321.7°. Best body text is #FFFFFF at 15.34:1 contrast (WCAG AA passes).

Color values

HEX#341C38
RGBrgb(52, 28, 56)
HSLhsl(291, 33%, 16%)
HSVhsv(291, 50%, 22%)
CMYKcmyk(7.1%, 50%, 0%, 78%)
CIE-LABlab(14.66, 17.44, -13.42)
CIE-LCHlch(14.66, 22.01, 322.42°)
OKLaboklab(27.14% 0.0467 -0.0369)
OKLCHoklch(27.14% 0.06 321.7)
XYZxyz(2.5452, 1.8462, 3.9629)
Luminance0.0185 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341C38 #20381C
analogous
#261C38 #341C38 #381C2E
triadic
#341C38 #38341C #1C3834
tetradic
#341C38 #38261C #20381C #1C2E38
square
#341C38 #38261C #20381C #1C2E38
split-complementary
#341C38 #2E381C #1C3826
monochromatic
#130A14 #130A14 #341C38 #5A3061 #80458A

Accessibility & contrast

On white

15.34
#341C38 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#341C38 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #341C38
15.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341C38#FFFFFF#000000##FFFFFF
##341C381.0015.341.3715.34
#FFFFFF15.341.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#182339
Deuteranopia (green-blind)
#1F2637
Tritanopia (blue-blind)
#351F27
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #341c38;
/* rgb */ color: rgb(52, 28, 56);
/* oklch */ color: oklch(27.1% 0.060 321.7);
Tailwind
colors: {
  custom: {
    50: '#6c596e',
    500: '#341c38',
    950: '#000000',
  },
}
SCSS
$custom: #341c38;
$custom-light: #6c596e;
$custom-dark: #000000;
JSON
{
  "hex": "#341c38",
  "rgb": {
    "r": 52,
    "g": 28,
    "b": 56
  },
  "hsl": {
    "h": 291.429,
    "s": 33.333,
    "l": 16.471
  },
  "oklch": {
    "l": 0.27141,
    "c": 0.05954,
    "h": 321.7
  },
  "luminance": 0.01846
}

Semantic roles & 50–950 ramp

primary
#341C38
secondary
#496C43
accent
#C95E6E
background
#F6F5F6
surface
#EBE9EC
border
#C6C5C7
text
#070307
muted
#7A787A

Preview Lab

Preview with #341C38

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

Preview Lab → · Contrast checker → · Palette generator →

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