#34142F#34142F

#34142F is a dark, moderate purple. Relative luminance 0.014; OKLCH L 25.1% C 0.066 H 333.6°. Best body text is #FFFFFF at 16.31:1 contrast (WCAG AA passes).

Color values

HEX#34142F
RGBrgb(52, 20, 47)
HSLhsl(309, 44%, 14%)
HSVhsv(309, 62%, 20%)
CMYKcmyk(0%, 61.5%, 9.6%, 79.6%)
CIE-LABlab(12.19, 20.52, -10.78)
CIE-LCHlch(12.19, 23.18, 332.29°)
OKLaboklab(25.15% 0.059 -0.0293)
OKLCHoklch(25.15% 0.066 333.6)
XYZxyz(2.1794, 1.4358, 2.8511)
Luminance0.0144 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34142F #143419
analogous
#291434 #34142F #34141F
triadic
#34142F #2F3414 #142F34
tetradic
#34142F #342914 #143419 #141F34
square
#34142F #342914 #143419 #141F34
split-complementary
#34142F #1F3414 #143429
monochromatic
#160914 #160914 #34142F #602557 #8C367F

Accessibility & contrast

On white

16.31
#34142F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#34142F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34142F
16.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34142F#FFFFFF#000000##FFFFFF
##34142F1.0016.311.2916.31
#FFFFFF16.311.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#141D30
Deuteranopia (green-blind)
#1D222E
Tritanopia (blue-blind)
#36161F
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #34142f;
/* rgb */ color: rgb(52, 20, 47);
/* oklch */ color: oklch(25.1% 0.066 333.6);
Tailwind
colors: {
  custom: {
    50: '#6d5367',
    500: '#34142f',
    950: '#000000',
  },
}
SCSS
$custom: #34142f;
$custom-light: #6d5367;
$custom-dark: #000000;
JSON
{
  "hex": "#34142f",
  "rgb": {
    "r": 52,
    "g": 20,
    "b": 47
  },
  "hsl": {
    "h": 309.375,
    "s": 44.444,
    "l": 14.118
  },
  "oklch": {
    "l": 0.25148,
    "c": 0.06589,
    "h": 333.6
  },
  "luminance": 0.01436
}

Semantic roles & 50–950 ramp

primary
#34142F
secondary
#386B40
accent
#D46854
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#070206
muted
#7A787A

Preview Lab

Preview with #34142F

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

Preview Lab → · Contrast checker → · Palette generator →

#34142F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva