#34012C#34012C

#34012C is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 22.4% C 0.097 H 335.8°. Best body text is #FFFFFF at 17.69:1 contrast (WCAG AA passes).

Color values

HEX#34012C
RGBrgb(52, 1, 44)
HSLhsl(309, 96%, 10%)
HSVhsv(309, 98%, 20%)
CMYKcmyk(0%, 98.1%, 15.4%, 79.6%)
CIE-LABlab(8.43, 29.97, -14.45)
CIE-LCHlch(8.43, 33.27, 334.26°)
OKLaboklab(22.36% 0.0881 -0.0396)
OKLCHoklch(22.36% 0.097 335.8)
XYZxyz(1.8817, 0.9338, 2.4635)
Luminance0.0093 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34012C #013409
analogous
#220134 #34012C #340112
triadic
#34012C #2C3401 #012C34
tetradic
#34012C #342201 #013409 #011234
square
#34012C #342201 #013409 #011234
split-complementary
#34012C #123401 #013422
monochromatic
#1E0119 #1E0119 #34012C #70025F #AC0392

Accessibility & contrast

On white

17.69
#34012C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#34012C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34012C
17.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34012C#FFFFFF#000000##FFFFFF
##34012C1.0017.691.1917.69
#FFFFFF17.691.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#01132D
Deuteranopia (green-blind)
#141B2B
Tritanopia (blue-blind)
#370416
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #34012c;
/* rgb */ color: rgb(52, 1, 44);
/* oklch */ color: oklch(22.4% 0.097 335.8);
Tailwind
colors: {
  custom: {
    50: '#6e4865',
    500: '#34012c',
    950: '#000000',
  },
}
SCSS
$custom: #34012c;
$custom-light: #6e4865;
$custom-dark: #000000;
JSON
{
  "hex": "#34012c",
  "rgb": {
    "r": 52,
    "g": 1,
    "b": 44
  },
  "hsl": {
    "h": 309.412,
    "s": 96.226,
    "l": 10.392
  },
  "oklch": {
    "l": 0.22356,
    "c": 0.09657,
    "h": 335.8
  },
  "luminance": 0.00934
}

Semantic roles & 50–950 ramp

primary
#34012C
secondary
#187927
accent
#FF4A29
background
#F6F4F6
surface
#ECE7EB
border
#C7C3C6
text
#070105
muted
#7A777A

Preview Lab

Preview with #34012C

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

Preview Lab → · Contrast checker → · Palette generator →

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