#34073E#34073E

#34073E is a very dark, moderate purple. Relative luminance 0.012; OKLCH L 24.4% C 0.103 H 319.4°. Best body text is #FFFFFF at 16.85:1 contrast (WCAG AA passes).

Color values

HEX#34073E
RGBrgb(52, 7, 62)
HSLhsl(289, 80%, 14%)
HSVhsv(289, 89%, 24%)
CMYKcmyk(16.1%, 88.7%, 0%, 75.7%)
CIE-LABlab(10.78, 30.48, -23.84)
CIE-LCHlch(10.78, 38.70, 321.97°)
OKLaboklab(24.44% 0.0783 -0.067)
OKLCHoklch(24.44% 0.103 319.4)
XYZxyz(2.3615, 1.2299, 4.6695)
Luminance0.0123 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34073E #113E07
analogous
#18073E #34073E #3E072C
triadic
#34073E #3E3407 #073E34
tetradic
#34073E #3E1807 #113E07 #072C3E
square
#34073E #3E1807 #113E07 #072C3E
split-complementary
#34073E #2C3E07 #073E18
monochromatic
#17031B #17031B #34073E #620D75 #9013AC

Accessibility & contrast

On white

16.85
#34073E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#34073E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34073E
16.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34073E#FFFFFF#000000##FFFFFF
##34073E1.0016.851.2516.85
#FFFFFF16.851.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A3F
Deuteranopia (green-blind)
#0B1E3D
Tritanopia (blue-blind)
#341322
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #34073e;
/* rgb */ color: rgb(52, 7, 62);
/* oklch */ color: oklch(24.4% 0.103 319.4);
Tailwind
colors: {
  custom: {
    50: '#6e4d74',
    500: '#34073e',
    950: '#000000',
  },
}
SCSS
$custom: #34073e;
$custom-light: #6e4d74;
$custom-dark: #000000;
JSON
{
  "hex": "#34073e",
  "rgb": {
    "r": 52,
    "g": 7,
    "b": 62
  },
  "hsl": {
    "h": 289.091,
    "s": 79.71,
    "l": 13.529
  },
  "oklch": {
    "l": 0.2444,
    "c": 0.103,
    "h": 319.4
  },
  "luminance": 0.0123
}

Semantic roles & 50–950 ramp

primary
#34073E
secondary
#347D24
accent
#F63255
background
#F6F4F7
surface
#ECE7ED
border
#C7C3C8
text
#070108
muted
#7A777B

Preview Lab

Preview with #34073E

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

Preview Lab → · Contrast checker → · Palette generator →

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