#34052E#34052E

#34052E is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 23.0% C 0.091 H 334.0°. Best body text is #FFFFFF at 17.40:1 contrast (WCAG AA passes).

Color values

HEX#34052E
RGBrgb(52, 5, 46)
HSLhsl(308, 82%, 11%)
HSVhsv(308, 90%, 20%)
CMYKcmyk(0%, 90.4%, 11.5%, 79.6%)
CIE-LABlab(9.29, 28.20, -14.58)
CIE-LCHlch(9.29, 31.74, 332.65°)
OKLaboklab(23.01% 0.0819 -0.04)
OKLCHoklch(23.01% 0.091 334)
XYZxyz(1.9636, 1.0360, 2.6808)
Luminance0.0104 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34052E #05340B
analogous
#220534 #34052E #340516
triadic
#34052E #2E3405 #052E34
tetradic
#34052E #342205 #05340B #051634
square
#34052E #342205 #05340B #051634
split-complementary
#34052E #163405 #053422
monochromatic
#1C0319 #1C0319 #34052E #6C0A5F #A41091

Accessibility & contrast

On white

17.40
#34052E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #34052E
17.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34052E#FFFFFF#000000##FFFFFF
##34052E1.0017.401.2117.40
#FFFFFF17.401.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#04162F
Deuteranopia (green-blind)
#151C2D
Tritanopia (blue-blind)
#370919
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #34052e;
/* rgb */ color: rgb(52, 5, 46);
/* oklch */ color: oklch(23.0% 0.091 334.0);
Tailwind
colors: {
  custom: {
    50: '#6e4b67',
    500: '#34052e',
    950: '#000000',
  },
}
SCSS
$custom: #34052e;
$custom-light: #6e4b67;
$custom-dark: #000000;
JSON
{
  "hex": "#34052e",
  "rgb": {
    "r": 52,
    "g": 5,
    "b": 46
  },
  "hsl": {
    "h": 307.66,
    "s": 82.456,
    "l": 11.176
  },
  "oklch": {
    "l": 0.23012,
    "c": 0.09113,
    "h": 334
  },
  "luminance": 0.01036
}

Semantic roles & 50–950 ramp

primary
#34052E
secondary
#1F752A
accent
#F9492F
background
#F6F4F6
surface
#ECE7EB
border
#C7C3C6
text
#070106
muted
#7A777A

Preview Lab

Preview with #34052E

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

Preview Lab → · Contrast checker → · Palette generator →

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