#341C90#341C90

#341C90 is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.9% C 0.175 H 281.9°. Best body text is #FFFFFF at 12.25:1 contrast (WCAG AA passes).

Color values

HEX#341C90
RGBrgb(52, 28, 144)
HSLhsl(252, 67%, 34%)
HSVhsv(252, 81%, 56%)
CMYKcmyk(63.9%, 80.6%, 0%, 43.5%)
CIE-LABlab(22.21, 43.52, -59.32)
CIE-LCHlch(22.21, 73.57, 306.27°)
OKLaboklab(34.89% 0.036 -0.1711)
OKLCHoklch(34.89% 0.175 281.9)
XYZxyz(6.8639, 3.5737, 26.7082)
Luminance0.0357 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341C90 #78901C
analogous
#1C3E90 #341C90 #6E1C90
triadic
#341C90 #90341C #1C9034
tetradic
#341C90 #901C3E #78901C #1C906E
square
#341C90 #901C3E #78901C #1C906E
split-complementary
#341C90 #906E1C #3E901C
monochromatic
#0F082A #21125D #341C90 #4726C3 #694ADC

Accessibility & contrast

On white

12.25
#341C90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#341C90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #341C90
12.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341C90#FFFFFF#000000##FFFFFF
##341C901.0012.251.7112.25
#FFFFFF12.251.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003993
Deuteranopia (green-blind)
#00318E
Tritanopia (blue-blind)
#003F56
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #341c90;
/* rgb */ color: rgb(52, 28, 144);
/* oklch */ color: oklch(34.9% 0.175 281.9);
Tailwind
colors: {
  custom: {
    50: '#785cb2',
    500: '#341c90',
    950: '#000000',
  },
}
SCSS
$custom: #341c90;
$custom-light: #785cb2;
$custom-dark: #000000;
JSON
{
  "hex": "#341c90",
  "rgb": {
    "r": 52,
    "g": 28,
    "b": 144
  },
  "hsl": {
    "h": 252.414,
    "s": 67.442,
    "l": 33.725
  },
  "oklch": {
    "l": 0.34892,
    "c": 0.17488,
    "h": 281.9
  },
  "luminance": 0.03574
}

Semantic roles & 50–950 ramp

primary
#341C90
secondary
#A6BE4A
accent
#EA3DC7
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #341C90

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

Preview Lab → · Contrast checker → · Palette generator →

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