#341C93#341C93

#341C93 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.2% C 0.178 H 281.3°. Best body text is #FFFFFF at 12.11:1 contrast (WCAG AA passes).

Color values

HEX#341C93
RGBrgb(52, 28, 147)
HSLhsl(252, 68%, 34%)
HSVhsv(252, 81%, 58%)
CMYKcmyk(64.6%, 81%, 0%, 42.4%)
CIE-LABlab(22.54, 44.43, -60.64)
CIE-LCHlch(22.54, 75.17, 306.23°)
OKLaboklab(35.22% 0.0351 -0.175)
OKLCHoklch(35.22% 0.178 281.3)
XYZxyz(7.0962, 3.6666, 27.9319)
Luminance0.0367 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341C93 #7B931C
analogous
#1C4093 #341C93 #701C93
triadic
#341C93 #93341C #1C9334
tetradic
#341C93 #931C40 #7B931C #1C9370
square
#341C93 #931C40 #7B931C #1C9370
split-complementary
#341C93 #93701C #40931C
monochromatic
#10082C #221260 #341C93 #4626C6 #6A4CDD

Accessibility & contrast

On white

12.11
#341C93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#341C93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #341C93
12.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341C93#FFFFFF#000000##FFFFFF
##341C931.0012.111.7312.11
#FFFFFF12.111.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A96
Deuteranopia (green-blind)
#003191
Tritanopia (blue-blind)
#004058
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #341c93;
/* rgb */ color: rgb(52, 28, 147);
/* oklch */ color: oklch(35.2% 0.178 281.3);
Tailwind
colors: {
  custom: {
    50: '#795cb4',
    500: '#341c93',
    950: '#000000',
  },
}
SCSS
$custom: #341c93;
$custom-light: #795cb4;
$custom-dark: #000000;
JSON
{
  "hex": "#341c93",
  "rgb": {
    "r": 52,
    "g": 28,
    "b": 147
  },
  "hsl": {
    "h": 252.101,
    "s": 68,
    "l": 34.314
  },
  "oklch": {
    "l": 0.35217,
    "c": 0.17846,
    "h": 281.3
  },
  "luminance": 0.03667
}

Semantic roles & 50–950 ramp

primary
#341C93
secondary
#A8BF4C
accent
#EB3DC8
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #341C93

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

Preview Lab → · Contrast checker → · Palette generator →

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