#34012F#34012F

#34012F is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.6% C 0.099 H 332.9°. Best body text is #FFFFFF at 17.63:1 contrast (WCAG AA passes).

Color values

HEX#34012F
RGBrgb(52, 1, 47)
HSLhsl(306, 96%, 10%)
HSVhsv(306, 98%, 20%)
CMYKcmyk(0%, 98.1%, 9.6%, 79.6%)
CIE-LABlab(8.63, 30.48, -16.37)
CIE-LCHlch(8.63, 34.60, 331.77°)
OKLaboklab(22.57% 0.0881 -0.0451)
OKLCHoklch(22.57% 0.099 332.9)
XYZxyz(1.9401, 0.9572, 2.7713)
Luminance0.0096 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34012F #013406
analogous
#1F0134 #34012F #340115
triadic
#34012F #2F3401 #012F34
tetradic
#34012F #341F01 #013406 #011534
square
#34012F #341F01 #013406 #011534
split-complementary
#34012F #153401 #01341F
monochromatic
#1E011B #1E011B #34012F #700265 #AC039C

Accessibility & contrast

On white

17.63
#34012F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #34012F
17.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34012F#FFFFFF#000000##FFFFFF
##34012F1.0017.631.1917.63
#FFFFFF17.631.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001430
Deuteranopia (green-blind)
#131B2E
Tritanopia (blue-blind)
#370618
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #34012f;
/* rgb */ color: rgb(52, 1, 47);
/* oklch */ color: oklch(22.6% 0.099 332.9);
Tailwind
colors: {
  custom: {
    50: '#6e4967',
    500: '#34012f',
    950: '#000000',
  },
}
SCSS
$custom: #34012f;
$custom-light: #6e4967;
$custom-dark: #000000;
JSON
{
  "hex": "#34012f",
  "rgb": {
    "r": 52,
    "g": 1,
    "b": 47
  },
  "hsl": {
    "h": 305.882,
    "s": 96.226,
    "l": 10.392
  },
  "oklch": {
    "l": 0.22565,
    "c": 0.09896,
    "h": 332.9
  },
  "luminance": 0.00957
}

Semantic roles & 50–950 ramp

primary
#34012F
secondary
#187921
accent
#FF3E29
background
#F6F4F6
surface
#ECE7EB
border
#C7C3C6
text
#070106
muted
#7A777A

Preview Lab

Preview with #34012F

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

Preview Lab → · Contrast checker → · Palette generator →

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