#341D67#341D67

#341D67 is a dark, vivid violet. Relative luminance 0.026; OKLCH L 30.9% C 0.122 H 291.9°. Best body text is #FFFFFF at 13.84:1 contrast (WCAG AA passes).

Color values

HEX#341D67
RGBrgb(52, 29, 103)
HSLhsl(259, 56%, 26%)
HSVhsv(259, 72%, 40%)
CMYKcmyk(49.5%, 71.8%, 0%, 59.6%)
CIE-LABlab(18.31, 30.31, -39.58)
CIE-LCHlch(18.31, 49.85, 307.44°)
OKLaboklab(30.9% 0.0457 -0.1134)
OKLCHoklch(30.9% 0.122 291.9)
XYZxyz(4.3030, 2.5879, 13.1021)
Luminance0.0259 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341D67 #50671D
analogous
#1D2B67 #341D67 #591D67
triadic
#341D67 #67341D #1D6734
tetradic
#341D67 #671D2B #50671D #1D6759
square
#341D67 #671D2B #50671D #1D6759
split-complementary
#341D67 #67591D #2B671D
monochromatic
#0C0718 #1C1037 #341D67 #4C2A97 #6438C7

Accessibility & contrast

On white

13.84
#341D67 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#341D67 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #341D67
13.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341D67#FFFFFF#000000##FFFFFF
##341D671.0013.841.5213.84
#FFFFFF13.841.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E69
Deuteranopia (green-blind)
#002B66
Tritanopia (blue-blind)
#242F3F
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #341d67;
/* rgb */ color: rgb(52, 29, 103);
/* oklch */ color: oklch(30.9% 0.122 291.9);
Tailwind
colors: {
  custom: {
    50: '#715b93',
    500: '#341d67',
    950: '#000000',
  },
}
SCSS
$custom: #341d67;
$custom-light: #715b93;
$custom-dark: #000000;
JSON
{
  "hex": "#341d67",
  "rgb": {
    "r": 52,
    "g": 29,
    "b": 103
  },
  "hsl": {
    "h": 258.649,
    "s": 56.061,
    "l": 25.882
  },
  "oklch": {
    "l": 0.30902,
    "c": 0.12221,
    "h": 291.9
  },
  "luminance": 0.02588
}

Semantic roles & 50–950 ramp

primary
#341D67
secondary
#819C44
accent
#DF48B0
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#08040D
muted
#7B797E

Preview Lab

Preview with #341D67

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

Preview Lab → · Contrast checker → · Palette generator →

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