#341832#341832

#341832 is a dark, moderate purple. Relative luminance 0.016; OKLCH L 26.0% C 0.061 H 329.8°. Best body text is #FFFFFF at 15.88:1 contrast (WCAG AA passes).

Color values

HEX#341832
RGBrgb(52, 24, 50)
HSLhsl(304, 37%, 15%)
HSVhsv(304, 54%, 20%)
CMYKcmyk(0%, 53.8%, 3.8%, 79.6%)
CIE-LABlab(13.31, 18.66, -11.22)
CIE-LCHlch(13.31, 21.77, 328.98°)
OKLaboklab(26.03% 0.0526 -0.0306)
OKLCHoklch(26.03% 0.061 329.8)
XYZxyz(2.3185, 1.6137, 3.2064)
Luminance0.0161 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341832 #18341A
analogous
#281834 #341832 #341824
triadic
#341832 #323418 #183234
tetradic
#341832 #342818 #18341A #182434
square
#341832 #342818 #18341A #182434
split-complementary
#341832 #243418 #183428
monochromatic
#150A14 #150A14 #341832 #5E2B5A #883F83

Accessibility & contrast

On white

15.88
#341832 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#341832 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #341832
15.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341832#FFFFFF#000000##FFFFFF
##3418321.0015.881.3215.88
#FFFFFF15.881.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#172033
Deuteranopia (green-blind)
#1E2431
Tritanopia (blue-blind)
#361A22
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #341832;
/* rgb */ color: rgb(52, 24, 50);
/* oklch */ color: oklch(26.0% 0.061 329.8);
Tailwind
colors: {
  custom: {
    50: '#6c566a',
    500: '#341832',
    950: '#000000',
  },
}
SCSS
$custom: #341832;
$custom-light: #6c566a;
$custom-dark: #000000;
JSON
{
  "hex": "#341832",
  "rgb": {
    "r": 52,
    "g": 24,
    "b": 50
  },
  "hsl": {
    "h": 304.286,
    "s": 36.842,
    "l": 14.902
  },
  "oklch": {
    "l": 0.26032,
    "c": 0.06081,
    "h": 329.8
  },
  "luminance": 0.01614
}

Semantic roles & 50–950 ramp

primary
#341832
secondary
#3E6A41
accent
#CD635B
background
#F6F5F6
surface
#EBE9EB
border
#C6C5C6
text
#070306
muted
#7A787A

Preview Lab

Preview with #341832

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

Preview Lab → · Contrast checker → · Palette generator →

#341832 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva