#34073C#34073C

#34073C is a very dark, moderate purple. Relative luminance 0.012; OKLCH L 24.3% C 0.101 H 321.0°. Best body text is #FFFFFF at 16.91:1 contrast (WCAG AA passes).

Color values

HEX#34073C
RGBrgb(52, 7, 60)
HSLhsl(291, 79%, 13%)
HSVhsv(291, 88%, 24%)
CMYKcmyk(13.3%, 88.3%, 0%, 76.5%)
CIE-LABlab(10.62, 30.04, -22.66)
CIE-LCHlch(10.62, 37.63, 322.97°)
OKLaboklab(24.28% 0.0786 -0.0635)
OKLCHoklch(24.28% 0.101 321)
XYZxyz(2.3077, 1.2084, 4.3858)
Luminance0.0121 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34073C #0F3C07
analogous
#19073C #34073C #3C0729
triadic
#34073C #3C3407 #073C34
tetradic
#34073C #3C1907 #0F3C07 #07293C
square
#34073C #3C1907 #0F3C07 #07293C
split-complementary
#34073C #293C07 #073C19
monochromatic
#18031B #18031B #34073C #630D73 #9314AA

Accessibility & contrast

On white

16.91
#34073C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #34073C
16.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34073C#FFFFFF#000000##FFFFFF
##34073C1.0016.911.2416.91
#FFFFFF16.911.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A3D
Deuteranopia (green-blind)
#0D1E3B
Tritanopia (blue-blind)
#341221
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #34073c;
/* rgb */ color: rgb(52, 7, 60);
/* oklch */ color: oklch(24.3% 0.101 321.0);
Tailwind
colors: {
  custom: {
    50: '#6e4d72',
    500: '#34073c',
    950: '#000000',
  },
}
SCSS
$custom: #34073c;
$custom-light: #6e4d72;
$custom-dark: #000000;
JSON
{
  "hex": "#34073c",
  "rgb": {
    "r": 52,
    "g": 7,
    "b": 60
  },
  "hsl": {
    "h": 290.943,
    "s": 79.104,
    "l": 13.137
  },
  "oklch": {
    "l": 0.24279,
    "c": 0.10102,
    "h": 321
  },
  "luminance": 0.01208
}

Semantic roles & 50–950 ramp

primary
#34073C
secondary
#317B23
accent
#F63250
background
#F6F4F6
surface
#ECE7EC
border
#C7C3C7
text
#070108
muted
#7A777B

Preview Lab

Preview with #34073C

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

Preview Lab → · Contrast checker → · Palette generator →

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