#341D9E#341D9E

#341D9E is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.5% C 0.191 H 279.4°. Best body text is #FFFFFF at 11.57:1 contrast (WCAG AA passes).

Color values

HEX#341D9E
RGBrgb(52, 29, 158)
HSLhsl(251, 69%, 37%)
HSVhsv(251, 82%, 62%)
CMYKcmyk(67.1%, 81.6%, 0%, 38%)
CIE-LABlab(23.92, 47.27, -65.11)
CIE-LCHlch(23.92, 80.46, 305.98°)
OKLaboklab(36.54% 0.0312 -0.188)
OKLCHoklch(36.54% 0.191 279.4)
XYZxyz(8.0251, 4.0768, 32.7051)
Luminance0.0408 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341D9E #879E1D
analogous
#1D469E #341D9E #751D9E
triadic
#341D9E #9E341D #1D9E34
tetradic
#341D9E #9E1D46 #879E1D #1D9E75
square
#341D9E #9E1D46 #879E1D #1D9E75
split-complementary
#341D9E #9E751D #469E1D
monochromatic
#120A37 #23146A #341D9E #4526D2 #6E56E0

Accessibility & contrast

On white

11.57
#341D9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#341D9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #341D9E
11.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341D9E#FFFFFF#000000##FFFFFF
##341D9E1.0011.571.8211.57
#FFFFFF11.571.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.571.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: #341d9e;
/* rgb */ color: rgb(52, 29, 158);
/* oklch */ color: oklch(36.5% 0.191 279.4);
Tailwind
colors: {
  custom: {
    50: '#7b5ebc',
    500: '#341d9e',
    950: '#000000',
  },
}
SCSS
$custom: #341d9e;
$custom-light: #7b5ebc;
$custom-dark: #000000;
JSON
{
  "hex": "#341d9e",
  "rgb": {
    "r": 52,
    "g": 29,
    "b": 158
  },
  "hsl": {
    "h": 250.698,
    "s": 68.984,
    "l": 36.667
  },
  "oklch": {
    "l": 0.3654,
    "c": 0.19057,
    "h": 279.4
  },
  "luminance": 0.04077
}

Semantic roles & 50–950 ramp

primary
#341D9E
secondary
#AFC354
accent
#EC3CCC
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #341D9E

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

Preview Lab → · Contrast checker → · Palette generator →

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