#341E76#341E76

#341E76 is a dark, vivid violet. Relative luminance 0.030; OKLCH L 32.5% C 0.141 H 287.2°. Best body text is #FFFFFF at 13.18:1 contrast (WCAG AA passes).

Color values

HEX#341E76
RGBrgb(52, 30, 118)
HSLhsl(255, 59%, 29%)
HSVhsv(255, 75%, 46%)
CMYKcmyk(55.9%, 74.6%, 0%, 53.7%)
CIE-LABlab(19.91, 34.42, -46.70)
CIE-LCHlch(19.91, 58.01, 306.39°)
OKLaboklab(32.47% 0.0417 -0.1343)
OKLCHoklch(32.47% 0.141 287.2)
XYZxyz(5.1495, 2.9664, 17.4373)
Luminance0.0297 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341E76 #60761E
analogous
#1E3476 #341E76 #601E76
triadic
#341E76 #76341E #1E7634
tetradic
#341E76 #761E34 #60761E #1E7660
square
#341E76 #761E34 #60761E #1E7660
split-complementary
#341E76 #76601E #34761E
monochromatic
#0B0618 #1E1245 #341E76 #4A2AA7 #6440CE

Accessibility & contrast

On white

13.18
#341E76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#341E76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #341E76
13.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341E76#FFFFFF#000000##FFFFFF
##341E761.0013.181.5913.18
#FFFFFF13.181.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.181.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #341e76;
/* rgb */ color: rgb(52, 30, 118);
/* oklch */ color: oklch(32.5% 0.141 287.2);
Tailwind
colors: {
  custom: {
    50: '#735c9e',
    500: '#341e76',
    950: '#000000',
  },
}
SCSS
$custom: #341e76;
$custom-light: #735c9e;
$custom-dark: #000000;
JSON
{
  "hex": "#341e76",
  "rgb": {
    "r": 52,
    "g": 30,
    "b": 118
  },
  "hsl": {
    "h": 255,
    "s": 59.459,
    "l": 29.02
  },
  "oklch": {
    "l": 0.3247,
    "c": 0.14057,
    "h": 287.2
  },
  "luminance": 0.02967
}

Semantic roles & 50–950 ramp

primary
#341E76
secondary
#91AA46
accent
#E345BB
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #341E76

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

Preview Lab → · Contrast checker → · Palette generator →

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