#34073F#34073F

#34073F is a very dark, moderate purple. Relative luminance 0.012; OKLCH L 24.5% C 0.104 H 318.7°. Best body text is #FFFFFF at 16.82:1 contrast (WCAG AA passes).

Color values

HEX#34073F
RGBrgb(52, 7, 63)
HSLhsl(288, 80%, 14%)
HSVhsv(288, 89%, 25%)
CMYKcmyk(17.5%, 88.9%, 0%, 75.3%)
CIE-LABlab(10.86, 30.71, -24.42)
CIE-LCHlch(10.86, 39.24, 321.50°)
OKLaboklab(24.52% 0.0781 -0.0687)
OKLCHoklch(24.52% 0.104 318.7)
XYZxyz(2.3892, 1.2410, 4.8154)
Luminance0.0124 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34073F #123F07
analogous
#18073F #34073F #3F072E
triadic
#34073F #3F3407 #073F34
tetradic
#34073F #3F1807 #123F07 #072E3F
square
#34073F #3F1807 #123F07 #072E3F
split-complementary
#34073F #2E3F07 #073F18
monochromatic
#17031C #17031C #34073F #610D76 #8F13AD

Accessibility & contrast

On white

16.82
#34073F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #34073F
16.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34073F#FFFFFF#000000##FFFFFF
##34073F1.0016.821.2516.82
#FFFFFF16.821.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A40
Deuteranopia (green-blind)
#0A1F3E
Tritanopia (blue-blind)
#341323
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #34073f;
/* rgb */ color: rgb(52, 7, 63);
/* oklch */ color: oklch(24.5% 0.104 318.7);
Tailwind
colors: {
  custom: {
    50: '#6e4d74',
    500: '#34073f',
    950: '#000000',
  },
}
SCSS
$custom: #34073f;
$custom-light: #6e4d74;
$custom-dark: #000000;
JSON
{
  "hex": "#34073f",
  "rgb": {
    "r": 52,
    "g": 7,
    "b": 63
  },
  "hsl": {
    "h": 288.214,
    "s": 80,
    "l": 13.725
  },
  "oklch": {
    "l": 0.24522,
    "c": 0.104,
    "h": 318.7
  },
  "luminance": 0.01241
}

Semantic roles & 50–950 ramp

primary
#34073F
secondary
#357E24
accent
#F63158
background
#F6F4F7
surface
#ECE7ED
border
#C7C3C8
text
#070108
muted
#7A777B

Preview Lab

Preview with #34073F

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

Preview Lab → · Contrast checker → · Palette generator →

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