#341E9E#341E9E

#341E9E is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.7% C 0.190 H 279.3°. Best body text is #FFFFFF at 11.50:1 contrast (WCAG AA passes).

Color values

HEX#341E9E
RGBrgb(52, 30, 158)
HSLhsl(250, 68%, 37%)
HSVhsv(250, 81%, 62%)
CMYKcmyk(67.1%, 81%, 0%, 38%)
CIE-LABlab(24.09, 46.80, -64.84)
CIE-LCHlch(24.09, 79.96, 305.82°)
OKLaboklab(36.65% 0.0307 -0.1872)
OKLCHoklch(36.65% 0.19 279.3)
XYZxyz(8.0500, 4.1266, 32.7134)
Luminance0.0413 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341E9E #889E1E
analogous
#1E489E #341E9E #741E9E
triadic
#341E9E #9E341E #1E9E34
tetradic
#341E9E #9E1E48 #889E1E #1E9E74
square
#341E9E #9E1E48 #889E1E #1E9E74
split-complementary
#341E9E #9E741E #489E1E
monochromatic
#120A37 #23146B #341E9E #4528D1 #6F57DF

Accessibility & contrast

On white

11.50
#341E9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#341E9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #341E9E
11.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341E9E#FFFFFF#000000##FFFFFF
##341E9E1.0011.501.8311.50
#FFFFFF11.501.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003EA2
Deuteranopia (green-blind)
#00349C
Tritanopia (blue-blind)
#00455E
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #341e9e;
/* rgb */ color: rgb(52, 30, 158);
/* oklch */ color: oklch(36.7% 0.190 279.3);
Tailwind
colors: {
  custom: {
    50: '#7b5ebc',
    500: '#341e9e',
    950: '#000000',
  },
}
SCSS
$custom: #341e9e;
$custom-light: #7b5ebc;
$custom-dark: #000000;
JSON
{
  "hex": "#341e9e",
  "rgb": {
    "r": 52,
    "g": 30,
    "b": 158
  },
  "hsl": {
    "h": 250.313,
    "s": 68.085,
    "l": 36.863
  },
  "oklch": {
    "l": 0.36652,
    "c": 0.18973,
    "h": 279.3
  },
  "luminance": 0.04127
}

Semantic roles & 50–950 ramp

primary
#341E9E
secondary
#B0C355
accent
#EB3DCD
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #341E9E

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

Preview Lab → · Contrast checker → · Palette generator →

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