#340435#340435

#340435 is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 23.4% C 0.099 H 327.3°. Best body text is #FFFFFF at 17.29:1 contrast (WCAG AA passes).

Color values

HEX#340435
RGBrgb(52, 4, 53)
HSLhsl(299, 86%, 11%)
HSVhsv(299, 92%, 21%)
CMYKcmyk(1.9%, 92.5%, 0%, 79.2%)
CIE-LABlab(9.59, 30.03, -19.25)
CIE-LCHlch(9.59, 35.67, 327.35°)
OKLaboklab(23.39% 0.0832 -0.0535)
OKLCHoklch(23.39% 0.099 327.3)
XYZxyz(2.1022, 1.0741, 3.4641)
Luminance0.0107 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340435 #053504
analogous
#1B0435 #340435 #35041D
triadic
#340435 #353404 #043534
tetradic
#340435 #351B04 #053504 #041D35
square
#340435 #351B04 #053504 #041D35
split-complementary
#340435 #1D3504 #04351B
monochromatic
#1C021C #1C021C #340435 #6C086E #A40DA7

Accessibility & contrast

On white

17.29
#340435 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #340435
17.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340435#FFFFFF#000000##FFFFFF
##3404351.0017.291.2117.29
#FFFFFF17.291.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001736
Deuteranopia (green-blind)
#111D34
Tritanopia (blue-blind)
#360C1C
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #340435;
/* rgb */ color: rgb(52, 4, 53);
/* oklch */ color: oklch(23.4% 0.099 327.3);
Tailwind
colors: {
  custom: {
    50: '#6e4b6c',
    500: '#340435',
    950: '#000000',
  },
}
SCSS
$custom: #340435;
$custom-light: #6e4b6c;
$custom-dark: #000000;
JSON
{
  "hex": "#340435",
  "rgb": {
    "r": 52,
    "g": 4,
    "b": 53
  },
  "hsl": {
    "h": 298.776,
    "s": 85.965,
    "l": 11.176
  },
  "oklch": {
    "l": 0.23385,
    "c": 0.09895,
    "h": 327.3
  },
  "luminance": 0.01074
}

Semantic roles & 50–950 ramp

primary
#340435
secondary
#1F771E
accent
#FC2C30
background
#F6F4F6
surface
#ECE7EB
border
#C7C3C6
text
#070107
muted
#7A777A

Preview Lab

Preview with #340435

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

Preview Lab → · Contrast checker → · Palette generator →

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