#34043A#34043A

#34043A is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 23.8% C 0.104 H 323.0°. Best body text is #FFFFFF at 17.15:1 contrast (WCAG AA passes).

Color values

HEX#34043A
RGBrgb(52, 4, 58)
HSLhsl(293, 87%, 12%)
HSVhsv(293, 93%, 23%)
CMYKcmyk(10.3%, 93.1%, 0%, 77.3%)
CIE-LABlab(9.97, 31.04, -22.26)
CIE-LCHlch(9.97, 38.20, 324.35°)
OKLaboklab(23.77% 0.0827 -0.0623)
OKLCHoklch(23.77% 0.104 323)
XYZxyz(2.2232, 1.1225, 4.1017)
Luminance0.0112 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34043A #0A3A04
analogous
#19043A #34043A #3A0425
triadic
#34043A #3A3404 #043A34
tetradic
#34043A #3A1904 #0A3A04 #04253A
square
#34043A #3A1904 #0A3A04 #04253A
split-complementary
#34043A #253A04 #043A19
monochromatic
#1A021D #1A021D #34043A #670873 #9B0CAD

Accessibility & contrast

On white

17.15
#34043A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#34043A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34043A
17.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34043A#FFFFFF#000000##FFFFFF
##34043A1.0017.151.2217.15
#FFFFFF17.151.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00183B
Deuteranopia (green-blind)
#0D1D39
Tritanopia (blue-blind)
#350F1F
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #34043a;
/* rgb */ color: rgb(52, 4, 58);
/* oklch */ color: oklch(23.8% 0.104 323.0);
Tailwind
colors: {
  custom: {
    50: '#6e4b70',
    500: '#34043a',
    950: '#000000',
  },
}
SCSS
$custom: #34043a;
$custom-light: #6e4b70;
$custom-dark: #000000;
JSON
{
  "hex": "#34043a",
  "rgb": {
    "r": 52,
    "g": 4,
    "b": 58
  },
  "hsl": {
    "h": 293.333,
    "s": 87.097,
    "l": 12.157
  },
  "oklch": {
    "l": 0.23773,
    "c": 0.10352,
    "h": 323
  },
  "luminance": 0.01122
}

Semantic roles & 50–950 ramp

primary
#34043A
secondary
#287C1E
accent
#FD2B42
background
#F6F4F6
surface
#ECE7EC
border
#C7C3C7
text
#070107
muted
#7A777A

Preview Lab

Preview with #34043A

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

Preview Lab → · Contrast checker → · Palette generator →

#34043A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva