#341C3C#341C3C

#341C3C is a dark, moderate purple. Relative luminance 0.019; OKLCH L 27.4% C 0.065 H 317.2°. Best body text is #FFFFFF at 15.25:1 contrast (WCAG AA passes).

Color values

HEX#341C3C
RGBrgb(52, 28, 60)
HSLhsl(285, 36%, 17%)
HSVhsv(285, 53%, 24%)
CMYKcmyk(13.3%, 53.3%, 0%, 76.5%)
CIE-LABlab(14.88, 18.44, -15.90)
CIE-LCHlch(14.88, 24.35, 319.24°)
OKLaboklab(27.38% 0.0476 -0.044)
OKLCHoklch(27.38% 0.065 317.2)
XYZxyz(2.6469, 1.8869, 4.4989)
Luminance0.0189 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341C3C #243C1C
analogous
#241C3C #341C3C #3C1C34
triadic
#341C3C #3C341C #1C3C34
tetradic
#341C3C #3C241C #243C1C #1C343C
square
#341C3C #3C241C #243C1C #1C343C
split-complementary
#341C3C #343C1C #1C3C24
monochromatic
#120A15 #120A15 #341C3C #582F66 #7C438F

Accessibility & contrast

On white

15.25
#341C3C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#341C3C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #341C3C
15.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341C3C#FFFFFF#000000##FFFFFF
##341C3C1.0015.251.3815.25
#FFFFFF15.251.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#16243D
Deuteranopia (green-blind)
#1D263B
Tritanopia (blue-blind)
#342029
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #341c3c;
/* rgb */ color: rgb(52, 28, 60);
/* oklch */ color: oklch(27.4% 0.065 317.2);
Tailwind
colors: {
  custom: {
    50: '#6c5972',
    500: '#341c3c',
    950: '#000000',
  },
}
SCSS
$custom: #341c3c;
$custom-light: #6c5972;
$custom-dark: #000000;
JSON
{
  "hex": "#341c3c",
  "rgb": {
    "r": 52,
    "g": 28,
    "b": 60
  },
  "hsl": {
    "h": 285,
    "s": 36.364,
    "l": 17.255
  },
  "oklch": {
    "l": 0.27381,
    "c": 0.06483,
    "h": 317.2
  },
  "luminance": 0.01887
}

Semantic roles & 50–950 ramp

primary
#341C3C
secondary
#4E7143
accent
#CC5B78
background
#F6F5F6
surface
#EBE9EC
border
#C6C5C7
text
#070308
muted
#7A787B

Preview Lab

Preview with #341C3C

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

Preview Lab → · Contrast checker → · Palette generator →

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