#341C95#341C95

#341C95 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.4% C 0.181 H 281.0°. Best body text is #FFFFFF at 12.03:1 contrast (WCAG AA passes).

Color values

HEX#341C95
RGBrgb(52, 28, 149)
HSLhsl(252, 68%, 35%)
HSVhsv(252, 81%, 58%)
CMYKcmyk(65.1%, 81.2%, 0%, 41.6%)
CIE-LABlab(22.76, 45.03, -61.51)
CIE-LCHlch(22.76, 76.23, 306.21°)
OKLaboklab(35.44% 0.0345 -0.1775)
OKLCHoklch(35.44% 0.181 281)
XYZxyz(7.2545, 3.7299, 28.7656)
Luminance0.0373 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341C95 #7D951C
analogous
#1C4095 #341C95 #711C95
triadic
#341C95 #95341C #1C9534
tetradic
#341C95 #951C40 #7D951C #1C9571
square
#341C95 #951C40 #7D951C #1C9571
split-complementary
#341C95 #95711C #40951C
monochromatic
#10092E #221261 #341C95 #4626C9 #6A4EDE

Accessibility & contrast

On white

12.03
#341C95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#341C95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #341C95
12.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341C95#FFFFFF#000000##FFFFFF
##341C951.0012.031.7512.03
#FFFFFF12.031.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A98
Deuteranopia (green-blind)
#003293
Tritanopia (blue-blind)
#004159
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #341c95;
/* rgb */ color: rgb(52, 28, 149);
/* oklch */ color: oklch(35.4% 0.181 281.0);
Tailwind
colors: {
  custom: {
    50: '#7a5db5',
    500: '#341c95',
    950: '#000000',
  },
}
SCSS
$custom: #341c95;
$custom-light: #7a5db5;
$custom-dark: #000000;
JSON
{
  "hex": "#341c95",
  "rgb": {
    "r": 52,
    "g": 28,
    "b": 149
  },
  "hsl": {
    "h": 251.901,
    "s": 68.362,
    "l": 34.706
  },
  "oklch": {
    "l": 0.35436,
    "c": 0.18083,
    "h": 281
  },
  "luminance": 0.0373
}

Semantic roles & 50–950 ramp

primary
#341C95
secondary
#A9C04D
accent
#EB3DC9
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #341C95

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

Preview Lab → · Contrast checker → · Palette generator →

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