#341D49#341D49

#341D49 is a dark, moderate violet. Relative luminance 0.021; OKLCH L 28.4% C 0.081 H 306.0°. Best body text is #FFFFFF at 14.81:1 contrast (WCAG AA passes).

Color values

HEX#341D49
RGBrgb(52, 29, 73)
HSLhsl(271, 43%, 20%)
HSVhsv(271, 60%, 29%)
CMYKcmyk(28.8%, 60.3%, 0%, 71.4%)
CIE-LABlab(15.95, 21.30, -23.25)
CIE-LCHlch(15.95, 31.53, 312.49°)
OKLaboklab(28.44% 0.0476 -0.0654)
OKLCHoklch(28.44% 0.081 306)
XYZxyz(3.0579, 2.0899, 6.5443)
Luminance0.0209 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341D49 #32491D
analogous
#1E1D49 #341D49 #491D48
triadic
#341D49 #49341D #1D4934
tetradic
#341D49 #491E1D #32491D #1D4849
square
#341D49 #491E1D #32491D #1D4849
split-complementary
#341D49 #48491D #1D491E
monochromatic
#100916 #150C1D #341D49 #532E75 #7240A1

Accessibility & contrast

On white

14.81
#341D49 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#341D49 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #341D49
14.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341D49#FFFFFF#000000##FFFFFF
##341D491.0014.811.4214.81
#FFFFFF14.811.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E274A
Deuteranopia (green-blind)
#162848
Tritanopia (blue-blind)
#31252F
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #341d49;
/* rgb */ color: rgb(52, 29, 73);
/* oklch */ color: oklch(28.4% 0.081 306.0);
Tailwind
colors: {
  custom: {
    50: '#6d5a7c',
    500: '#341d49',
    950: '#000000',
  },
}
SCSS
$custom: #341d49;
$custom-light: #6d5a7c;
$custom-dark: #000000;
JSON
{
  "hex": "#341d49",
  "rgb": {
    "r": 52,
    "g": 29,
    "b": 73
  },
  "hsl": {
    "h": 271.364,
    "s": 43.137,
    "l": 20
  },
  "oklch": {
    "l": 0.28439,
    "c": 0.08089,
    "h": 306
  },
  "luminance": 0.0209
}

Semantic roles & 50–950 ramp

primary
#341D49
secondary
#607E44
accent
#D35591
background
#F6F5F7
surface
#ECE9EE
border
#C7C5C9
text
#070409
muted
#7A797B

Preview Lab

Preview with #341D49

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

Preview Lab → · Contrast checker → · Palette generator →

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