#340F32#340F32

#340F32 is a very dark, moderate purple. Relative luminance 0.013; OKLCH L 24.5% C 0.079 H 329.8°. Best body text is #FFFFFF at 16.66:1 contrast (WCAG AA passes).

Color values

HEX#340F32
RGBrgb(52, 15, 50)
HSLhsl(303, 55%, 13%)
HSVhsv(303, 71%, 20%)
CMYKcmyk(0%, 71.2%, 3.8%, 79.6%)
CIE-LABlab(11.29, 24.05, -14.37)
CIE-LCHlch(11.29, 28.02, 329.14°)
OKLaboklab(24.54% 0.0679 -0.0395)
OKLCHoklch(24.54% 0.079 329.8)
XYZxyz(2.1627, 1.3021, 3.1544)
Luminance0.0130 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340F32 #0F3411
analogous
#230F34 #340F32 #340F1F
triadic
#340F32 #32340F #0F3234
tetradic
#340F32 #34230F #0F3411 #0F1F34
square
#340F32 #34230F #0F3411 #0F1F34
split-complementary
#340F32 #1F340F #0F3423
monochromatic
#180717 #180717 #340F32 #631D60 #932A8D

Accessibility & contrast

On white

16.66
#340F32 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#340F32 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #340F32
16.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340F32#FFFFFF#000000##FFFFFF
##340F321.0016.661.2616.66
#FFFFFF16.661.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C1B33
Deuteranopia (green-blind)
#192031
Tritanopia (blue-blind)
#36131E
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #340f32;
/* rgb */ color: rgb(52, 15, 50);
/* oklch */ color: oklch(24.5% 0.079 329.8);
Tailwind
colors: {
  custom: {
    50: '#6d506a',
    500: '#340f32',
    950: '#000000',
  },
}
SCSS
$custom: #340f32;
$custom-light: #6d506a;
$custom-dark: #000000;
JSON
{
  "hex": "#340f32",
  "rgb": {
    "r": 52,
    "g": 15,
    "b": 50
  },
  "hsl": {
    "h": 303.243,
    "s": 55.224,
    "l": 13.137
  },
  "oklch": {
    "l": 0.2454,
    "c": 0.07859,
    "h": 329.8
  },
  "luminance": 0.01302
}

Semantic roles & 50–950 ramp

primary
#340F32
secondary
#316E34
accent
#DF5149
background
#F6F4F6
surface
#ECE7EB
border
#C7C3C6
text
#070206
muted
#7A787A

Preview Lab

Preview with #340F32

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

Preview Lab → · Contrast checker → · Palette generator →

#340F32 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva