#341E9F#341E9F

#341E9F is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.8% C 0.191 H 279.2°. Best body text is #FFFFFF at 11.46:1 contrast (WCAG AA passes).

Color values

HEX#341E9F
RGBrgb(52, 30, 159)
HSLhsl(250, 68%, 37%)
HSVhsv(250, 81%, 62%)
CMYKcmyk(67.3%, 81.1%, 0%, 37.6%)
CIE-LABlab(24.20, 47.10, -65.27)
CIE-LCHlch(24.20, 80.49, 305.82°)
OKLaboklab(36.76% 0.0304 -0.1885)
OKLCHoklch(36.76% 0.191 279.2)
XYZxyz(8.1365, 4.1611, 33.1686)
Luminance0.0416 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341E9F #899F1E
analogous
#1E489F #341E9F #751E9F
triadic
#341E9F #9F341E #1E9F34
tetradic
#341E9F #9F1E48 #899F1E #1E9F75
square
#341E9F #9F1E48 #899F1E #1E9F75
split-complementary
#341E9F #9F751E #489F1E
monochromatic
#120B38 #23146C #341E9F #4528D2 #6F58DF

Accessibility & contrast

On white

11.46
#341E9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #341E9F
11.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341E9F#FFFFFF#000000##FFFFFF
##341E9F1.0011.461.8311.46
#FFFFFF11.461.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003EA3
Deuteranopia (green-blind)
#00349D
Tritanopia (blue-blind)
#00465F
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #341e9f;
/* rgb */ color: rgb(52, 30, 159);
/* oklch */ color: oklch(36.8% 0.191 279.2);
Tailwind
colors: {
  custom: {
    50: '#7b5ebd',
    500: '#341e9f',
    950: '#000000',
  },
}
SCSS
$custom: #341e9f;
$custom-light: #7b5ebd;
$custom-dark: #000000;
JSON
{
  "hex": "#341e9f",
  "rgb": {
    "r": 52,
    "g": 30,
    "b": 159
  },
  "hsl": {
    "h": 250.233,
    "s": 68.254,
    "l": 37.059
  },
  "oklch": {
    "l": 0.36762,
    "c": 0.1909,
    "h": 279.2
  },
  "luminance": 0.04162
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #341E9F

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

Preview Lab → · Contrast checker → · Palette generator →

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