#34042E#34042E

#34042E is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.9% C 0.093 H 333.9°. Best body text is #FFFFFF at 17.46:1 contrast (WCAG AA passes).

Color values

HEX#34042E
RGBrgb(52, 4, 46)
HSLhsl(308, 86%, 11%)
HSVhsv(308, 92%, 20%)
CMYKcmyk(0%, 92.3%, 11.5%, 79.6%)
CIE-LABlab(9.11, 28.71, -14.86)
CIE-LCHlch(9.11, 32.33, 332.63°)
OKLaboklab(22.89% 0.0834 -0.0408)
OKLCHoklch(22.89% 0.093 333.9)
XYZxyz(1.9528, 1.0143, 2.6772)
Luminance0.0101 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34042E #04340A
analogous
#220434 #34042E #340416
triadic
#34042E #2E3404 #042E34
tetradic
#34042E #342204 #04340A #041634
square
#34042E #342204 #04340A #041634
split-complementary
#34042E #163404 #043422
monochromatic
#1C0219 #1C0219 #34042E #6D0860 #A60D93

Accessibility & contrast

On white

17.46
#34042E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #34042E
17.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34042E#FFFFFF#000000##FFFFFF
##34042E1.0017.461.2017.46
#FFFFFF17.461.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#03152F
Deuteranopia (green-blind)
#151C2D
Tritanopia (blue-blind)
#370818
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #34042e;
/* rgb */ color: rgb(52, 4, 46);
/* oklch */ color: oklch(22.9% 0.093 333.9);
Tailwind
colors: {
  custom: {
    50: '#6e4a67',
    500: '#34042e',
    950: '#000000',
  },
}
SCSS
$custom: #34042e;
$custom-light: #6e4a67;
$custom-dark: #000000;
JSON
{
  "hex": "#34042e",
  "rgb": {
    "r": 52,
    "g": 4,
    "b": 46
  },
  "hsl": {
    "h": 307.5,
    "s": 85.714,
    "l": 10.98
  },
  "oklch": {
    "l": 0.22885,
    "c": 0.09283,
    "h": 333.9
  },
  "luminance": 0.01014
}

Semantic roles & 50–950 ramp

primary
#34042E
secondary
#1E7629
accent
#FC462C
background
#F6F4F6
surface
#ECE7EB
border
#C7C3C6
text
#070106
muted
#7A777A

Preview Lab

Preview with #34042E

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

Preview Lab → · Contrast checker → · Palette generator →

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