#341E9A#341E9A

#341E9A is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.2% C 0.185 H 279.9°. Best body text is #FFFFFF at 11.68:1 contrast (WCAG AA passes).

Color values

HEX#341E9A
RGBrgb(52, 30, 154)
HSLhsl(251, 67%, 36%)
HSVhsv(251, 81%, 60%)
CMYKcmyk(66.2%, 80.5%, 0%, 39.6%)
CIE-LABlab(23.64, 45.58, -63.12)
CIE-LCHlch(23.64, 77.86, 305.83°)
OKLaboklab(36.21% 0.0319 -0.1822)
OKLCHoklch(36.21% 0.185 279.9)
XYZxyz(7.7113, 3.9911, 30.9296)
Luminance0.0399 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341E9A #849A1E
analogous
#1E469A #341E9A #721E9A
triadic
#341E9A #9A341E #1E9A34
tetradic
#341E9A #9A1E46 #849A1E #1E9A72
square
#341E9A #9A1E46 #849A1E #1E9A72
split-complementary
#341E9A #9A721E #469A1E
monochromatic
#110A34 #231467 #341E9A #4528CD #6D55DE

Accessibility & contrast

On white

11.68
#341E9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#341E9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #341E9A
11.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341E9A#FFFFFF#000000##FFFFFF
##341E9A1.0011.681.8011.68
#FFFFFF11.681.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.681.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #341e9a;
/* rgb */ color: rgb(52, 30, 154);
/* oklch */ color: oklch(36.2% 0.185 279.9);
Tailwind
colors: {
  custom: {
    50: '#7a5eb9',
    500: '#341e9a',
    950: '#000000',
  },
}
SCSS
$custom: #341e9a;
$custom-light: #7a5eb9;
$custom-dark: #000000;
JSON
{
  "hex": "#341e9a",
  "rgb": {
    "r": 52,
    "g": 30,
    "b": 154
  },
  "hsl": {
    "h": 250.645,
    "s": 67.391,
    "l": 36.078
  },
  "oklch": {
    "l": 0.36213,
    "c": 0.18501,
    "h": 279.9
  },
  "luminance": 0.03992
}

Semantic roles & 50–950 ramp

primary
#341E9A
secondary
#AEC153
accent
#EA3ECC
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #341E9A

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

Preview Lab → · Contrast checker → · Palette generator →

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