#341BA6#341BA6

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

Color values

HEX#341BA6
RGBrgb(52, 27, 166)
HSLhsl(251, 72%, 38%)
HSVhsv(251, 84%, 65%)
CMYKcmyk(68.7%, 83.7%, 0%, 34.9%)
CIE-LABlab(24.53, 50.53, -68.97)
CIE-LCHlch(24.53, 85.50, 306.23°)
OKLaboklab(37.23% 0.0295 -0.1992)
OKLCHoklch(37.23% 0.201 278.4)
XYZxyz(8.6888, 4.2663, 36.4346)
Luminance0.0427 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341BA6 #8DA61B
analogous
#1B48A6 #341BA6 #791BA6
triadic
#341BA6 #A6341B #1BA634
tetradic
#341BA6 #A61B48 #8DA61B #1BA679
square
#341BA6 #A61B48 #8DA61B #1BA679
split-complementary
#341BA6 #A6791B #48A61B
monochromatic
#130A3D #241271 #341BA6 #4424DB #7158E4

Accessibility & contrast

On white

11.33
#341BA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#341BA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #341BA6
11.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341BA6#FFFFFF#000000##FFFFFF
##341BA61.0011.331.8511.33
#FFFFFF11.331.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003FAA
Deuteranopia (green-blind)
#0035A4
Tritanopia (blue-blind)
#004763
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #341ba6;
/* rgb */ color: rgb(52, 27, 166);
/* oklch */ color: oklch(37.2% 0.201 278.4);
Tailwind
colors: {
  custom: {
    50: '#7d5dc2',
    500: '#341ba6',
    950: '#000000',
  },
}
SCSS
$custom: #341ba6;
$custom-light: #7d5dc2;
$custom-dark: #000000;
JSON
{
  "hex": "#341ba6",
  "rgb": {
    "r": 52,
    "g": 27,
    "b": 166
  },
  "hsl": {
    "h": 250.791,
    "s": 72.021,
    "l": 37.843
  },
  "oklch": {
    "l": 0.37228,
    "c": 0.20136,
    "h": 278.4
  },
  "luminance": 0.04267
}

Semantic roles & 50–950 ramp

primary
#341BA6
secondary
#B3C756
accent
#EF39CE
background
#F8F5FC
surface
#EFE9F8
border
#CAC5D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #341BA6

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

Preview Lab → · Contrast checker → · Palette generator →

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