#34022E#34022E

#34022E is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.6% C 0.096 H 333.9°. Best body text is #FFFFFF at 17.58:1 contrast (WCAG AA passes).

Color values

HEX#34022E
RGBrgb(52, 2, 46)
HSLhsl(307, 93%, 11%)
HSVhsv(307, 96%, 20%)
CMYKcmyk(0%, 96.2%, 11.5%, 79.6%)
CIE-LABlab(8.75, 29.77, -15.44)
CIE-LCHlch(8.75, 33.53, 332.59°)
OKLaboklab(22.63% 0.0865 -0.0424)
OKLCHoklch(22.63% 0.096 333.9)
XYZxyz(1.9310, 0.9709, 2.6699)
Luminance0.0097 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34022E #023408
analogous
#210234 #34022E #340215
triadic
#34022E #2E3402 #022E34
tetradic
#34022E #342102 #023408 #021534
square
#34022E #342102 #023408 #021534
split-complementary
#34022E #153402 #023421
monochromatic
#1D011A #1D011A #34022E #6F0462 #AA0796

Accessibility & contrast

On white

17.58
#34022E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #34022E
17.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34022E#FFFFFF#000000##FFFFFF
##34022E1.0017.581.1917.58
#FFFFFF17.581.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#01142F
Deuteranopia (green-blind)
#141C2D
Tritanopia (blue-blind)
#370618
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #34022e;
/* rgb */ color: rgb(52, 2, 46);
/* oklch */ color: oklch(22.6% 0.096 333.9);
Tailwind
colors: {
  custom: {
    50: '#6e4967',
    500: '#34022e',
    950: '#000000',
  },
}
SCSS
$custom: #34022e;
$custom-light: #6e4967;
$custom-dark: #000000;
JSON
{
  "hex": "#34022e",
  "rgb": {
    "r": 52,
    "g": 2,
    "b": 46
  },
  "hsl": {
    "h": 307.2,
    "s": 92.593,
    "l": 10.588
  },
  "oklch": {
    "l": 0.22626,
    "c": 0.09634,
    "h": 333.9
  },
  "luminance": 0.00971
}

Semantic roles & 50–950 ramp

primary
#34022E
secondary
#1A7825
accent
#FF4329
background
#F6F4F6
surface
#ECE7EB
border
#C7C3C6
text
#070106
muted
#7A777A

Preview Lab

Preview with #34022E

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

Preview Lab → · Contrast checker → · Palette generator →

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