#341A3A#341A3A

#341A3A is a dark, moderate purple. Relative luminance 0.018; OKLCH L 26.9% C 0.066 H 319.9°. Best body text is #FFFFFF at 15.50:1 contrast (WCAG AA passes).

Color values

HEX#341A3A
RGBrgb(52, 26, 58)
HSLhsl(289, 38%, 16%)
HSVhsv(289, 55%, 23%)
CMYKcmyk(10.3%, 55.2%, 0%, 77.3%)
CIE-LABlab(14.26, 19.25, -15.47)
CIE-LCHlch(14.26, 24.70, 321.22°)
OKLaboklab(26.88% 0.0508 -0.0428)
OKLCHoklch(26.88% 0.066 319.9)
XYZxyz(2.5492, 1.7744, 4.2104)
Luminance0.0177 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341A3A #203A1A
analogous
#241A3A #341A3A #3A1A30
triadic
#341A3A #3A341A #1A3A34
tetradic
#341A3A #3A241A #203A1A #1A303A
square
#341A3A #3A241A #203A1A #1A303A
split-complementary
#341A3A #303A1A #1A3A24
monochromatic
#130915 #130915 #341A3A #5A2D64 #80408F

Accessibility & contrast

On white

15.50
#341A3A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#341A3A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #341A3A
15.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341A3A#FFFFFF#000000##FFFFFF
##341A3A1.0015.501.3515.50
#FFFFFF15.501.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#15223B
Deuteranopia (green-blind)
#1C2539
Tritanopia (blue-blind)
#341E27
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #341a3a;
/* rgb */ color: rgb(52, 26, 58);
/* oklch */ color: oklch(26.9% 0.066 319.9);
Tailwind
colors: {
  custom: {
    50: '#6c5770',
    500: '#341a3a',
    950: '#000000',
  },
}
SCSS
$custom: #341a3a;
$custom-light: #6c5770;
$custom-dark: #000000;
JSON
{
  "hex": "#341a3a",
  "rgb": {
    "r": 52,
    "g": 26,
    "b": 58
  },
  "hsl": {
    "h": 288.75,
    "s": 38.095,
    "l": 16.471
  },
  "oklch": {
    "l": 0.26877,
    "c": 0.06636,
    "h": 319.9
  },
  "luminance": 0.01774
}

Semantic roles & 50–950 ramp

primary
#341A3A
secondary
#496F40
accent
#CE5A70
background
#F6F5F6
surface
#EBE9EC
border
#C6C5C7
text
#070307
muted
#7A787A

Preview Lab

Preview with #341A3A

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

Preview Lab → · Contrast checker → · Palette generator →

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