#341E84#341E84

#341E84 is a dark, vivid violet. Relative luminance 0.033; OKLCH L 33.9% C 0.158 H 284.0°. Best body text is #FFFFFF at 12.61:1 contrast (WCAG AA passes).

Color values

HEX#341E84
RGBrgb(52, 30, 132)
HSLhsl(253, 63%, 32%)
HSVhsv(253, 77%, 52%)
CMYKcmyk(60.6%, 77.3%, 0%, 48.2%)
CIE-LABlab(21.30, 38.80, -53.32)
CIE-LCHlch(21.30, 65.94, 306.05°)
OKLaboklab(33.88% 0.0382 -0.1536)
OKLCHoklch(33.88% 0.158 284)
XYZxyz(6.0440, 3.3242, 22.1485)
Luminance0.0333 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341E84 #6E841E
analogous
#1E3B84 #341E84 #671E84
triadic
#341E84 #84341E #1E8434
tetradic
#341E84 #841E3B #6E841E #1E8467
square
#341E84 #841E3B #6E841E #1E8467
split-complementary
#341E84 #84671E #3B841E
monochromatic
#0D0720 #201352 #341E84 #4829B6 #6647D5

Accessibility & contrast

On white

12.61
#341E84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#341E84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #341E84
12.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341E84#FFFFFF#000000##FFFFFF
##341E841.0012.611.6712.61
#FFFFFF12.611.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003687
Deuteranopia (green-blind)
#003082
Tritanopia (blue-blind)
#033B50
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #341e84;
/* rgb */ color: rgb(52, 30, 132);
/* oklch */ color: oklch(33.9% 0.158 284.0);
Tailwind
colors: {
  custom: {
    50: '#765da9',
    500: '#341e84',
    950: '#000000',
  },
}
SCSS
$custom: #341e84;
$custom-light: #765da9;
$custom-dark: #000000;
JSON
{
  "hex": "#341e84",
  "rgb": {
    "r": 52,
    "g": 30,
    "b": 132
  },
  "hsl": {
    "h": 252.941,
    "s": 62.963,
    "l": 31.765
  },
  "oklch": {
    "l": 0.33875,
    "c": 0.1583,
    "h": 284
  },
  "luminance": 0.03325
}

Semantic roles & 50–950 ramp

primary
#341E84
secondary
#9FB747
accent
#E642C3
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #341E84

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

Preview Lab → · Contrast checker → · Palette generator →

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