#341B93#341B93

#341B93 is a dark, vivid violet. Relative luminance 0.036; OKLCH L 35.1% C 0.179 H 281.5°. Best body text is #FFFFFF at 12.18:1 contrast (WCAG AA passes).

Color values

HEX#341B93
RGBrgb(52, 27, 147)
HSLhsl(253, 69%, 34%)
HSVhsv(253, 82%, 58%)
CMYKcmyk(64.6%, 81.6%, 0%, 42.4%)
CIE-LABlab(22.37, 44.91, -60.91)
CIE-LCHlch(22.37, 75.67, 306.40°)
OKLaboklab(35.1% 0.0357 -0.1757)
OKLCHoklch(35.1% 0.179 281.5)
XYZxyz(7.0729, 3.6200, 27.9241)
Luminance0.0362 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341B93 #7A931B
analogous
#1B3E93 #341B93 #701B93
triadic
#341B93 #93341B #1B9334
tetradic
#341B93 #931B3E #7A931B #1B9370
square
#341B93 #931B3E #7A931B #1B9370
split-complementary
#341B93 #93701B #3E931B
monochromatic
#0F082C #22125F #341B93 #4624C7 #694BDE

Accessibility & contrast

On white

12.18
#341B93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#341B93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #341B93
12.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341B93#FFFFFF#000000##FFFFFF
##341B931.0012.181.7212.18
#FFFFFF12.181.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003996
Deuteranopia (green-blind)
#003191
Tritanopia (blue-blind)
#004057
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #341b93;
/* rgb */ color: rgb(52, 27, 147);
/* oklch */ color: oklch(35.1% 0.179 281.5);
Tailwind
colors: {
  custom: {
    50: '#795cb4',
    500: '#341b93',
    950: '#000000',
  },
}
SCSS
$custom: #341b93;
$custom-light: #795cb4;
$custom-dark: #000000;
JSON
{
  "hex": "#341b93",
  "rgb": {
    "r": 52,
    "g": 27,
    "b": 147
  },
  "hsl": {
    "h": 252.5,
    "s": 68.966,
    "l": 34.118
  },
  "oklch": {
    "l": 0.35104,
    "c": 0.17933,
    "h": 281.5
  },
  "luminance": 0.03621
}

Semantic roles & 50–950 ramp

primary
#341B93
secondary
#A7C04A
accent
#EC3CC7
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #341B93

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

Preview Lab → · Contrast checker → · Palette generator →

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