#34052F#34052F

#34052F is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 23.1% C 0.092 H 332.9°. Best body text is #FFFFFF at 17.37:1 contrast (WCAG AA passes).

Color values

HEX#34052F
RGBrgb(52, 5, 47)
HSLhsl(306, 82%, 11%)
HSVhsv(306, 90%, 20%)
CMYKcmyk(0%, 90.4%, 9.6%, 79.6%)
CIE-LABlab(9.35, 28.38, -15.22)
CIE-LCHlch(9.35, 32.20, 331.79°)
OKLaboklab(23.08% 0.0819 -0.0418)
OKLCHoklch(23.08% 0.092 332.9)
XYZxyz(1.9835, 1.0440, 2.7858)
Luminance0.0104 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34052F #05340A
analogous
#210534 #34052F #340517
triadic
#34052F #2F3405 #052F34
tetradic
#34052F #342105 #05340A #051734
square
#34052F #342105 #05340A #051734
split-complementary
#34052F #173405 #053421
monochromatic
#1C0319 #1C0319 #34052F #6C0A61 #A41094

Accessibility & contrast

On white

17.37
#34052F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #34052F
17.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34052F#FFFFFF#000000##FFFFFF
##34052F1.0017.371.2117.37
#FFFFFF17.371.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#031630
Deuteranopia (green-blind)
#151D2E
Tritanopia (blue-blind)
#370A19
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #34052f;
/* rgb */ color: rgb(52, 5, 47);
/* oklch */ color: oklch(23.1% 0.092 332.9);
Tailwind
colors: {
  custom: {
    50: '#6e4b67',
    500: '#34052f',
    950: '#000000',
  },
}
SCSS
$custom: #34052f;
$custom-light: #6e4b67;
$custom-dark: #000000;
JSON
{
  "hex": "#34052f",
  "rgb": {
    "r": 52,
    "g": 5,
    "b": 47
  },
  "hsl": {
    "h": 306.383,
    "s": 82.456,
    "l": 11.176
  },
  "oklch": {
    "l": 0.23079,
    "c": 0.09199,
    "h": 332.9
  },
  "luminance": 0.01044
}

Semantic roles & 50–950 ramp

primary
#34052F
secondary
#1F7529
accent
#F9442F
background
#F6F4F6
surface
#ECE7EB
border
#C7C3C6
text
#070106
muted
#7A777A

Preview Lab

Preview with #34052F

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

Preview Lab → · Contrast checker → · Palette generator →

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