#34073A#34073A

#34073A is a very dark, moderate purple. Relative luminance 0.012; OKLCH L 24.1% C 0.099 H 322.7°. Best body text is #FFFFFF at 16.97:1 contrast (WCAG AA passes).

Color values

HEX#34073A
RGBrgb(52, 7, 58)
HSLhsl(293, 78%, 13%)
HSVhsv(293, 88%, 23%)
CMYKcmyk(10.3%, 87.9%, 0%, 77.3%)
CIE-LABlab(10.47, 29.61, -21.47)
CIE-LCHlch(10.47, 36.58, 324.05°)
OKLaboklab(24.12% 0.0788 -0.06)
OKLCHoklch(24.12% 0.099 322.7)
XYZxyz(2.2558, 1.1876, 4.1126)
Luminance0.0119 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34073A #0D3A07
analogous
#1A073A #34073A #3A0726
triadic
#34073A #3A3407 #073A34
tetradic
#34073A #3A1A07 #0D3A07 #07263A
square
#34073A #3A1A07 #0D3A07 #07263A
split-complementary
#34073A #263A07 #073A1A
monochromatic
#18031B #18031B #34073A #650E71 #9614A7

Accessibility & contrast

On white

16.97
#34073A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#34073A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34073A
16.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34073A#FFFFFF#000000##FFFFFF
##34073A1.0016.971.2416.97
#FFFFFF16.971.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00193B
Deuteranopia (green-blind)
#0F1E39
Tritanopia (blue-blind)
#351120
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #34073a;
/* rgb */ color: rgb(52, 7, 58);
/* oklch */ color: oklch(24.1% 0.099 322.7);
Tailwind
colors: {
  custom: {
    50: '#6e4c70',
    500: '#34073a',
    950: '#000000',
  },
}
SCSS
$custom: #34073a;
$custom-light: #6e4c70;
$custom-dark: #000000;
JSON
{
  "hex": "#34073a",
  "rgb": {
    "r": 52,
    "g": 7,
    "b": 58
  },
  "hsl": {
    "h": 292.941,
    "s": 78.462,
    "l": 12.745
  },
  "oklch": {
    "l": 0.24122,
    "c": 0.09906,
    "h": 322.7
  },
  "luminance": 0.01188
}

Semantic roles & 50–950 ramp

primary
#34073A
secondary
#2D7923
accent
#F5334A
background
#F6F4F6
surface
#ECE7EC
border
#C7C3C7
text
#070107
muted
#7A777A

Preview Lab

Preview with #34073A

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

Preview Lab → · Contrast checker → · Palette generator →

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