#340437#340437

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

Color values

HEX#340437
RGBrgb(52, 4, 55)
HSLhsl(296, 86%, 12%)
HSVhsv(296, 93%, 22%)
CMYKcmyk(5.5%, 92.7%, 0%, 78.4%)
CIE-LABlab(9.74, 30.43, -20.46)
CIE-LCHlch(9.74, 36.67, 326.08°)
OKLaboklab(23.54% 0.0831 -0.0571)
OKLCHoklch(23.54% 0.101 325.5)
XYZxyz(2.1491, 1.0929, 3.7114)
Luminance0.0109 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340437 #073704
analogous
#1B0437 #340437 #370421
triadic
#340437 #373404 #043734
tetradic
#340437 #371B04 #073704 #042137
square
#340437 #371B04 #073704 #042137
split-complementary
#340437 #213704 #04371B
monochromatic
#1B021D #1B021D #340437 #6A0870 #A00CA9

Accessibility & contrast

On white

17.23
#340437 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #340437
17.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340437#FFFFFF#000000##FFFFFF
##3404371.0017.231.2217.23
#FFFFFF17.231.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001738
Deuteranopia (green-blind)
#0F1D36
Tritanopia (blue-blind)
#350D1D
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #340437;
/* rgb */ color: rgb(52, 4, 55);
/* oklch */ color: oklch(23.5% 0.101 325.5);
Tailwind
colors: {
  custom: {
    50: '#6e4b6e',
    500: '#340437',
    950: '#000000',
  },
}
SCSS
$custom: #340437;
$custom-light: #6e4b6e;
$custom-dark: #000000;
JSON
{
  "hex": "#340437",
  "rgb": {
    "r": 52,
    "g": 4,
    "b": 55
  },
  "hsl": {
    "h": 296.471,
    "s": 86.441,
    "l": 11.569
  },
  "oklch": {
    "l": 0.23537,
    "c": 0.10076,
    "h": 325.5
  },
  "luminance": 0.01093
}

Semantic roles & 50–950 ramp

primary
#340437
secondary
#23791E
accent
#FD2B37
background
#F6F4F6
surface
#ECE7EC
border
#C7C3C7
text
#070107
muted
#7A777A

Preview Lab

Preview with #340437

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

Preview Lab → · Contrast checker → · Palette generator →

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