#341C9A#341C9A

#341C9A is a dark, vivid violet. Relative luminance 0.039; OKLCH L 36.0% C 0.187 H 280.2°. Best body text is #FFFFFF at 11.81:1 contrast (WCAG AA passes).

Color values

HEX#341C9A
RGBrgb(52, 28, 154)
HSLhsl(251, 69%, 36%)
HSVhsv(251, 82%, 60%)
CMYKcmyk(66.2%, 81.8%, 0%, 39.6%)
CIE-LABlab(23.31, 46.53, -63.66)
CIE-LCHlch(23.31, 78.86, 306.16°)
OKLaboklab(35.99% 0.0329 -0.1838)
OKLCHoklch(35.99% 0.187 280.2)
XYZxyz(7.6623, 3.8931, 30.9132)
Luminance0.0389 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341C9A #829A1C
analogous
#1C439A #341C9A #731C9A
triadic
#341C9A #9A341C #1C9A34
tetradic
#341C9A #9A1C43 #829A1C #1C9A73
square
#341C9A #9A1C43 #829A1C #1C9A73
split-complementary
#341C9A #9A731C #439A1C
monochromatic
#110932 #231366 #341C9A #4525CE #6C51DF

Accessibility & contrast

On white

11.81
#341C9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#341C9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #341C9A
11.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341C9A#FFFFFF#000000##FFFFFF
##341C9A1.0011.811.7811.81
#FFFFFF11.811.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.811.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: #341c9a;
/* rgb */ color: rgb(52, 28, 154);
/* oklch */ color: oklch(36.0% 0.187 280.2);
Tailwind
colors: {
  custom: {
    50: '#7b5db9',
    500: '#341c9a',
    950: '#000000',
  },
}
SCSS
$custom: #341c9a;
$custom-light: #7b5db9;
$custom-dark: #000000;
JSON
{
  "hex": "#341c9a",
  "rgb": {
    "r": 52,
    "g": 28,
    "b": 154
  },
  "hsl": {
    "h": 251.429,
    "s": 69.231,
    "l": 35.686
  },
  "oklch": {
    "l": 0.35986,
    "c": 0.18671,
    "h": 280.2
  },
  "luminance": 0.03894
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #341C9A

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

Preview Lab → · Contrast checker → · Palette generator →

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