#341CA6#341CA6

#341CA6 is a dark, highly saturated violet. Relative luminance 0.043; OKLCH L 37.3% C 0.201 H 278.3°. Best body text is #FFFFFF at 11.27:1 contrast (WCAG AA passes).

Color values

HEX#341CA6
RGBrgb(52, 28, 166)
HSLhsl(250, 71%, 38%)
HSVhsv(250, 83%, 65%)
CMYKcmyk(68.7%, 83.1%, 0%, 34.9%)
CIE-LABlab(24.68, 50.09, -68.72)
CIE-LCHlch(24.68, 85.04, 306.09°)
OKLaboklab(37.33% 0.0291 -0.1985)
OKLCHoklch(37.33% 0.201 278.3)
XYZxyz(8.7121, 4.3130, 36.4424)
Luminance0.0431 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341CA6 #8EA61C
analogous
#1C49A6 #341CA6 #791CA6
triadic
#341CA6 #A6341C #1CA634
tetradic
#341CA6 #A61C49 #8EA61C #1CA679
square
#341CA6 #A61C49 #8EA61C #1CA679
split-complementary
#341CA6 #A6791C #49A61C
monochromatic
#130A3D #241372 #341CA6 #4425DA #7159E3

Accessibility & contrast

On white

11.27
#341CA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#341CA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #341CA6
11.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341CA6#FFFFFF#000000##FFFFFF
##341CA61.0011.271.8611.27
#FFFFFF11.271.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040AA
Deuteranopia (green-blind)
#0035A4
Tritanopia (blue-blind)
#004863
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #341ca6;
/* rgb */ color: rgb(52, 28, 166);
/* oklch */ color: oklch(37.3% 0.201 278.3);
Tailwind
colors: {
  custom: {
    50: '#7d5ec2',
    500: '#341ca6',
    950: '#000000',
  },
}
SCSS
$custom: #341ca6;
$custom-light: #7d5ec2;
$custom-dark: #000000;
JSON
{
  "hex": "#341ca6",
  "rgb": {
    "r": 52,
    "g": 28,
    "b": 166
  },
  "hsl": {
    "h": 250.435,
    "s": 71.134,
    "l": 38.039
  },
  "oklch": {
    "l": 0.37329,
    "c": 0.20061,
    "h": 278.3
  },
  "luminance": 0.04314
}

Semantic roles & 50–950 ramp

primary
#341CA6
secondary
#B3C757
accent
#EE3ACF
background
#F8F5FC
surface
#EFE9F8
border
#CAC5D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #341CA6

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

Preview Lab → · Contrast checker → · Palette generator →

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