#34102F#34102F

#34102F is a very dark, moderate purple. Relative luminance 0.013; OKLCH L 24.5% C 0.074 H 333.3°. Best body text is #FFFFFF at 16.65:1 contrast (WCAG AA passes).

Color values

HEX#34102F
RGBrgb(52, 16, 47)
HSLhsl(308, 53%, 13%)
HSVhsv(308, 69%, 20%)
CMYKcmyk(0%, 69.2%, 9.6%, 79.6%)
CIE-LABlab(11.32, 22.88, -12.14)
CIE-LCHlch(11.32, 25.90, 332.05°)
OKLaboklab(24.5% 0.0659 -0.0331)
OKLCHoklch(24.5% 0.074 333.3)
XYZxyz(2.1146, 1.3060, 2.8295)
Luminance0.0131 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34102F #103415
analogous
#271034 #34102F #34101D
triadic
#34102F #2F3410 #102F34
tetradic
#34102F #342710 #103415 #101D34
square
#34102F #342710 #103415 #101D34
split-complementary
#34102F #1D3410 #103427
monochromatic
#170715 #170715 #34102F #631E59 #922D84

Accessibility & contrast

On white

16.65
#34102F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#34102F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34102F
16.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34102F#FFFFFF#000000##FFFFFF
##34102F1.0016.651.2616.65
#FFFFFF16.651.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F1B30
Deuteranopia (green-blind)
#1A202E
Tritanopia (blue-blind)
#37131D
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #34102f;
/* rgb */ color: rgb(52, 16, 47);
/* oklch */ color: oklch(24.5% 0.074 333.3);
Tailwind
colors: {
  custom: {
    50: '#6d5167',
    500: '#34102f',
    950: '#000000',
  },
}
SCSS
$custom: #34102f;
$custom-light: #6d5167;
$custom-dark: #000000;
JSON
{
  "hex": "#34102f",
  "rgb": {
    "r": 52,
    "g": 16,
    "b": 47
  },
  "hsl": {
    "h": 308.333,
    "s": 52.941,
    "l": 13.333
  },
  "oklch": {
    "l": 0.24503,
    "c": 0.07371,
    "h": 333.3
  },
  "luminance": 0.01306
}

Semantic roles & 50–950 ramp

primary
#34102F
secondary
#326E3B
accent
#DC604B
background
#F6F4F6
surface
#ECE7EB
border
#C7C3C6
text
#070206
muted
#7A787A

Preview Lab

Preview with #34102F

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

Preview Lab → · Contrast checker → · Palette generator →

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