#340433#340433

#340433 is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 23.2% C 0.097 H 329.1°. Best body text is #FFFFFF at 17.34:1 contrast (WCAG AA passes).

Color values

HEX#340433
RGBrgb(52, 4, 51)
HSLhsl(301, 86%, 11%)
HSVhsv(301, 92%, 20%)
CMYKcmyk(0%, 92.3%, 1.9%, 79.6%)
CIE-LABlab(9.45, 29.64, -18.01)
CIE-LCHlch(9.45, 34.68, 328.71°)
OKLaboklab(23.24% 0.0834 -0.0499)
OKLCHoklch(23.24% 0.097 329.1)
XYZxyz(2.0571, 1.0561, 3.2268)
Luminance0.0106 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340433 #043405
analogous
#1D0434 #340433 #34041B
triadic
#340433 #333404 #043334
tetradic
#340433 #341D04 #043405 #041B34
square
#340433 #341D04 #043405 #041B34
split-complementary
#340433 #1B3404 #04341D
monochromatic
#1C021C #1C021C #340433 #6D086B #A60DA2

Accessibility & contrast

On white

17.34
#340433 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #340433
17.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340433#FFFFFF#000000##FFFFFF
##3404331.0017.341.2117.34
#FFFFFF17.341.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001634
Deuteranopia (green-blind)
#121D32
Tritanopia (blue-blind)
#360B1B
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #340433;
/* rgb */ color: rgb(52, 4, 51);
/* oklch */ color: oklch(23.2% 0.097 329.1);
Tailwind
colors: {
  custom: {
    50: '#6e4b6b',
    500: '#340433',
    950: '#000000',
  },
}
SCSS
$custom: #340433;
$custom-light: #6e4b6b;
$custom-dark: #000000;
JSON
{
  "hex": "#340433",
  "rgb": {
    "r": 52,
    "g": 4,
    "b": 51
  },
  "hsl": {
    "h": 301.25,
    "s": 85.714,
    "l": 10.98
  },
  "oklch": {
    "l": 0.23236,
    "c": 0.09717,
    "h": 329.1
  },
  "luminance": 0.01056
}

Semantic roles & 50–950 ramp

primary
#340433
secondary
#1E761F
accent
#FC302C
background
#F6F4F6
surface
#ECE7EB
border
#C7C3C6
text
#070106
muted
#7A777A

Preview Lab

Preview with #340433

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

Preview Lab → · Contrast checker → · Palette generator →

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