#34022C#34022C

#34022C is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.5% C 0.095 H 335.9°. Best body text is #FFFFFF at 17.63:1 contrast (WCAG AA passes).

Color values

HEX#34022C
RGBrgb(52, 2, 44)
HSLhsl(310, 93%, 11%)
HSVhsv(310, 96%, 20%)
CMYKcmyk(0%, 96.2%, 15.4%, 79.6%)
CIE-LABlab(8.62, 29.42, -14.15)
CIE-LCHlch(8.62, 32.65, 334.31°)
OKLaboklab(22.49% 0.0865 -0.0387)
OKLCHoklch(22.49% 0.095 335.9)
XYZxyz(1.8925, 0.9555, 2.4671)
Luminance0.0095 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34022C #02340A
analogous
#230234 #34022C #340213
triadic
#34022C #2C3402 #022C34
tetradic
#34022C #342302 #02340A #021334
square
#34022C #342302 #02340A #021334
split-complementary
#34022C #133402 #023423
monochromatic
#1D0119 #1D0119 #34022C #6F045E #AA0790

Accessibility & contrast

On white

17.63
#34022C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #34022C
17.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34022C#FFFFFF#000000##FFFFFF
##34022C1.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)
#02142D
Deuteranopia (green-blind)
#151B2B
Tritanopia (blue-blind)
#370516
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #34022c;
/* rgb */ color: rgb(52, 2, 44);
/* oklch */ color: oklch(22.5% 0.095 335.9);
Tailwind
colors: {
  custom: {
    50: '#6e4965',
    500: '#34022c',
    950: '#000000',
  },
}
SCSS
$custom: #34022c;
$custom-light: #6e4965;
$custom-dark: #000000;
JSON
{
  "hex": "#34022c",
  "rgb": {
    "r": 52,
    "g": 2,
    "b": 44
  },
  "hsl": {
    "h": 309.6,
    "s": 92.593,
    "l": 10.588
  },
  "oklch": {
    "l": 0.2249,
    "c": 0.09473,
    "h": 335.9
  },
  "luminance": 0.00955
}

Semantic roles & 50–950 ramp

primary
#34022C
secondary
#1A7829
accent
#FF4B29
background
#F6F4F6
surface
#ECE7EB
border
#C7C3C6
text
#070105
muted
#7A777A

Preview Lab

Preview with #34022C

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

Preview Lab → · Contrast checker → · Palette generator →

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