#341D41#341D41

#341D41 is a dark, moderate violet. Relative luminance 0.020; OKLCH L 27.9% C 0.070 H 312.1°. Best body text is #FFFFFF at 15.02:1 contrast (WCAG AA passes).

Color values

HEX#341D41
RGBrgb(52, 29, 65)
HSLhsl(278, 38%, 18%)
HSVhsv(278, 55%, 25%)
CMYKcmyk(20%, 55.4%, 0%, 74.5%)
CIE-LABlab(15.44, 19.09, -18.53)
CIE-LCHlch(15.44, 26.60, 315.86°)
OKLaboklab(27.89% 0.0467 -0.0516)
OKLCHoklch(27.89% 0.07 312.1)
XYZxyz(2.8095, 1.9905, 5.2362)
Luminance0.0199 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341D41 #2A411D
analogous
#221D41 #341D41 #411D3C
triadic
#341D41 #41341D #1D4134
tetradic
#341D41 #41221D #2A411D #1D3C41
square
#341D41 #41221D #2A411D #1D3C41
split-complementary
#341D41 #3C411D #1D4122
monochromatic
#110915 #120A17 #341D41 #56306B #784396

Accessibility & contrast

On white

15.02
#341D41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#341D41 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #341D41
15.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341D41#FFFFFF#000000##FFFFFF
##341D411.0015.021.4015.02
#FFFFFF15.021.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#152542
Deuteranopia (green-blind)
#1B2740
Tritanopia (blue-blind)
#33232C
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #341d41;
/* rgb */ color: rgb(52, 29, 65);
/* oklch */ color: oklch(27.9% 0.070 312.1);
Tailwind
colors: {
  custom: {
    50: '#6c5a76',
    500: '#341d41',
    950: '#000000',
  },
}
SCSS
$custom: #341d41;
$custom-light: #6c5a76;
$custom-dark: #000000;
JSON
{
  "hex": "#341d41",
  "rgb": {
    "r": 52,
    "g": 29,
    "b": 65
  },
  "hsl": {
    "h": 278.333,
    "s": 38.298,
    "l": 18.431
  },
  "oklch": {
    "l": 0.27891,
    "c": 0.06964,
    "h": 312.1
  },
  "luminance": 0.0199
}

Semantic roles & 50–950 ramp

primary
#341D41
secondary
#567644
accent
#CE5A84
background
#F6F5F7
surface
#EBE9ED
border
#C6C5C8
text
#070308
muted
#7A787B

Preview Lab

Preview with #341D41

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

Preview Lab → · Contrast checker → · Palette generator →

#341D41 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva