#341C55#341C55

#341C55 is a dark, moderate violet. Relative luminance 0.022; OKLCH L 29.2% C 0.099 H 299.6°. Best body text is #FFFFFF at 14.55:1 contrast (WCAG AA passes).

Color values

HEX#341C55
RGBrgb(52, 28, 85)
HSLhsl(265, 50%, 22%)
HSVhsv(265, 67%, 33%)
CMYKcmyk(38.8%, 67.1%, 0%, 66.7%)
CIE-LABlab(16.58, 25.43, -30.41)
CIE-LCHlch(16.58, 39.65, 309.90°)
OKLaboklab(29.18% 0.0491 -0.0864)
OKLCHoklch(29.18% 0.099 299.6)
XYZxyz(3.4707, 2.2164, 8.8375)
Luminance0.0222 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341C55 #3D551C
analogous
#1C2155 #341C55 #511C55
triadic
#341C55 #55341C #1C5534
tetradic
#341C55 #551C21 #3D551C #1C5551
square
#341C55 #551C21 #3D551C #1C5551
split-complementary
#341C55 #55511C #21551C
monochromatic
#0E0817 #180D27 #341C55 #502B83 #6C3AB1

Accessibility & contrast

On white

14.55
#341C55 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#341C55 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #341C55
14.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341C55#FFFFFF#000000##FFFFFF
##341C551.0014.551.4414.55
#FFFFFF14.551.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002957
Deuteranopia (green-blind)
#062954
Tritanopia (blue-blind)
#2D2835
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #341c55;
/* rgb */ color: rgb(52, 28, 85);
/* oklch */ color: oklch(29.2% 0.099 299.6);
Tailwind
colors: {
  custom: {
    50: '#6e5985',
    500: '#341c55',
    950: '#000000',
  },
}
SCSS
$custom: #341c55;
$custom-light: #6e5985;
$custom-dark: #000000;
JSON
{
  "hex": "#341c55",
  "rgb": {
    "r": 52,
    "g": 28,
    "b": 85
  },
  "hsl": {
    "h": 265.263,
    "s": 50.442,
    "l": 22.157
  },
  "oklch": {
    "l": 0.29182,
    "c": 0.09938,
    "h": 299.6
  },
  "luminance": 0.02216
}

Semantic roles & 50–950 ramp

primary
#341C55
secondary
#6C8B42
accent
#DA4E9F
background
#F6F5F8
surface
#ECE9EF
border
#C7C5CA
text
#07030B
muted
#7A787C

Preview Lab

Preview with #341C55

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

Preview Lab → · Contrast checker → · Palette generator →

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