#341DA1#341DA1

#341DA1 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.9% C 0.194 H 279.0°. Best body text is #FFFFFF at 11.44:1 contrast (WCAG AA passes).

Color values

HEX#341DA1
RGBrgb(52, 29, 161)
HSLhsl(250, 69%, 37%)
HSVhsv(250, 82%, 63%)
CMYKcmyk(67.7%, 82%, 0%, 36.9%)
CIE-LABlab(24.26, 48.16, -66.38)
CIE-LCHlch(24.26, 82.01, 305.97°)
OKLaboklab(36.87% 0.0303 -0.1917)
OKLCHoklch(36.87% 0.194 279)
XYZxyz(8.2865, 4.1813, 34.0817)
Luminance0.0418 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341DA1 #8AA11D
analogous
#1D48A1 #341DA1 #761DA1
triadic
#341DA1 #A1341D #1DA134
tetradic
#341DA1 #A11D48 #8AA11D #1DA176
square
#341DA1 #A11D48 #8AA11D #1DA176
split-complementary
#341DA1 #A1761D #48A11D
monochromatic
#130A39 #23146D #341DA1 #4526D5 #6F58E1

Accessibility & contrast

On white

11.44
#341DA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#341DA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #341DA1
11.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341DA1#FFFFFF#000000##FFFFFF
##341DA11.0011.441.8411.44
#FFFFFF11.441.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003FA5
Deuteranopia (green-blind)
#00349F
Tritanopia (blue-blind)
#004660
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #341da1;
/* rgb */ color: rgb(52, 29, 161);
/* oklch */ color: oklch(36.9% 0.194 279.0);
Tailwind
colors: {
  custom: {
    50: '#7c5ebe',
    500: '#341da1',
    950: '#000000',
  },
}
SCSS
$custom: #341da1;
$custom-light: #7c5ebe;
$custom-dark: #000000;
JSON
{
  "hex": "#341da1",
  "rgb": {
    "r": 52,
    "g": 29,
    "b": 161
  },
  "hsl": {
    "h": 250.455,
    "s": 69.474,
    "l": 37.255
  },
  "oklch": {
    "l": 0.36873,
    "c": 0.19406,
    "h": 279
  },
  "luminance": 0.04182
}

Semantic roles & 50–950 ramp

primary
#341DA1
secondary
#B1C455
accent
#EC3CCD
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #341DA1

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

Preview Lab → · Contrast checker → · Palette generator →

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