#341C76#341C76

#341C76 is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.2% C 0.143 H 287.7°. Best body text is #FFFFFF at 13.34:1 contrast (WCAG AA passes).

Color values

HEX#341C76
RGBrgb(52, 28, 118)
HSLhsl(256, 62%, 29%)
HSVhsv(256, 76%, 46%)
CMYKcmyk(55.9%, 76.3%, 0%, 53.7%)
CIE-LABlab(19.51, 35.54, -47.35)
CIE-LCHlch(19.51, 59.21, 306.89°)
OKLaboklab(32.19% 0.0434 -0.1362)
OKLCHoklch(32.19% 0.143 287.7)
XYZxyz(5.1005, 2.8683, 17.4209)
Luminance0.0287 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341C76 #5E761C
analogous
#1C3176 #341C76 #611C76
triadic
#341C76 #76341C #1C7634
tetradic
#341C76 #761C31 #5E761C #1C7661
square
#341C76 #761C31 #5E761C #1C7661
split-complementary
#341C76 #76611C #31761C
monochromatic
#0B0619 #1E1045 #341C76 #4A28A7 #633CD1

Accessibility & contrast

On white

13.34
#341C76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#341C76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #341C76
13.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341C76#FFFFFF#000000##FFFFFF
##341C761.0013.341.5713.34
#FFFFFF13.341.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003179
Deuteranopia (green-blind)
#002D74
Tritanopia (blue-blind)
#193447
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #341c76;
/* rgb */ color: rgb(52, 28, 118);
/* oklch */ color: oklch(32.2% 0.143 287.7);
Tailwind
colors: {
  custom: {
    50: '#735b9e',
    500: '#341c76',
    950: '#000000',
  },
}
SCSS
$custom: #341c76;
$custom-light: #735b9e;
$custom-dark: #000000;
JSON
{
  "hex": "#341c76",
  "rgb": {
    "r": 52,
    "g": 28,
    "b": 118
  },
  "hsl": {
    "h": 256,
    "s": 61.644,
    "l": 28.627
  },
  "oklch": {
    "l": 0.32186,
    "c": 0.14293,
    "h": 287.7
  },
  "luminance": 0.02869
}

Semantic roles & 50–950 ramp

primary
#341C76
secondary
#8FAA44
accent
#E543BA
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #341C76

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

Preview Lab → · Contrast checker → · Palette generator →

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