#341C9E#341C9E

#341C9E is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.4% C 0.191 H 279.5°. Best body text is #FFFFFF at 11.63:1 contrast (WCAG AA passes).

Color values

HEX#341C9E
RGBrgb(52, 28, 158)
HSLhsl(251, 70%, 36%)
HSVhsv(251, 82%, 62%)
CMYKcmyk(67.1%, 82.3%, 0%, 38%)
CIE-LABlab(23.77, 47.73, -65.37)
CIE-LCHlch(23.77, 80.94, 306.13°)
OKLaboklab(36.43% 0.0317 -0.1887)
OKLCHoklch(36.43% 0.191 279.5)
XYZxyz(8.0010, 4.0285, 32.6971)
Luminance0.0403 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341C9E #869E1C
analogous
#1C459E #341C9E #751C9E
triadic
#341C9E #9E341C #1C9E34
tetradic
#341C9E #9E1C45 #869E1C #1C9E75
square
#341C9E #9E1C45 #869E1C #1C9E75
split-complementary
#341C9E #9E751C #459E1C
monochromatic
#120A36 #23136A #341C9E #4525D2 #6E54E1

Accessibility & contrast

On white

11.63
#341C9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #341C9E
11.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341C9E#FFFFFF#000000##FFFFFF
##341C9E1.0011.631.8111.63
#FFFFFF11.631.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003DA2
Deuteranopia (green-blind)
#00339C
Tritanopia (blue-blind)
#00445E
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #341c9e;
/* rgb */ color: rgb(52, 28, 158);
/* oklch */ color: oklch(36.4% 0.191 279.5);
Tailwind
colors: {
  custom: {
    50: '#7b5dbc',
    500: '#341c9e',
    950: '#000000',
  },
}
SCSS
$custom: #341c9e;
$custom-light: #7b5dbc;
$custom-dark: #000000;
JSON
{
  "hex": "#341c9e",
  "rgb": {
    "r": 52,
    "g": 28,
    "b": 158
  },
  "hsl": {
    "h": 251.077,
    "s": 69.892,
    "l": 36.471
  },
  "oklch": {
    "l": 0.36431,
    "c": 0.19139,
    "h": 279.5
  },
  "luminance": 0.04029
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #341C9E

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

Preview Lab → · Contrast checker → · Palette generator →

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