#341D93#341D93

#341D93 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.3% C 0.178 H 281.2°. Best body text is #FFFFFF at 12.05:1 contrast (WCAG AA passes).

Color values

HEX#341D93
RGBrgb(52, 29, 147)
HSLhsl(252, 67%, 35%)
HSVhsv(252, 80%, 58%)
CMYKcmyk(64.6%, 80.3%, 0%, 42.4%)
CIE-LABlab(22.71, 43.94, -60.36)
CIE-LCHlch(22.71, 74.66, 306.06°)
OKLaboklab(35.33% 0.0345 -0.1742)
OKLCHoklch(35.33% 0.178 281.2)
XYZxyz(7.1203, 3.7148, 27.9399)
Luminance0.0372 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341D93 #7C931D
analogous
#1D4193 #341D93 #6F1D93
triadic
#341D93 #93341D #1D9334
tetradic
#341D93 #931D41 #7C931D #1D936F
square
#341D93 #931D41 #7C931D #1D936F
split-complementary
#341D93 #936F1D #41931D
monochromatic
#10092D #221360 #341D93 #4627C6 #6A4EDC

Accessibility & contrast

On white

12.05
#341D93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#341D93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #341D93
12.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341D93#FFFFFF#000000##FFFFFF
##341D931.0012.051.7412.05
#FFFFFF12.051.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A96
Deuteranopia (green-blind)
#003291
Tritanopia (blue-blind)
#004058
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #341d93;
/* rgb */ color: rgb(52, 29, 147);
/* oklch */ color: oklch(35.3% 0.178 281.2);
Tailwind
colors: {
  custom: {
    50: '#795db4',
    500: '#341d93',
    950: '#000000',
  },
}
SCSS
$custom: #341d93;
$custom-light: #795db4;
$custom-dark: #000000;
JSON
{
  "hex": "#341d93",
  "rgb": {
    "r": 52,
    "g": 29,
    "b": 147
  },
  "hsl": {
    "h": 251.695,
    "s": 67.045,
    "l": 34.51
  },
  "oklch": {
    "l": 0.35334,
    "c": 0.17756,
    "h": 281.2
  },
  "luminance": 0.03715
}

Semantic roles & 50–950 ramp

primary
#341D93
secondary
#A9BF4D
accent
#EA3EC8
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #341D93

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

Preview Lab → · Contrast checker → · Palette generator →

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