#34073B#34073B

#34073B is a very dark, moderate purple. Relative luminance 0.012; OKLCH L 24.2% C 0.100 H 321.9°. Best body text is #FFFFFF at 16.94:1 contrast (WCAG AA passes).

Color values

HEX#34073B
RGBrgb(52, 7, 59)
HSLhsl(292, 79%, 13%)
HSVhsv(292, 88%, 23%)
CMYKcmyk(11.9%, 88.1%, 0%, 76.9%)
CIE-LABlab(10.54, 29.83, -22.07)
CIE-LCHlch(10.54, 37.11, 323.50°)
OKLaboklab(24.2% 0.0787 -0.0618)
OKLCHoklch(24.2% 0.1 321.9)
XYZxyz(2.2815, 1.1979, 4.2479)
Luminance0.0120 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34073B #0E3B07
analogous
#1A073B #34073B #3B0728
triadic
#34073B #3B3407 #073B34
tetradic
#34073B #3B1A07 #0E3B07 #07283B
square
#34073B #3B1A07 #0E3B07 #07283B
split-complementary
#34073B #283B07 #073B1A
monochromatic
#18031B #18031B #34073B #640D72 #9414A8

Accessibility & contrast

On white

16.94
#34073B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #34073B
16.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34073B#FFFFFF#000000##FFFFFF
##34073B1.0016.941.2416.94
#FFFFFF16.941.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00193C
Deuteranopia (green-blind)
#0E1E3A
Tritanopia (blue-blind)
#351121
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #34073b;
/* rgb */ color: rgb(52, 7, 59);
/* oklch */ color: oklch(24.2% 0.100 321.9);
Tailwind
colors: {
  custom: {
    50: '#6e4d71',
    500: '#34073b',
    950: '#000000',
  },
}
SCSS
$custom: #34073b;
$custom-light: #6e4d71;
$custom-dark: #000000;
JSON
{
  "hex": "#34073b",
  "rgb": {
    "r": 52,
    "g": 7,
    "b": 59
  },
  "hsl": {
    "h": 291.923,
    "s": 78.788,
    "l": 12.941
  },
  "oklch": {
    "l": 0.242,
    "c": 0.10004,
    "h": 321.9
  },
  "luminance": 0.01198
}

Semantic roles & 50–950 ramp

primary
#34073B
secondary
#2F7A23
accent
#F5334D
background
#F6F4F6
surface
#ECE7EC
border
#C7C3C7
text
#070107
muted
#7A777A

Preview Lab

Preview with #34073B

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

Preview Lab → · Contrast checker → · Palette generator →

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