#34043B#34043B

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

Color values

HEX#34043B
RGBrgb(52, 4, 59)
HSLhsl(292, 87%, 12%)
HSVhsv(292, 93%, 23%)
CMYKcmyk(11.9%, 93.2%, 0%, 76.9%)
CIE-LABlab(10.05, 31.25, -22.86)
CIE-LCHlch(10.05, 38.72, 323.82°)
OKLaboklab(23.85% 0.0825 -0.0641)
OKLCHoklch(23.85% 0.104 322.2)
XYZxyz(2.2489, 1.1328, 4.2370)
Luminance0.0113 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34043B #0B3B04
analogous
#19043B #34043B #3B0426
triadic
#34043B #3B3404 #043B34
tetradic
#34043B #3B1904 #0B3B04 #04263B
square
#34043B #3B1904 #0B3B04 #04263B
split-complementary
#34043B #263B04 #043B19
monochromatic
#19021D #19021D #34043B #670874 #990CAE

Accessibility & contrast

On white

17.12
#34043B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#34043B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34043B
17.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34043B#FFFFFF#000000##FFFFFF
##34043B1.0017.121.2317.12
#FFFFFF17.121.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00183C
Deuteranopia (green-blind)
#0C1D3A
Tritanopia (blue-blind)
#350F20
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #34043b;
/* rgb */ color: rgb(52, 4, 59);
/* oklch */ color: oklch(23.9% 0.104 322.2);
Tailwind
colors: {
  custom: {
    50: '#6e4b71',
    500: '#34043b',
    950: '#000000',
  },
}
SCSS
$custom: #34043b;
$custom-light: #6e4b71;
$custom-dark: #000000;
JSON
{
  "hex": "#34043b",
  "rgb": {
    "r": 52,
    "g": 4,
    "b": 59
  },
  "hsl": {
    "h": 292.364,
    "s": 87.302,
    "l": 12.353
  },
  "oklch": {
    "l": 0.23854,
    "c": 0.10445,
    "h": 322.2
  },
  "luminance": 0.01133
}

Semantic roles & 50–950 ramp

primary
#34043B
secondary
#2A7D1E
accent
#FD2A45
background
#F6F4F6
surface
#ECE7EC
border
#C7C3C7
text
#070107
muted
#7A777A

Preview Lab

Preview with #34043B

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

Preview Lab → · Contrast checker → · Palette generator →

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