#341D55#341D55

#341D55 is a dark, moderate violet. Relative luminance 0.023; OKLCH L 29.4% C 0.098 H 299.2°. Best body text is #FFFFFF at 14.45:1 contrast (WCAG AA passes).

Color values

HEX#341D55
RGBrgb(52, 29, 85)
HSLhsl(265, 49%, 22%)
HSVhsv(265, 66%, 33%)
CMYKcmyk(38.8%, 65.9%, 0%, 66.7%)
CIE-LABlab(16.82, 24.80, -30.04)
CIE-LCHlch(16.82, 38.95, 309.55°)
OKLaboklab(29.35% 0.0477 -0.0853)
OKLCHoklch(29.35% 0.098 299.2)
XYZxyz(3.4948, 2.2646, 8.8456)
Luminance0.0226 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341D55 #3E551D
analogous
#1D2255 #341D55 #501D55
triadic
#341D55 #55341D #1D5534
tetradic
#341D55 #551D22 #3E551D #1D5550
square
#341D55 #551D22 #3E551D #1D5550
split-complementary
#341D55 #55501D #22551D
monochromatic
#0E0817 #180D27 #341D55 #502D83 #6C3CB0

Accessibility & contrast

On white

14.45
#341D55 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#341D55 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #341D55
14.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341D55#FFFFFF#000000##FFFFFF
##341D551.0014.451.4514.45
#FFFFFF14.451.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002957
Deuteranopia (green-blind)
#082954
Tritanopia (blue-blind)
#2D2936
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #341d55;
/* rgb */ color: rgb(52, 29, 85);
/* oklch */ color: oklch(29.4% 0.098 299.2);
Tailwind
colors: {
  custom: {
    50: '#6e5a85',
    500: '#341d55',
    950: '#000000',
  },
}
SCSS
$custom: #341d55;
$custom-light: #6e5a85;
$custom-dark: #000000;
JSON
{
  "hex": "#341d55",
  "rgb": {
    "r": 52,
    "g": 29,
    "b": 85
  },
  "hsl": {
    "h": 264.643,
    "s": 49.123,
    "l": 22.353
  },
  "oklch": {
    "l": 0.29353,
    "c": 0.09773,
    "h": 299.2
  },
  "luminance": 0.02265
}

Semantic roles & 50–950 ramp

primary
#341D55
secondary
#6D8A44
accent
#D94FA0
background
#F6F5F8
surface
#ECE9EF
border
#C7C5CA
text
#07040B
muted
#7A797C

Preview Lab

Preview with #341D55

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

Preview Lab → · Contrast checker → · Palette generator →

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