#341B59#341B59

#341B59 is a dark, moderate violet. Relative luminance 0.022; OKLCH L 29.3% C 0.106 H 298.1°. Best body text is #FFFFFF at 14.51:1 contrast (WCAG AA passes).

Color values

HEX#341B59
RGBrgb(52, 27, 89)
HSLhsl(264, 53%, 23%)
HSVhsv(264, 70%, 35%)
CMYKcmyk(41.6%, 69.7%, 0%, 65.1%)
CIE-LABlab(16.68, 27.24, -32.96)
CIE-LCHlch(16.68, 42.76, 309.57°)
OKLaboklab(29.35% 0.0501 -0.0939)
OKLCHoklch(29.35% 0.106 298.1)
XYZxyz(3.6108, 2.2351, 9.6904)
Luminance0.0223 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341B59 #40591B
analogous
#1B2159 #341B59 #531B59
triadic
#341B59 #59341B #1B5934
tetradic
#341B59 #591B21 #40591B #1B5953
square
#341B59 #591B21 #40591B #1B5953
split-complementary
#341B59 #59531B #21591B
monochromatic
#0E0717 #190D2A #341B59 #4F2988 #6B37B7

Accessibility & contrast

On white

14.51
#341B59 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #341B59
14.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341B59#FFFFFF#000000##FFFFFF
##341B591.0014.511.4514.51
#FFFFFF14.511.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00295B
Deuteranopia (green-blind)
#002958
Tritanopia (blue-blind)
#2B2937
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #341b59;
/* rgb */ color: rgb(52, 27, 89);
/* oklch */ color: oklch(29.3% 0.106 298.1);
Tailwind
colors: {
  custom: {
    50: '#6f5988',
    500: '#341b59',
    950: '#000000',
  },
}
SCSS
$custom: #341b59;
$custom-light: #6f5988;
$custom-dark: #000000;
JSON
{
  "hex": "#341b59",
  "rgb": {
    "r": 52,
    "g": 27,
    "b": 89
  },
  "hsl": {
    "h": 264.194,
    "s": 53.448,
    "l": 22.745
  },
  "oklch": {
    "l": 0.2935,
    "c": 0.10639,
    "h": 298.1
  },
  "luminance": 0.02235
}

Semantic roles & 50–950 ramp

primary
#341B59
secondary
#6F8F41
accent
#DD4BA2
background
#F6F5F8
surface
#ECE9F0
border
#C7C5CB
text
#08030B
muted
#7B787C

Preview Lab

Preview with #341B59

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

Preview Lab → · Contrast checker → · Palette generator →

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