#34062E#34062E

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

Color values

HEX#34062E
RGBrgb(52, 6, 46)
HSLhsl(308, 79%, 11%)
HSVhsv(308, 88%, 20%)
CMYKcmyk(0%, 88.5%, 11.5%, 79.6%)
CIE-LABlab(9.46, 27.69, -14.31)
CIE-LCHlch(9.46, 31.17, 332.68°)
OKLaboklab(23.14% 0.0804 -0.0392)
OKLCHoklch(23.14% 0.089 334)
XYZxyz(1.9745, 1.0577, 2.6844)
Luminance0.0106 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34062E #06340C
analogous
#230634 #34062E #340617
triadic
#34062E #2E3406 #062E34
tetradic
#34062E #342306 #06340C #061734
square
#34062E #342306 #06340C #061734
split-complementary
#34062E #173406 #063423
monochromatic
#1B0318 #1B0318 #34062E #6B0C5F #A2138F

Accessibility & contrast

On white

17.33
#34062E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #34062E
17.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34062E#FFFFFF#000000##FFFFFF
##34062E1.0017.331.2117.33
#FFFFFF17.331.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#05162F
Deuteranopia (green-blind)
#161D2D
Tritanopia (blue-blind)
#370A19
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #34062e;
/* rgb */ color: rgb(52, 6, 46);
/* oklch */ color: oklch(23.1% 0.089 334.0);
Tailwind
colors: {
  custom: {
    50: '#6e4b67',
    500: '#34062e',
    950: '#000000',
  },
}
SCSS
$custom: #34062e;
$custom-light: #6e4b67;
$custom-dark: #000000;
JSON
{
  "hex": "#34062e",
  "rgb": {
    "r": 52,
    "g": 6,
    "b": 46
  },
  "hsl": {
    "h": 307.826,
    "s": 79.31,
    "l": 11.373
  },
  "oklch": {
    "l": 0.23138,
    "c": 0.08944,
    "h": 334
  },
  "luminance": 0.01058
}

Semantic roles & 50–950 ramp

primary
#34062E
secondary
#21742C
accent
#F64C32
background
#F6F4F6
surface
#ECE7EB
border
#C7C3C6
text
#070106
muted
#7A777A

Preview Lab

Preview with #34062E

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

Preview Lab → · Contrast checker → · Palette generator →

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