#34012E#34012E

#34012E is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 22.5% C 0.098 H 333.9°. Best body text is #FFFFFF at 17.65:1 contrast (WCAG AA passes).

Color values

HEX#34012E
RGBrgb(52, 1, 46)
HSLhsl(307, 96%, 10%)
HSVhsv(307, 98%, 20%)
CMYKcmyk(0%, 98.1%, 11.5%, 79.6%)
CIE-LABlab(8.56, 30.31, -15.73)
CIE-LCHlch(8.56, 34.15, 332.57°)
OKLaboklab(22.49% 0.0881 -0.0433)
OKLCHoklch(22.49% 0.098 333.9)
XYZxyz(1.9202, 0.9492, 2.6663)
Luminance0.0095 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34012E #013407
analogous
#200134 #34012E #340114
triadic
#34012E #2E3401 #012E34
tetradic
#34012E #342001 #013407 #011434
square
#34012E #342001 #013407 #011434
split-complementary
#34012E #143401 #013420
monochromatic
#1E011B #1E011B #34012E #700263 #AC0398

Accessibility & contrast

On white

17.65
#34012E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #34012E
17.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34012E#FFFFFF#000000##FFFFFF
##34012E1.0017.651.1917.65
#FFFFFF17.651.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00142F
Deuteranopia (green-blind)
#131B2D
Tritanopia (blue-blind)
#370517
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #34012e;
/* rgb */ color: rgb(52, 1, 46);
/* oklch */ color: oklch(22.5% 0.098 333.9);
Tailwind
colors: {
  custom: {
    50: '#6e4967',
    500: '#34012e',
    950: '#000000',
  },
}
SCSS
$custom: #34012e;
$custom-light: #6e4967;
$custom-dark: #000000;
JSON
{
  "hex": "#34012e",
  "rgb": {
    "r": 52,
    "g": 1,
    "b": 46
  },
  "hsl": {
    "h": 307.059,
    "s": 96.226,
    "l": 10.392
  },
  "oklch": {
    "l": 0.22494,
    "c": 0.09816,
    "h": 333.9
  },
  "luminance": 0.00949
}

Semantic roles & 50–950 ramp

primary
#34012E
secondary
#187923
accent
#FF4229
background
#F6F4F6
surface
#ECE7EB
border
#C7C3C6
text
#070106
muted
#7A777A

Preview Lab

Preview with #34012E

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

Preview Lab → · Contrast checker → · Palette generator →

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