#341C9F#341C9F

#341C9F is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.5% C 0.193 H 279.4°. Best body text is #FFFFFF at 11.58:1 contrast (WCAG AA passes).

Color values

HEX#341C9F
RGBrgb(52, 28, 159)
HSLhsl(251, 70%, 37%)
HSVhsv(251, 82%, 62%)
CMYKcmyk(67.3%, 82.4%, 0%, 37.6%)
CIE-LABlab(23.88, 48.03, -65.79)
CIE-LCHlch(23.88, 81.46, 306.13°)
OKLaboklab(36.54% 0.0313 -0.19)
OKLCHoklch(36.54% 0.193 279.4)
XYZxyz(8.0874, 4.0631, 33.1522)
Luminance0.0406 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341C9F #879F1C
analogous
#1C469F #341C9F #761C9F
triadic
#341C9F #9F341C #1C9F34
tetradic
#341C9F #9F1C46 #879F1C #1C9F76
square
#341C9F #9F1C46 #879F1C #1C9F76
split-complementary
#341C9F #9F761C #469F1C
monochromatic
#120A37 #23136B #341C9F #4525D3 #6E54E1

Accessibility & contrast

On white

11.58
#341C9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#341C9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #341C9F
11.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341C9F#FFFFFF#000000##FFFFFF
##341C9F1.0011.581.8111.58
#FFFFFF11.581.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003EA3
Deuteranopia (green-blind)
#00349D
Tritanopia (blue-blind)
#00455F
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #341c9f;
/* rgb */ color: rgb(52, 28, 159);
/* oklch */ color: oklch(36.5% 0.193 279.4);
Tailwind
colors: {
  custom: {
    50: '#7c5dbd',
    500: '#341c9f',
    950: '#000000',
  },
}
SCSS
$custom: #341c9f;
$custom-light: #7c5dbd;
$custom-dark: #000000;
JSON
{
  "hex": "#341c9f",
  "rgb": {
    "r": 52,
    "g": 28,
    "b": 159
  },
  "hsl": {
    "h": 250.992,
    "s": 70.053,
    "l": 36.667
  },
  "oklch": {
    "l": 0.36542,
    "c": 0.19255,
    "h": 279.4
  },
  "luminance": 0.04064
}

Semantic roles & 50–950 ramp

primary
#341C9F
secondary
#AFC453
accent
#ED3BCC
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0412
muted
#7C7981

Preview Lab

Preview with #341C9F

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

Preview Lab → · Contrast checker → · Palette generator →

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