#341834#341834

#341834 is a dark, moderate purple. Relative luminance 0.016; OKLCH L 26.1% C 0.063 H 327.2°. Best body text is #FFFFFF at 15.83:1 contrast (WCAG AA passes).

Color values

HEX#341834
RGBrgb(52, 24, 52)
HSLhsl(300, 37%, 15%)
HSVhsv(300, 54%, 20%)
CMYKcmyk(0%, 53.8%, 0%, 79.6%)
CIE-LABlab(13.42, 19.11, -12.49)
CIE-LCHlch(13.42, 22.83, 326.83°)
OKLaboklab(26.15% 0.0531 -0.0342)
OKLCHoklch(26.15% 0.063 327.2)
XYZxyz(2.3626, 1.6314, 3.4386)
Luminance0.0163 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341834 #183418
analogous
#261834 #341834 #341826
triadic
#341834 #343418 #183434
tetradic
#341834 #342618 #183418 #182634
square
#341834 #342618 #183418 #182634
split-complementary
#341834 #263418 #183426
monochromatic
#150A15 #150A15 #341834 #5E2B5E #883F88

Accessibility & contrast

On white

15.83
#341834 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#341834 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #341834
15.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341834#FFFFFF#000000##FFFFFF
##3418341.0015.831.3315.83
#FFFFFF15.831.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#162035
Deuteranopia (green-blind)
#1E2433
Tritanopia (blue-blind)
#361B23
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #341834;
/* rgb */ color: rgb(52, 24, 52);
/* oklch */ color: oklch(26.1% 0.063 327.2);
Tailwind
colors: {
  custom: {
    50: '#6c566b',
    500: '#341834',
    950: '#000000',
  },
}
SCSS
$custom: #341834;
$custom-light: #6c566b;
$custom-dark: #000000;
JSON
{
  "hex": "#341834",
  "rgb": {
    "r": 52,
    "g": 24,
    "b": 52
  },
  "hsl": {
    "h": 300,
    "s": 36.842,
    "l": 14.902
  },
  "oklch": {
    "l": 0.26146,
    "c": 0.06312,
    "h": 327.2
  },
  "luminance": 0.01631
}

Semantic roles & 50–950 ramp

primary
#341834
secondary
#3E6A3E
accent
#CD5B5B
background
#F6F5F6
surface
#EBE9EB
border
#C6C5C6
text
#070306
muted
#7A787A

Preview Lab

Preview with #341834

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

Preview Lab → · Contrast checker → · Palette generator →

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