#34043F#34043F

#34043F is a very dark, moderate purple. Relative luminance 0.012; OKLCH L 24.2% C 0.108 H 319.1°. Best body text is #FFFFFF at 17.00:1 contrast (WCAG AA passes).

Color values

HEX#34043F
RGBrgb(52, 4, 63)
HSLhsl(289, 88%, 13%)
HSVhsv(289, 94%, 25%)
CMYKcmyk(17.5%, 93.7%, 0%, 75.3%)
CIE-LABlab(10.38, 32.10, -25.19)
CIE-LCHlch(10.38, 40.81, 321.87°)
OKLaboklab(24.19% 0.0817 -0.0709)
OKLCHoklch(24.19% 0.108 319.1)
XYZxyz(2.3567, 1.1759, 4.8045)
Luminance0.0118 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34043F #0F3F04
analogous
#16043F #34043F #3F042C
triadic
#34043F #3F3404 #043F34
tetradic
#34043F #3F1604 #0F3F04 #042C3F
square
#34043F #3F1604 #0F3F04 #042C3F
split-complementary
#34043F #2C3F04 #043F16
monochromatic
#18021D #18021D #34043F #630879 #930BB2

Accessibility & contrast

On white

17.00
#34043F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#34043F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34043F
17.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34043F#FFFFFF#000000##FFFFFF
##34043F1.0017.001.2417.00
#FFFFFF17.001.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF17.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001941
Deuteranopia (green-blind)
#081E3E
Tritanopia (blue-blind)
#341122
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #34043f;
/* rgb */ color: rgb(52, 4, 63);
/* oklch */ color: oklch(24.2% 0.108 319.1);
Tailwind
colors: {
  custom: {
    50: '#6e4b74',
    500: '#34043f',
    950: '#000000',
  },
}
SCSS
$custom: #34043f;
$custom-light: #6e4b74;
$custom-dark: #000000;
JSON
{
  "hex": "#34043f",
  "rgb": {
    "r": 52,
    "g": 4,
    "b": 63
  },
  "hsl": {
    "h": 288.814,
    "s": 88.06,
    "l": 13.137
  },
  "oklch": {
    "l": 0.24186,
    "c": 0.1082,
    "h": 319.1
  },
  "luminance": 0.01176
}

Semantic roles & 50–950 ramp

primary
#34043F
secondary
#31801E
accent
#FE2A51
background
#F6F4F7
surface
#ECE7ED
border
#C7C3C8
text
#070108
muted
#7A777B

Preview Lab

Preview with #34043F

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

Preview Lab → · Contrast checker → · Palette generator →

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