#340432#340432

#340432 is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 23.2% C 0.096 H 330.0°. Best body text is #FFFFFF at 17.36:1 contrast (WCAG AA passes).

Color values

HEX#340432
RGBrgb(52, 4, 50)
HSLhsl(303, 86%, 11%)
HSVhsv(303, 92%, 20%)
CMYKcmyk(0%, 92.3%, 3.8%, 79.6%)
CIE-LABlab(9.38, 29.45, -17.39)
CIE-LCHlch(9.38, 34.20, 329.44°)
OKLaboklab(23.16% 0.0834 -0.0481)
OKLCHoklch(23.16% 0.096 330)
XYZxyz(2.0353, 1.0474, 3.1120)
Luminance0.0105 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340432 #043406
analogous
#1E0434 #340432 #34041A
triadic
#340432 #323404 #043234
tetradic
#340432 #341E04 #043406 #041A34
square
#340432 #341E04 #043406 #041A34
split-complementary
#340432 #1A3404 #04341E
monochromatic
#1C021B #1C021B #340432 #6D0869 #A60D9F

Accessibility & contrast

On white

17.36
#340432 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#340432 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #340432
17.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340432#FFFFFF#000000##FFFFFF
##3404321.0017.361.2117.36
#FFFFFF17.361.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001633
Deuteranopia (green-blind)
#131D31
Tritanopia (blue-blind)
#360A1B
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #340432;
/* rgb */ color: rgb(52, 4, 50);
/* oklch */ color: oklch(23.2% 0.096 330.0);
Tailwind
colors: {
  custom: {
    50: '#6e4a6a',
    500: '#340432',
    950: '#000000',
  },
}
SCSS
$custom: #340432;
$custom-light: #6e4a6a;
$custom-dark: #000000;
JSON
{
  "hex": "#340432",
  "rgb": {
    "r": 52,
    "g": 4,
    "b": 50
  },
  "hsl": {
    "h": 302.5,
    "s": 85.714,
    "l": 10.98
  },
  "oklch": {
    "l": 0.23164,
    "c": 0.09628,
    "h": 330
  },
  "luminance": 0.01047
}

Semantic roles & 50–950 ramp

primary
#340432
secondary
#1E7621
accent
#FC352C
background
#F6F4F6
surface
#ECE7EB
border
#C7C3C6
text
#070106
muted
#7A777A

Preview Lab

Preview with #340432

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

Preview Lab → · Contrast checker → · Palette generator →

#340432 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva