#341D9A#341D9A

#341D9A is a dark, vivid violet. Relative luminance 0.039; OKLCH L 36.1% C 0.186 H 280.0°. Best body text is #FFFFFF at 11.74:1 contrast (WCAG AA passes).

Color values

HEX#341D9A
RGBrgb(52, 29, 154)
HSLhsl(251, 68%, 36%)
HSVhsv(251, 81%, 60%)
CMYKcmyk(66.2%, 81.2%, 0%, 39.6%)
CIE-LABlab(23.48, 46.06, -63.40)
CIE-LCHlch(23.48, 78.37, 306.00°)
OKLaboklab(36.1% 0.0324 -0.183)
OKLCHoklch(36.1% 0.186 280)
XYZxyz(7.6864, 3.9413, 30.9213)
Luminance0.0394 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341D9A #839A1D
analogous
#1D449A #341D9A #721D9A
triadic
#341D9A #9A341D #1D9A34
tetradic
#341D9A #9A1D44 #839A1D #1D9A72
square
#341D9A #9A1D44 #839A1D #1D9A72
split-complementary
#341D9A #9A721D #449A1D
monochromatic
#110A33 #231366 #341D9A #4527CE #6D53DF

Accessibility & contrast

On white

11.74
#341D9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#341D9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #341D9A
11.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341D9A#FFFFFF#000000##FFFFFF
##341D9A1.0011.741.7911.74
#FFFFFF11.741.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C9D
Deuteranopia (green-blind)
#003398
Tritanopia (blue-blind)
#00435C
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #341d9a;
/* rgb */ color: rgb(52, 29, 154);
/* oklch */ color: oklch(36.1% 0.186 280.0);
Tailwind
colors: {
  custom: {
    50: '#7a5db9',
    500: '#341d9a',
    950: '#000000',
  },
}
SCSS
$custom: #341d9a;
$custom-light: #7a5db9;
$custom-dark: #000000;
JSON
{
  "hex": "#341d9a",
  "rgb": {
    "r": 52,
    "g": 29,
    "b": 154
  },
  "hsl": {
    "h": 251.04,
    "s": 68.306,
    "l": 35.882
  },
  "oklch": {
    "l": 0.36098,
    "c": 0.18587,
    "h": 280
  },
  "luminance": 0.03942
}

Semantic roles & 50–950 ramp

primary
#341D9A
secondary
#ADC251
accent
#EB3DCB
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0412
muted
#7C7981

Preview Lab

Preview with #341D9A

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

Preview Lab → · Contrast checker → · Palette generator →

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