#34082F#34082F

#34082F is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 23.4% C 0.087 H 333.0°. Best body text is #FFFFFF at 17.19:1 contrast (WCAG AA passes).

Color values

HEX#34082F
RGBrgb(52, 8, 47)
HSLhsl(307, 73%, 12%)
HSVhsv(307, 85%, 20%)
CMYKcmyk(0%, 84.6%, 9.6%, 79.6%)
CIE-LABlab(9.87, 26.90, -14.41)
CIE-LCHlch(9.87, 30.52, 331.83°)
OKLaboklab(23.45% 0.0776 -0.0395)
OKLCHoklch(23.45% 0.087 333)
XYZxyz(2.0161, 1.1091, 2.7967)
Luminance0.0111 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34082F #08340D
analogous
#230834 #34082F #340819
triadic
#34082F #2F3408 #082F34
tetradic
#34082F #342308 #08340D #081934
square
#34082F #342308 #08340D #081934
split-complementary
#34082F #193408 #083423
monochromatic
#1B0418 #1B0418 #34082F #69105F #9E188F

Accessibility & contrast

On white

17.19
#34082F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#34082F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34082F
17.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34082F#FFFFFF#000000##FFFFFF
##34082F1.0017.191.2217.19
#FFFFFF17.191.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#061730
Deuteranopia (green-blind)
#161D2E
Tritanopia (blue-blind)
#370C1A
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #34082f;
/* rgb */ color: rgb(52, 8, 47);
/* oklch */ color: oklch(23.4% 0.087 333.0);
Tailwind
colors: {
  custom: {
    50: '#6d4c67',
    500: '#34082f',
    950: '#000000',
  },
}
SCSS
$custom: #34082f;
$custom-light: #6d4c67;
$custom-dark: #000000;
JSON
{
  "hex": "#34082f",
  "rgb": {
    "r": 52,
    "g": 8,
    "b": 47
  },
  "hsl": {
    "h": 306.818,
    "s": 73.333,
    "l": 11.765
  },
  "oklch": {
    "l": 0.2345,
    "c": 0.08708,
    "h": 333
  },
  "luminance": 0.01109
}

Semantic roles & 50–950 ramp

primary
#34082F
secondary
#25732E
accent
#F04D38
background
#F6F4F6
surface
#ECE7EB
border
#C7C3C6
text
#070106
muted
#7A777A

Preview Lab

Preview with #34082F

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

Preview Lab → · Contrast checker → · Palette generator →

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