#341C9B#341C9B

#341C9B is a dark, vivid violet. Relative luminance 0.039; OKLCH L 36.1% C 0.188 H 280.0°. Best body text is #FFFFFF at 11.76:1 contrast (WCAG AA passes).

Color values

HEX#341C9B
RGBrgb(52, 28, 155)
HSLhsl(251, 69%, 36%)
HSVhsv(251, 82%, 61%)
CMYKcmyk(66.5%, 81.9%, 0%, 39.2%)
CIE-LABlab(23.43, 46.83, -64.09)
CIE-LCHlch(23.43, 79.38, 306.16°)
OKLaboklab(36.1% 0.0326 -0.185)
OKLCHoklch(36.1% 0.188 280)
XYZxyz(7.7459, 3.9265, 31.3537)
Luminance0.0393 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341C9B #839B1C
analogous
#1C439B #341C9B #731C9B
triadic
#341C9B #9B341C #1C9B34
tetradic
#341C9B #9B1C43 #839B1C #1C9B73
square
#341C9B #9B1C43 #839B1C #1C9B73
split-complementary
#341C9B #9B731C #439B1C
monochromatic
#110933 #231367 #341C9B #4525CF #6D52E0

Accessibility & contrast

On white

11.76
#341C9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#341C9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #341C9B
11.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341C9B#FFFFFF#000000##FFFFFF
##341C9B1.0011.761.7911.76
#FFFFFF11.761.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C9E
Deuteranopia (green-blind)
#003399
Tritanopia (blue-blind)
#00435C
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #341c9b;
/* rgb */ color: rgb(52, 28, 155);
/* oklch */ color: oklch(36.1% 0.188 280.0);
Tailwind
colors: {
  custom: {
    50: '#7b5dba',
    500: '#341c9b',
    950: '#000000',
  },
}
SCSS
$custom: #341c9b;
$custom-light: #7b5dba;
$custom-dark: #000000;
JSON
{
  "hex": "#341c9b",
  "rgb": {
    "r": 52,
    "g": 28,
    "b": 155
  },
  "hsl": {
    "h": 251.339,
    "s": 69.399,
    "l": 35.882
  },
  "oklch": {
    "l": 0.36097,
    "c": 0.18788,
    "h": 280
  },
  "luminance": 0.03927
}

Semantic roles & 50–950 ramp

primary
#341C9B
secondary
#ADC350
accent
#EC3CCB
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0412
muted
#7C7981

Preview Lab

Preview with #341C9B

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

Preview Lab → · Contrast checker → · Palette generator →

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