#34183A#34183A

#34183A is a dark, moderate purple. Relative luminance 0.017; OKLCH L 26.5% C 0.070 H 320.3°. Best body text is #FFFFFF at 15.70:1 contrast (WCAG AA passes).

Color values

HEX#34183A
RGBrgb(52, 24, 58)
HSLhsl(289, 41%, 16%)
HSVhsv(289, 59%, 23%)
CMYKcmyk(10.3%, 58.6%, 0%, 77.3%)
CIE-LABlab(13.76, 20.54, -16.24)
CIE-LCHlch(13.76, 26.19, 321.67°)
OKLaboklab(26.51% 0.0542 -0.045)
OKLCHoklch(26.51% 0.07 320.3)
XYZxyz(2.5064, 1.6889, 4.1961)
Luminance0.0169 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34183A #1E3A18
analogous
#23183A #34183A #3A182F
triadic
#34183A #3A3418 #183A34
tetradic
#34183A #3A2318 #1E3A18 #182F3A
square
#34183A #3A2318 #1E3A18 #182F3A
split-complementary
#34183A #2F3A18 #183A23
monochromatic
#130916 #130916 #34183A #5B2A65 #823C91

Accessibility & contrast

On white

15.70
#34183A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#34183A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34183A
15.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34183A#FFFFFF#000000##FFFFFF
##34183A1.0015.701.3415.70
#FFFFFF15.701.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#12213B
Deuteranopia (green-blind)
#1B2439
Tritanopia (blue-blind)
#341D26
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #34183a;
/* rgb */ color: rgb(52, 24, 58);
/* oklch */ color: oklch(26.5% 0.070 320.3);
Tailwind
colors: {
  custom: {
    50: '#6c5670',
    500: '#34183a',
    950: '#000000',
  },
}
SCSS
$custom: #34183a;
$custom-light: #6c5670;
$custom-dark: #000000;
JSON
{
  "hex": "#34183a",
  "rgb": {
    "r": 52,
    "g": 24,
    "b": 58
  },
  "hsl": {
    "h": 289.412,
    "s": 41.463,
    "l": 16.078
  },
  "oklch": {
    "l": 0.26511,
    "c": 0.07045,
    "h": 320.3
  },
  "luminance": 0.01689
}

Semantic roles & 50–950 ramp

primary
#34183A
secondary
#47703E
accent
#D1576C
background
#F6F5F6
surface
#EBE9EC
border
#C6C5C7
text
#070307
muted
#7A787A

Preview Lab

Preview with #34183A

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

Preview Lab → · Contrast checker → · Palette generator →

#34183A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva