#34072F#34072F

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

Color values

HEX#34072F
RGBrgb(52, 7, 47)
HSLhsl(307, 76%, 12%)
HSVhsv(307, 87%, 20%)
CMYKcmyk(0%, 86.5%, 9.6%, 79.6%)
CIE-LABlab(9.70, 27.39, -14.68)
CIE-LCHlch(9.70, 31.07, 331.82°)
OKLaboklab(23.33% 0.079 -0.0403)
OKLCHoklch(23.33% 0.089 333)
XYZxyz(2.0053, 1.0874, 2.7931)
Luminance0.0109 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34072F #07340C
analogous
#230734 #34072F #340719
triadic
#34072F #2F3407 #072F34
tetradic
#34072F #342307 #07340C #071934
square
#34072F #342307 #07340C #071934
split-complementary
#34072F #193407 #073423
monochromatic
#1B0418 #1B0418 #34072F #6A0E60 #A01691

Accessibility & contrast

On white

17.25
#34072F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #34072F
17.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34072F#FFFFFF#000000##FFFFFF
##34072F1.0017.251.2217.25
#FFFFFF17.251.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#051730
Deuteranopia (green-blind)
#161D2E
Tritanopia (blue-blind)
#370B1A
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #34072f;
/* rgb */ color: rgb(52, 7, 47);
/* oklch */ color: oklch(23.3% 0.089 333.0);
Tailwind
colors: {
  custom: {
    50: '#6e4c67',
    500: '#34072f',
    950: '#000000',
  },
}
SCSS
$custom: #34072f;
$custom-light: #6e4c67;
$custom-dark: #000000;
JSON
{
  "hex": "#34072f",
  "rgb": {
    "r": 52,
    "g": 7,
    "b": 47
  },
  "hsl": {
    "h": 306.667,
    "s": 76.271,
    "l": 11.569
  },
  "oklch": {
    "l": 0.23328,
    "c": 0.08869,
    "h": 333
  },
  "luminance": 0.01087
}

Semantic roles & 50–950 ramp

primary
#34072F
secondary
#23742C
accent
#F34A35
background
#F6F4F6
surface
#ECE7EB
border
#C7C3C6
text
#070106
muted
#7A777A

Preview Lab

Preview with #34072F

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

Preview Lab → · Contrast checker → · Palette generator →

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