#341C99#341C99

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

Color values

HEX#341C99
RGBrgb(52, 28, 153)
HSLhsl(252, 69%, 35%)
HSVhsv(252, 82%, 60%)
CMYKcmyk(66%, 81.7%, 0%, 40%)
CIE-LABlab(23.20, 46.24, -63.24)
CIE-LCHlch(23.20, 78.34, 306.17°)
OKLaboklab(35.88% 0.0332 -0.1825)
OKLCHoklch(35.88% 0.186 280.3)
XYZxyz(7.5794, 3.8599, 30.4764)
Luminance0.0386 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341C99 #81991C
analogous
#1C4299 #341C99 #721C99
triadic
#341C99 #99341C #1C9934
tetradic
#341C99 #991C42 #81991C #1C9972
square
#341C99 #991C42 #81991C #1C9972
split-complementary
#341C99 #99721C #42991C
monochromatic
#110932 #221365 #341C99 #4625CD #6C50DF

Accessibility & contrast

On white

11.85
#341C99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#341C99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #341C99
11.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341C99#FFFFFF#000000##FFFFFF
##341C991.0011.851.7711.85
#FFFFFF11.851.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C9C
Deuteranopia (green-blind)
#003397
Tritanopia (blue-blind)
#00425B
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #341c99;
/* rgb */ color: rgb(52, 28, 153);
/* oklch */ color: oklch(35.9% 0.186 280.3);
Tailwind
colors: {
  custom: {
    50: '#7a5db8',
    500: '#341c99',
    950: '#000000',
  },
}
SCSS
$custom: #341c99;
$custom-light: #7a5db8;
$custom-dark: #000000;
JSON
{
  "hex": "#341c99",
  "rgb": {
    "r": 52,
    "g": 28,
    "b": 153
  },
  "hsl": {
    "h": 251.52,
    "s": 69.061,
    "l": 35.49
  },
  "oklch": {
    "l": 0.35876,
    "c": 0.18554,
    "h": 280.3
  },
  "luminance": 0.0386
}

Semantic roles & 50–950 ramp

primary
#341C99
secondary
#ACC24F
accent
#EC3CCA
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0412
muted
#7C7981

Preview Lab

Preview with #341C99

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

Preview Lab → · Contrast checker → · Palette generator →

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