#340436#340436

#340436 is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 23.5% C 0.100 H 326.4°. Best body text is #FFFFFF at 17.26:1 contrast (WCAG AA passes).

Color values

HEX#340436
RGBrgb(52, 4, 54)
HSLhsl(298, 86%, 11%)
HSVhsv(298, 93%, 21%)
CMYKcmyk(3.7%, 92.6%, 0%, 78.8%)
CIE-LABlab(9.67, 30.23, -19.86)
CIE-LCHlch(9.67, 36.17, 326.70°)
OKLaboklab(23.46% 0.0832 -0.0553)
OKLCHoklch(23.46% 0.1 326.4)
XYZxyz(2.1254, 1.0834, 3.5865)
Luminance0.0108 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340436 #063604
analogous
#1B0436 #340436 #36041F
triadic
#340436 #363404 #043634
tetradic
#340436 #361B04 #063604 #041F36
square
#340436 #361B04 #063604 #041F36
split-complementary
#340436 #1F3604 #04361B
monochromatic
#1B021C #1B021C #340436 #6B086F #A20CA8

Accessibility & contrast

On white

17.26
#340436 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#340436 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #340436
17.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340436#FFFFFF#000000##FFFFFF
##3404361.0017.261.2217.26
#FFFFFF17.261.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001737
Deuteranopia (green-blind)
#101D35
Tritanopia (blue-blind)
#360D1D
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #340436;
/* rgb */ color: rgb(52, 4, 54);
/* oklch */ color: oklch(23.5% 0.100 326.4);
Tailwind
colors: {
  custom: {
    50: '#6e4b6d',
    500: '#340436',
    950: '#000000',
  },
}
SCSS
$custom: #340436;
$custom-light: #6e4b6d;
$custom-dark: #000000;
JSON
{
  "hex": "#340436",
  "rgb": {
    "r": 52,
    "g": 4,
    "b": 54
  },
  "hsl": {
    "h": 297.6,
    "s": 86.207,
    "l": 11.373
  },
  "oklch": {
    "l": 0.2346,
    "c": 0.09986,
    "h": 326.4
  },
  "luminance": 0.01083
}

Semantic roles & 50–950 ramp

primary
#340436
secondary
#21781E
accent
#FC2B34
background
#F6F4F6
surface
#ECE7EB
border
#C7C3C6
text
#070107
muted
#7A777A

Preview Lab

Preview with #340436

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

Preview Lab → · Contrast checker → · Palette generator →

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