#34042F#34042F

#34042F is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 23.0% C 0.094 H 332.9°. Best body text is #FFFFFF at 17.44:1 contrast (WCAG AA passes).

Color values

HEX#34042F
RGBrgb(52, 4, 47)
HSLhsl(306, 86%, 11%)
HSVhsv(306, 92%, 20%)
CMYKcmyk(0%, 92.3%, 9.6%, 79.6%)
CIE-LABlab(9.18, 28.89, -15.50)
CIE-LCHlch(9.18, 32.79, 331.78°)
OKLaboklab(22.95% 0.0834 -0.0426)
OKLCHoklch(22.95% 0.094 332.9)
XYZxyz(1.9727, 1.0223, 2.7822)
Luminance0.0102 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34042F #043409
analogous
#210434 #34042F #340417
triadic
#34042F #2F3404 #042F34
tetradic
#34042F #342104 #043409 #041734
square
#34042F #342104 #043409 #041734
split-complementary
#34042F #173404 #043421
monochromatic
#1C021A #1C021A #34042F #6D0862 #A60D96

Accessibility & contrast

On white

17.44
#34042F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#34042F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34042F
17.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34042F#FFFFFF#000000##FFFFFF
##34042F1.0017.441.2017.44
#FFFFFF17.441.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#021530
Deuteranopia (green-blind)
#141C2E
Tritanopia (blue-blind)
#370919
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #34042f;
/* rgb */ color: rgb(52, 4, 47);
/* oklch */ color: oklch(23.0% 0.094 332.9);
Tailwind
colors: {
  custom: {
    50: '#6e4a67',
    500: '#34042f',
    950: '#000000',
  },
}
SCSS
$custom: #34042f;
$custom-light: #6e4a67;
$custom-dark: #000000;
JSON
{
  "hex": "#34042f",
  "rgb": {
    "r": 52,
    "g": 4,
    "b": 47
  },
  "hsl": {
    "h": 306.25,
    "s": 85.714,
    "l": 10.98
  },
  "oklch": {
    "l": 0.22953,
    "c": 0.09368,
    "h": 332.9
  },
  "luminance": 0.01022
}

Semantic roles & 50–950 ramp

primary
#34042F
secondary
#1E7627
accent
#FC422C
background
#F6F4F6
surface
#ECE7EB
border
#C7C3C6
text
#070106
muted
#7A777A

Preview Lab

Preview with #34042F

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

Preview Lab → · Contrast checker → · Palette generator →

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