#341E96#341E96

#341E96 is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.8% C 0.180 H 280.6°. Best body text is #FFFFFF at 11.85:1 contrast (WCAG AA passes).

Color values

HEX#341E96
RGBrgb(52, 30, 150)
HSLhsl(251, 67%, 35%)
HSVhsv(251, 80%, 59%)
CMYKcmyk(65.3%, 80%, 0%, 41.2%)
CIE-LABlab(23.20, 44.37, -61.39)
CIE-LCHlch(23.20, 75.74, 305.86°)
OKLaboklab(35.78% 0.0331 -0.1772)
OKLCHoklch(35.78% 0.18 280.6)
XYZxyz(7.3837, 3.8600, 29.2042)
Luminance0.0386 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341E96 #80961E
analogous
#1E4496 #341E96 #701E96
triadic
#341E96 #96341E #1E9634
tetradic
#341E96 #961E44 #80961E #1E9670
square
#341E96 #961E44 #80961E #1E9670
split-complementary
#341E96 #96701E #44961E
monochromatic
#110A30 #221463 #341E96 #4628C9 #6B52DC

Accessibility & contrast

On white

11.85
#341E96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#341E96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #341E96
11.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341E96#FFFFFF#000000##FFFFFF
##341E961.0011.851.7711.85
#FFFFFF11.851.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B99
Deuteranopia (green-blind)
#003394
Tritanopia (blue-blind)
#00425A
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #341e96;
/* rgb */ color: rgb(52, 30, 150);
/* oklch */ color: oklch(35.8% 0.180 280.6);
Tailwind
colors: {
  custom: {
    50: '#7a5eb6',
    500: '#341e96',
    950: '#000000',
  },
}
SCSS
$custom: #341e96;
$custom-light: #7a5eb6;
$custom-dark: #000000;
JSON
{
  "hex": "#341e96",
  "rgb": {
    "r": 52,
    "g": 30,
    "b": 150
  },
  "hsl": {
    "h": 251,
    "s": 66.667,
    "l": 35.294
  },
  "oklch": {
    "l": 0.35778,
    "c": 0.18025,
    "h": 280.6
  },
  "luminance": 0.03861
}

Semantic roles & 50–950 ramp

primary
#341E96
secondary
#ABBF50
accent
#EA3ECA
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #341E96

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

Preview Lab → · Contrast checker → · Palette generator →

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