#341C96#341C96

#341C96 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.5% C 0.182 H 280.8°. Best body text is #FFFFFF at 11.98:1 contrast (WCAG AA passes).

Color values

HEX#341C96
RGBrgb(52, 28, 150)
HSLhsl(252, 69%, 35%)
HSVhsv(252, 81%, 59%)
CMYKcmyk(65.3%, 81.3%, 0%, 41.2%)
CIE-LABlab(22.87, 45.34, -61.94)
CIE-LCHlch(22.87, 76.76, 306.20°)
OKLaboklab(35.55% 0.0342 -0.1788)
OKLCHoklch(35.55% 0.182 280.8)
XYZxyz(7.3347, 3.7620, 29.1879)
Luminance0.0376 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341C96 #7E961C
analogous
#1C4196 #341C96 #711C96
triadic
#341C96 #96341C #1C9634
tetradic
#341C96 #961C41 #7E961C #1C9671
square
#341C96 #961C41 #7E961C #1C9671
split-complementary
#341C96 #96711C #41961C
monochromatic
#10092F #221262 #341C96 #4626CA #6B4EDE

Accessibility & contrast

On white

11.98
#341C96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#341C96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #341C96
11.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341C96#FFFFFF#000000##FFFFFF
##341C961.0011.981.7511.98
#FFFFFF11.981.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B99
Deuteranopia (green-blind)
#003294
Tritanopia (blue-blind)
#004159
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #341c96;
/* rgb */ color: rgb(52, 28, 150);
/* oklch */ color: oklch(35.5% 0.182 280.8);
Tailwind
colors: {
  custom: {
    50: '#7a5db6',
    500: '#341c96',
    950: '#000000',
  },
}
SCSS
$custom: #341c96;
$custom-light: #7a5db6;
$custom-dark: #000000;
JSON
{
  "hex": "#341c96",
  "rgb": {
    "r": 52,
    "g": 28,
    "b": 150
  },
  "hsl": {
    "h": 251.803,
    "s": 68.539,
    "l": 34.902
  },
  "oklch": {
    "l": 0.35545,
    "c": 0.18201,
    "h": 280.8
  },
  "luminance": 0.03763
}

Semantic roles & 50–950 ramp

primary
#341C96
secondary
#AAC14D
accent
#EB3CC9
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #341C96

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

Preview Lab → · Contrast checker → · Palette generator →

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