#341A3C#341A3C

#341A3C is a dark, moderate purple. Relative luminance 0.018; OKLCH L 27.0% C 0.069 H 317.8°. Best body text is #FFFFFF at 15.45:1 contrast (WCAG AA passes).

Color values

HEX#341A3C
RGBrgb(52, 26, 60)
HSLhsl(286, 40%, 17%)
HSVhsv(286, 57%, 24%)
CMYKcmyk(13.3%, 56.7%, 0%, 76.5%)
CIE-LABlab(14.37, 19.76, -16.70)
CIE-LCHlch(14.37, 25.87, 319.80°)
OKLaboklab(27% 0.0511 -0.0463)
OKLCHoklch(27% 0.069 317.8)
XYZxyz(2.6011, 1.7952, 4.4836)
Luminance0.0180 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341A3C #223C1A
analogous
#231A3C #341A3C #3C1A33
triadic
#341A3C #3C341A #1A3C34
tetradic
#341A3C #3C231A #223C1A #1A333C
square
#341A3C #3C231A #223C1A #1A333C
split-complementary
#341A3C #333C1A #1A3C23
monochromatic
#130915 #130915 #341A3C #592D67 #7E3F91

Accessibility & contrast

On white

15.45
#341A3C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#341A3C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #341A3C
15.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341A3C#FFFFFF#000000##FFFFFF
##341A3C1.0015.451.3615.45
#FFFFFF15.451.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#14233D
Deuteranopia (green-blind)
#1B253B
Tritanopia (blue-blind)
#341F28
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #341a3c;
/* rgb */ color: rgb(52, 26, 60);
/* oklch */ color: oklch(27.0% 0.069 317.8);
Tailwind
colors: {
  custom: {
    50: '#6c5772',
    500: '#341a3c',
    950: '#000000',
  },
}
SCSS
$custom: #341a3c;
$custom-light: #6c5772;
$custom-dark: #000000;
JSON
{
  "hex": "#341a3c",
  "rgb": {
    "r": 52,
    "g": 26,
    "b": 60
  },
  "hsl": {
    "h": 285.882,
    "s": 39.535,
    "l": 16.863
  },
  "oklch": {
    "l": 0.27003,
    "c": 0.06896,
    "h": 317.8
  },
  "luminance": 0.01795
}

Semantic roles & 50–950 ramp

primary
#341A3C
secondary
#4C7240
accent
#CF5874
background
#F6F5F6
surface
#EBE9EC
border
#C6C5C7
text
#070308
muted
#7A787B

Preview Lab

Preview with #341A3C

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

Preview Lab → · Contrast checker → · Palette generator →

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