#341A38#341A38

#341A38 is a dark, moderate purple. Relative luminance 0.018; OKLCH L 26.8% C 0.064 H 322.1°. Best body text is #FFFFFF at 15.55:1 contrast (WCAG AA passes).

Color values

HEX#341A38
RGBrgb(52, 26, 56)
HSLhsl(292, 37%, 16%)
HSVhsv(292, 54%, 22%)
CMYKcmyk(7.1%, 53.6%, 0%, 78%)
CIE-LABlab(14.14, 18.76, -14.22)
CIE-LCHlch(14.14, 23.54, 322.83°)
OKLaboklab(26.76% 0.0504 -0.0392)
OKLCHoklch(26.76% 0.064 322.1)
XYZxyz(2.4993, 1.7545, 3.9476)
Luminance0.0175 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341A38 #1E381A
analogous
#251A38 #341A38 #381A2D
triadic
#341A38 #38341A #1A3834
tetradic
#341A38 #38251A #1E381A #1A2D38
square
#341A38 #38251A #1E381A #1A2D38
split-complementary
#341A38 #2D381A #1A3825
monochromatic
#130A15 #130A15 #341A38 #5B2D62 #82418C

Accessibility & contrast

On white

15.55
#341A38 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #341A38
15.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341A38#FFFFFF#000000##FFFFFF
##341A381.0015.551.3515.55
#FFFFFF15.551.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#162239
Deuteranopia (green-blind)
#1D2537
Tritanopia (blue-blind)
#351E26
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #341a38;
/* rgb */ color: rgb(52, 26, 56);
/* oklch */ color: oklch(26.8% 0.064 322.1);
Tailwind
colors: {
  custom: {
    50: '#6c576e',
    500: '#341a38',
    950: '#000000',
  },
}
SCSS
$custom: #341a38;
$custom-light: #6c576e;
$custom-dark: #000000;
JSON
{
  "hex": "#341a38",
  "rgb": {
    "r": 52,
    "g": 26,
    "b": 56
  },
  "hsl": {
    "h": 292,
    "s": 36.585,
    "l": 16.078
  },
  "oklch": {
    "l": 0.26756,
    "c": 0.0638,
    "h": 322.1
  },
  "luminance": 0.01754
}

Semantic roles & 50–950 ramp

primary
#341A38
secondary
#476D41
accent
#CD5B6A
background
#F6F5F6
surface
#EBE9EC
border
#C6C5C7
text
#070307
muted
#7A787A

Preview Lab

Preview with #341A38

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

Preview Lab → · Contrast checker → · Palette generator →

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