#341D66#341D66

#341D66 is a dark, vivid violet. Relative luminance 0.026; OKLCH L 30.8% C 0.121 H 292.3°. Best body text is #FFFFFF at 13.87:1 contrast (WCAG AA passes).

Color values

HEX#341D66
RGBrgb(52, 29, 102)
HSLhsl(259, 56%, 26%)
HSVhsv(259, 72%, 40%)
CMYKcmyk(49%, 71.6%, 0%, 60%)
CIE-LABlab(18.22, 30.00, -39.07)
CIE-LCHlch(18.22, 49.26, 307.52°)
OKLaboklab(30.81% 0.0458 -0.1119)
OKLCHoklch(30.81% 0.121 292.3)
XYZxyz(4.2531, 2.5680, 12.8394)
Luminance0.0257 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341D66 #4F661D
analogous
#1D2A66 #341D66 #581D66
triadic
#341D66 #66341D #1D6634
tetradic
#341D66 #661D2A #4F661D #1D6658
square
#341D66 #661D2A #4F661D #1D6658
split-complementary
#341D66 #66581D #2A661D
monochromatic
#0C0718 #1C0F36 #341D66 #4C2B96 #6538C5

Accessibility & contrast

On white

13.87
#341D66 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#341D66 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #341D66
13.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341D66#FFFFFF#000000##FFFFFF
##341D661.0013.871.5113.87
#FFFFFF13.871.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D68
Deuteranopia (green-blind)
#002B65
Tritanopia (blue-blind)
#252F3F
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #341d66;
/* rgb */ color: rgb(52, 29, 102);
/* oklch */ color: oklch(30.8% 0.121 292.3);
Tailwind
colors: {
  custom: {
    50: '#715b92',
    500: '#341d66',
    950: '#000000',
  },
}
SCSS
$custom: #341d66;
$custom-light: #715b92;
$custom-dark: #000000;
JSON
{
  "hex": "#341d66",
  "rgb": {
    "r": 52,
    "g": 29,
    "b": 102
  },
  "hsl": {
    "h": 258.904,
    "s": 55.725,
    "l": 25.686
  },
  "oklch": {
    "l": 0.30811,
    "c": 0.12089,
    "h": 292.3
  },
  "luminance": 0.02568
}

Semantic roles & 50–950 ramp

primary
#341D66
secondary
#7F9B44
accent
#DF49B0
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#08040D
muted
#7B797E

Preview Lab

Preview with #341D66

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

Preview Lab → · Contrast checker → · Palette generator →

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