#340430#340430

#340430 is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 23.0% C 0.095 H 331.9°. Best body text is #FFFFFF at 17.41:1 contrast (WCAG AA passes).

Color values

HEX#340430
RGBrgb(52, 4, 48)
HSLhsl(305, 86%, 11%)
HSVhsv(305, 92%, 20%)
CMYKcmyk(0%, 92.3%, 7.7%, 79.6%)
CIE-LABlab(9.24, 29.07, -16.13)
CIE-LCHlch(9.24, 33.25, 330.97°)
OKLaboklab(23.02% 0.0834 -0.0445)
OKLCHoklch(23.02% 0.095 331.9)
XYZxyz(1.9931, 1.0305, 2.8897)
Luminance0.0103 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340430 #043408
analogous
#200434 #340430 #340418
triadic
#340430 #303404 #043034
tetradic
#340430 #342004 #043408 #041834
square
#340430 #342004 #043408 #041834
split-complementary
#340430 #183404 #043420
monochromatic
#1C021A #1C021A #340430 #6D0864 #A60D99

Accessibility & contrast

On white

17.41
#340430 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #340430
17.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340430#FFFFFF#000000##FFFFFF
##3404301.0017.411.2117.41
#FFFFFF17.411.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#011631
Deuteranopia (green-blind)
#141C2F
Tritanopia (blue-blind)
#370919
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #340430;
/* rgb */ color: rgb(52, 4, 48);
/* oklch */ color: oklch(23.0% 0.095 331.9);
Tailwind
colors: {
  custom: {
    50: '#6e4a68',
    500: '#340430',
    950: '#000000',
  },
}
SCSS
$custom: #340430;
$custom-light: #6e4a68;
$custom-dark: #000000;
JSON
{
  "hex": "#340430",
  "rgb": {
    "r": 52,
    "g": 4,
    "b": 48
  },
  "hsl": {
    "h": 305,
    "s": 85.714,
    "l": 10.98
  },
  "oklch": {
    "l": 0.23022,
    "c": 0.09454,
    "h": 331.9
  },
  "luminance": 0.0103
}

Semantic roles & 50–950 ramp

primary
#340430
secondary
#1E7625
accent
#FC3D2C
background
#F6F4F6
surface
#ECE7EB
border
#C7C3C6
text
#070106
muted
#7A777A

Preview Lab

Preview with #340430

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

Preview Lab → · Contrast checker → · Palette generator →

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