#341C53#341C53

#341C53 is a dark, moderate violet. Relative luminance 0.022; OKLCH L 29.0% C 0.097 H 300.6°. Best body text is #FFFFFF at 14.61:1 contrast (WCAG AA passes).

Color values

HEX#341C53
RGBrgb(52, 28, 83)
HSLhsl(266, 50%, 22%)
HSVhsv(266, 66%, 33%)
CMYKcmyk(37.3%, 66.3%, 0%, 67.5%)
CIE-LABlab(16.43, 24.84, -29.31)
CIE-LCHlch(16.43, 38.42, 310.28°)
OKLaboklab(29.02% 0.0492 -0.0832)
OKLCHoklch(29.02% 0.097 300.6)
XYZxyz(3.3924, 2.1851, 8.4250)
Luminance0.0219 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341C53 #3B531C
analogous
#1C2053 #341C53 #501C53
triadic
#341C53 #53341C #1C5334
tetradic
#341C53 #531C20 #3B531C #1C5350
square
#341C53 #531C20 #3B531C #1C5350
split-complementary
#341C53 #53501C #20531C
monochromatic
#0E0817 #170D25 #341C53 #512B81 #6D3BAF

Accessibility & contrast

On white

14.61
#341C53 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #341C53
14.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341C53#FFFFFF#000000##FFFFFF
##341C531.0014.611.4414.61
#FFFFFF14.611.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002855
Deuteranopia (green-blind)
#0A2852
Tritanopia (blue-blind)
#2D2834
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #341c53;
/* rgb */ color: rgb(52, 28, 83);
/* oklch */ color: oklch(29.0% 0.097 300.6);
Tailwind
colors: {
  custom: {
    50: '#6e5984',
    500: '#341c53',
    950: '#000000',
  },
}
SCSS
$custom: #341c53;
$custom-light: #6e5984;
$custom-dark: #000000;
JSON
{
  "hex": "#341c53",
  "rgb": {
    "r": 52,
    "g": 28,
    "b": 83
  },
  "hsl": {
    "h": 266.182,
    "s": 49.55,
    "l": 21.765
  },
  "oklch": {
    "l": 0.29021,
    "c": 0.09662,
    "h": 300.6
  },
  "luminance": 0.02185
}

Semantic roles & 50–950 ramp

primary
#341C53
secondary
#6A8942
accent
#D94F9D
background
#F6F5F8
surface
#ECE9EF
border
#C7C5CA
text
#07030B
muted
#7A787C

Preview Lab

Preview with #341C53

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

Preview Lab → · Contrast checker → · Palette generator →

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