#341D76#341D76

#341D76 is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.3% C 0.142 H 287.5°. Best body text is #FFFFFF at 13.26:1 contrast (WCAG AA passes).

Color values

HEX#341D76
RGBrgb(52, 29, 118)
HSLhsl(256, 61%, 29%)
HSVhsv(256, 75%, 46%)
CMYKcmyk(55.9%, 75.4%, 0%, 53.7%)
CIE-LABlab(19.71, 34.98, -47.03)
CIE-LCHlch(19.71, 58.61, 306.64°)
OKLaboklab(32.33% 0.0426 -0.1352)
OKLCHoklch(32.33% 0.142 287.5)
XYZxyz(5.1246, 2.9165, 17.4289)
Luminance0.0292 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341D76 #5F761D
analogous
#1D3376 #341D76 #611D76
triadic
#341D76 #76341D #1D7634
tetradic
#341D76 #761D33 #5F761D #1D7661
square
#341D76 #761D33 #5F761D #1D7661
split-complementary
#341D76 #76611D #33761D
monochromatic
#0B0619 #1E1145 #341D76 #4A29A7 #643ED0

Accessibility & contrast

On white

13.26
#341D76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#341D76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #341D76
13.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341D76#FFFFFF#000000##FFFFFF
##341D761.0013.261.5813.26
#FFFFFF13.261.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003279
Deuteranopia (green-blind)
#002D74
Tritanopia (blue-blind)
#193547
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #341d76;
/* rgb */ color: rgb(52, 29, 118);
/* oklch */ color: oklch(32.3% 0.142 287.5);
Tailwind
colors: {
  custom: {
    50: '#735b9e',
    500: '#341d76',
    950: '#000000',
  },
}
SCSS
$custom: #341d76;
$custom-light: #735b9e;
$custom-dark: #000000;
JSON
{
  "hex": "#341d76",
  "rgb": {
    "r": 52,
    "g": 29,
    "b": 118
  },
  "hsl": {
    "h": 255.506,
    "s": 60.544,
    "l": 28.824
  },
  "oklch": {
    "l": 0.32326,
    "c": 0.14176,
    "h": 287.5
  },
  "luminance": 0.02917
}

Semantic roles & 50–950 ramp

primary
#341D76
secondary
#90AA45
accent
#E444BA
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #341D76

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

Preview Lab → · Contrast checker → · Palette generator →

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