#34062F#34062F

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

Color values

HEX#34062F
RGBrgb(52, 6, 47)
HSLhsl(307, 79%, 11%)
HSVhsv(307, 88%, 20%)
CMYKcmyk(0%, 88.5%, 9.6%, 79.6%)
CIE-LABlab(9.53, 27.88, -14.95)
CIE-LCHlch(9.53, 31.63, 331.80°)
OKLaboklab(23.2% 0.0804 -0.0411)
OKLCHoklch(23.2% 0.09 333)
XYZxyz(1.9944, 1.0657, 2.7894)
Luminance0.0107 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34062F #06340B
analogous
#220634 #34062F #340618
triadic
#34062F #2F3406 #062F34
tetradic
#34062F #342206 #06340B #061834
square
#34062F #342206 #06340B #061834
split-complementary
#34062F #183406 #063422
monochromatic
#1B0319 #1B0319 #34062F #6B0C61 #A21392

Accessibility & contrast

On white

17.31
#34062F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#34062F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34062F
17.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34062F#FFFFFF#000000##FFFFFF
##34062F1.0017.311.2117.31
#FFFFFF17.311.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.311.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #34062f;
/* rgb */ color: rgb(52, 6, 47);
/* oklch */ color: oklch(23.2% 0.090 333.0);
Tailwind
colors: {
  custom: {
    50: '#6e4b67',
    500: '#34062f',
    950: '#000000',
  },
}
SCSS
$custom: #34062f;
$custom-light: #6e4b67;
$custom-dark: #000000;
JSON
{
  "hex": "#34062f",
  "rgb": {
    "r": 52,
    "g": 6,
    "b": 47
  },
  "hsl": {
    "h": 306.522,
    "s": 79.31,
    "l": 11.373
  },
  "oklch": {
    "l": 0.23204,
    "c": 0.09032,
    "h": 333
  },
  "luminance": 0.01066
}

Semantic roles & 50–950 ramp

primary
#34062F
secondary
#21742A
accent
#F64732
background
#F6F4F6
surface
#ECE7EB
border
#C7C3C6
text
#070106
muted
#7A777A

Preview Lab

Preview with #34062F

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

Preview Lab → · Contrast checker → · Palette generator →

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