#341D96#341D96

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

Color values

HEX#341D96
RGBrgb(52, 29, 150)
HSLhsl(251, 68%, 35%)
HSVhsv(251, 81%, 59%)
CMYKcmyk(65.3%, 80.7%, 0%, 41.2%)
CIE-LABlab(23.03, 44.86, -61.67)
CIE-LCHlch(23.03, 76.26, 306.03°)
OKLaboklab(35.66% 0.0336 -0.178)
OKLCHoklch(35.66% 0.181 280.7)
XYZxyz(7.3588, 3.8102, 29.1959)
Luminance0.0381 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341D96 #7F961D
analogous
#1D4296 #341D96 #711D96
triadic
#341D96 #96341D #1D9634
tetradic
#341D96 #961D42 #7F961D #1D9671
square
#341D96 #961D42 #7F961D #1D9671
split-complementary
#341D96 #96711D #42961D
monochromatic
#10092F #221363 #341D96 #4627C9 #6B50DD

Accessibility & contrast

On white

11.92
#341D96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#341D96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #341D96
11.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341D96#FFFFFF#000000##FFFFFF
##341D961.0011.921.7611.92
#FFFFFF11.921.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B99
Deuteranopia (green-blind)
#003294
Tritanopia (blue-blind)
#00425A
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #341d96;
/* rgb */ color: rgb(52, 29, 150);
/* oklch */ color: oklch(35.7% 0.181 280.7);
Tailwind
colors: {
  custom: {
    50: '#7a5db6',
    500: '#341d96',
    950: '#000000',
  },
}
SCSS
$custom: #341d96;
$custom-light: #7a5db6;
$custom-dark: #000000;
JSON
{
  "hex": "#341d96",
  "rgb": {
    "r": 52,
    "g": 29,
    "b": 150
  },
  "hsl": {
    "h": 251.405,
    "s": 67.598,
    "l": 35.098
  },
  "oklch": {
    "l": 0.3566,
    "c": 0.18114,
    "h": 280.7
  },
  "luminance": 0.03811
}

Semantic roles & 50–950 ramp

primary
#341D96
secondary
#AAC04F
accent
#EA3DCA
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #341D96

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

Preview Lab → · Contrast checker → · Palette generator →

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