#341E91#341E91

#341E91 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.2% C 0.174 H 281.4°. Best body text is #FFFFFF at 12.06:1 contrast (WCAG AA passes).

Color values

HEX#341E91
RGBrgb(52, 30, 145)
HSLhsl(251, 66%, 34%)
HSVhsv(251, 79%, 57%)
CMYKcmyk(64.1%, 79.3%, 0%, 43.1%)
CIE-LABlab(22.66, 42.83, -59.19)
CIE-LCHlch(22.66, 73.06, 305.89°)
OKLaboklab(35.24% 0.0345 -0.1708)
OKLCHoklch(35.24% 0.174 281.4)
XYZxyz(6.9897, 3.7024, 27.1289)
Luminance0.0370 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341E91 #7B911E
analogous
#1E4291 #341E91 #6E1E91
triadic
#341E91 #91341E #1E9134
tetradic
#341E91 #911E42 #7B911E #1E916E
square
#341E91 #911E42 #7B911E #1E916E
split-complementary
#341E91 #916E1E #42911E
monochromatic
#10092C #22145E #341E91 #4628C4 #6A4FDB

Accessibility & contrast

On white

12.06
#341E91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #341E91
12.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341E91#FFFFFF#000000##FFFFFF
##341E911.0012.061.7412.06
#FFFFFF12.061.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A94
Deuteranopia (green-blind)
#00328F
Tritanopia (blue-blind)
#004057
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #341e91;
/* rgb */ color: rgb(52, 30, 145);
/* oklch */ color: oklch(35.2% 0.174 281.4);
Tailwind
colors: {
  custom: {
    50: '#795db2',
    500: '#341e91',
    950: '#000000',
  },
}
SCSS
$custom: #341e91;
$custom-light: #795db2;
$custom-dark: #000000;
JSON
{
  "hex": "#341e91",
  "rgb": {
    "r": 52,
    "g": 30,
    "b": 145
  },
  "hsl": {
    "h": 251.478,
    "s": 65.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.3524,
    "c": 0.17424,
    "h": 281.4
  },
  "luminance": 0.03703
}

Semantic roles & 50–950 ramp

primary
#341E91
secondary
#A8BD4D
accent
#E93FC8
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #341E91

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

Preview Lab → · Contrast checker → · Palette generator →

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