#341E95#341E95

#341E95 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.7% C 0.179 H 280.7°. Best body text is #FFFFFF at 11.89:1 contrast (WCAG AA passes).

Color values

HEX#341E95
RGBrgb(52, 30, 149)
HSLhsl(251, 66%, 35%)
HSVhsv(251, 80%, 58%)
CMYKcmyk(65.1%, 79.9%, 0%, 41.6%)
CIE-LABlab(23.09, 44.06, -60.95)
CIE-LCHlch(23.09, 75.21, 305.86°)
OKLaboklab(35.67% 0.0334 -0.1759)
OKLCHoklch(35.67% 0.179 280.7)
XYZxyz(7.3035, 3.8280, 28.7819)
Luminance0.0383 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341E95 #7F951E
analogous
#1E4495 #341E95 #6F1E95
triadic
#341E95 #95341E #1E9534
tetradic
#341E95 #951E44 #7F951E #1E956F
square
#341E95 #951E44 #7F951E #1E956F
split-complementary
#341E95 #956F1E #44951E
monochromatic
#10092F #221462 #341E95 #4628C8 #6B51DC

Accessibility & contrast

On white

11.89
#341E95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#341E95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #341E95
11.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341E95#FFFFFF#000000##FFFFFF
##341E951.0011.891.7711.89
#FFFFFF11.891.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B98
Deuteranopia (green-blind)
#003393
Tritanopia (blue-blind)
#004259
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #341e95;
/* rgb */ color: rgb(52, 30, 149);
/* oklch */ color: oklch(35.7% 0.179 280.7);
Tailwind
colors: {
  custom: {
    50: '#795eb5',
    500: '#341e95',
    950: '#000000',
  },
}
SCSS
$custom: #341e95;
$custom-light: #795eb5;
$custom-dark: #000000;
JSON
{
  "hex": "#341e95",
  "rgb": {
    "r": 52,
    "g": 30,
    "b": 149
  },
  "hsl": {
    "h": 251.092,
    "s": 66.48,
    "l": 35.098
  },
  "oklch": {
    "l": 0.3567,
    "c": 0.17905,
    "h": 280.7
  },
  "luminance": 0.03829
}

Semantic roles & 50–950 ramp

primary
#341E95
secondary
#AABF50
accent
#E93ECA
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #341E95

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

Preview Lab → · Contrast checker → · Palette generator →

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