#341C9D#341C9D

#341C9D is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.3% C 0.190 H 279.7°. Best body text is #FFFFFF at 11.67:1 contrast (WCAG AA passes).

Color values

HEX#341C9D
RGBrgb(52, 28, 157)
HSLhsl(251, 70%, 36%)
HSVhsv(251, 82%, 62%)
CMYKcmyk(66.9%, 82.2%, 0%, 38.4%)
CIE-LABlab(23.65, 47.43, -64.95)
CIE-LCHlch(23.65, 80.42, 306.14°)
OKLaboklab(36.32% 0.032 -0.1875)
OKLCHoklch(36.32% 0.19 279.7)
XYZxyz(7.9153, 3.9942, 32.2456)
Luminance0.0399 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341C9D #859D1C
analogous
#1C459D #341C9D #751C9D
triadic
#341C9D #9D341C #1C9D34
tetradic
#341C9D #9D1C45 #859D1C #1C9D75
square
#341C9D #9D1C45 #859D1C #1C9D75
split-complementary
#341C9D #9D751C #459D1C
monochromatic
#120935 #231369 #341C9D #4525D1 #6D53E0

Accessibility & contrast

On white

11.67
#341C9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #341C9D
11.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341C9D#FFFFFF#000000##FFFFFF
##341C9D1.0011.671.8011.67
#FFFFFF11.671.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003DA1
Deuteranopia (green-blind)
#00339B
Tritanopia (blue-blind)
#00445D
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #341c9d;
/* rgb */ color: rgb(52, 28, 157);
/* oklch */ color: oklch(36.3% 0.190 279.7);
Tailwind
colors: {
  custom: {
    50: '#7b5dbb',
    500: '#341c9d',
    950: '#000000',
  },
}
SCSS
$custom: #341c9d;
$custom-light: #7b5dbb;
$custom-dark: #000000;
JSON
{
  "hex": "#341c9d",
  "rgb": {
    "r": 52,
    "g": 28,
    "b": 157
  },
  "hsl": {
    "h": 251.163,
    "s": 69.73,
    "l": 36.275
  },
  "oklch": {
    "l": 0.36319,
    "c": 0.19022,
    "h": 279.7
  },
  "luminance": 0.03995
}

Semantic roles & 50–950 ramp

primary
#341C9D
secondary
#AEC351
accent
#ED3BCC
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0412
muted
#7C7981

Preview Lab

Preview with #341C9D

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

Preview Lab → · Contrast checker → · Palette generator →

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