#34072E#34072E

#34072E is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 23.3% C 0.088 H 334.0°. Best body text is #FFFFFF at 17.27:1 contrast (WCAG AA passes).

Color values

HEX#34072E
RGBrgb(52, 7, 46)
HSLhsl(308, 76%, 12%)
HSVhsv(308, 87%, 20%)
CMYKcmyk(0%, 86.5%, 11.5%, 79.6%)
CIE-LABlab(9.64, 27.20, -14.03)
CIE-LCHlch(9.64, 30.60, 332.70°)
OKLaboklab(23.26% 0.0789 -0.0384)
OKLCHoklch(23.26% 0.088 334)
XYZxyz(1.9853, 1.0795, 2.6880)
Luminance0.0108 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34072E #07340D
analogous
#240734 #34072E #340718
triadic
#34072E #2E3407 #072E34
tetradic
#34072E #342407 #07340D #071834
square
#34072E #342407 #07340D #071834
split-complementary
#34072E #183407 #073424
monochromatic
#1B0418 #1B0418 #34072E #6A0E5E #A0168D

Accessibility & contrast

On white

17.27
#34072E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#34072E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34072E
17.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34072E#FFFFFF#000000##FFFFFF
##34072E1.0017.271.2217.27
#FFFFFF17.271.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#06172F
Deuteranopia (green-blind)
#161D2D
Tritanopia (blue-blind)
#370B19
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #34072e;
/* rgb */ color: rgb(52, 7, 46);
/* oklch */ color: oklch(23.3% 0.088 334.0);
Tailwind
colors: {
  custom: {
    50: '#6e4c67',
    500: '#34072e',
    950: '#000000',
  },
}
SCSS
$custom: #34072e;
$custom-light: #6e4c67;
$custom-dark: #000000;
JSON
{
  "hex": "#34072e",
  "rgb": {
    "r": 52,
    "g": 7,
    "b": 46
  },
  "hsl": {
    "h": 308,
    "s": 76.271,
    "l": 11.569
  },
  "oklch": {
    "l": 0.23262,
    "c": 0.0878,
    "h": 334
  },
  "luminance": 0.01079
}

Semantic roles & 50–950 ramp

primary
#34072E
secondary
#23742E
accent
#F34E35
background
#F6F4F6
surface
#ECE7EB
border
#C7C3C6
text
#070106
muted
#7A777A

Preview Lab

Preview with #34072E

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

Preview Lab → · Contrast checker → · Palette generator →

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