#34022F#34022F

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

Color values

HEX#34022F
RGBrgb(52, 2, 47)
HSLhsl(306, 93%, 11%)
HSVhsv(306, 96%, 20%)
CMYKcmyk(0%, 96.2%, 9.6%, 79.6%)
CIE-LABlab(8.81, 29.94, -16.07)
CIE-LCHlch(8.81, 33.98, 331.77°)
OKLaboklab(22.7% 0.0865 -0.0443)
OKLCHoklch(22.7% 0.097 332.9)
XYZxyz(1.9510, 0.9789, 2.7750)
Luminance0.0098 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34022F #023407
analogous
#200234 #34022F #340216
triadic
#34022F #2F3402 #022F34
tetradic
#34022F #342002 #023407 #021634
square
#34022F #342002 #023407 #021634
split-complementary
#34022F #163402 #023420
monochromatic
#1D011B #1D011B #34022F #6F0464 #AA079A

Accessibility & contrast

On white

17.56
#34022F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#34022F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34022F
17.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34022F#FFFFFF#000000##FFFFFF
##34022F1.0017.561.2017.56
#FFFFFF17.561.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.561.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #34022f;
/* rgb */ color: rgb(52, 2, 47);
/* oklch */ color: oklch(22.7% 0.097 332.9);
Tailwind
colors: {
  custom: {
    50: '#6e4967',
    500: '#34022f',
    950: '#000000',
  },
}
SCSS
$custom: #34022f;
$custom-light: #6e4967;
$custom-dark: #000000;
JSON
{
  "hex": "#34022f",
  "rgb": {
    "r": 52,
    "g": 2,
    "b": 47
  },
  "hsl": {
    "h": 306,
    "s": 92.593,
    "l": 10.588
  },
  "oklch": {
    "l": 0.22696,
    "c": 0.09717,
    "h": 332.9
  },
  "luminance": 0.00979
}

Semantic roles & 50–950 ramp

primary
#34022F
secondary
#1A7823
accent
#FF3E29
background
#F6F4F6
surface
#ECE7EB
border
#C7C3C6
text
#070106
muted
#7A777A

Preview Lab

Preview with #34022F

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

Preview Lab → · Contrast checker → · Palette generator →

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