#341CA1#341CA1

#341CA1 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.8% C 0.195 H 279.1°. Best body text is #FFFFFF at 11.50:1 contrast (WCAG AA passes).

Color values

HEX#341CA1
RGBrgb(52, 28, 161)
HSLhsl(251, 70%, 37%)
HSVhsv(251, 83%, 63%)
CMYKcmyk(67.7%, 82.6%, 0%, 36.9%)
CIE-LABlab(24.11, 48.62, -66.63)
CIE-LCHlch(24.11, 82.49, 306.12°)
OKLaboklab(36.77% 0.0307 -0.1924)
OKLCHoklch(36.77% 0.195 279.1)
XYZxyz(8.2624, 4.1331, 34.0737)
Luminance0.0413 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341CA1 #89A11C
analogous
#1C47A1 #341CA1 #771CA1
triadic
#341CA1 #A1341C #1CA134
tetradic
#341CA1 #A11C47 #89A11C #1CA177
square
#341CA1 #A11C47 #89A11C #1CA177
split-complementary
#341CA1 #A1771C #47A11C
monochromatic
#120A39 #23136D #341CA1 #4525D5 #6F56E2

Accessibility & contrast

On white

11.50
#341CA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#341CA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #341CA1
11.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341CA1#FFFFFF#000000##FFFFFF
##341CA11.0011.501.8311.50
#FFFFFF11.501.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003EA5
Deuteranopia (green-blind)
#00349F
Tritanopia (blue-blind)
#004660
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #341ca1;
/* rgb */ color: rgb(52, 28, 161);
/* oklch */ color: oklch(36.8% 0.195 279.1);
Tailwind
colors: {
  custom: {
    50: '#7c5dbe',
    500: '#341ca1',
    950: '#000000',
  },
}
SCSS
$custom: #341ca1;
$custom-light: #7c5dbe;
$custom-dark: #000000;
JSON
{
  "hex": "#341ca1",
  "rgb": {
    "r": 52,
    "g": 28,
    "b": 161
  },
  "hsl": {
    "h": 250.827,
    "s": 70.37,
    "l": 37.059
  },
  "oklch": {
    "l": 0.36766,
    "c": 0.19487,
    "h": 279.1
  },
  "luminance": 0.04134
}

Semantic roles & 50–950 ramp

primary
#341CA1
secondary
#B0C554
accent
#ED3BCD
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #341CA1

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

Preview Lab → · Contrast checker → · Palette generator →

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