#341D6A#341D6A

#341D6A is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.2% C 0.126 H 291.0°. Best body text is #FFFFFF at 13.73:1 contrast (WCAG AA passes).

Color values

HEX#341D6A
RGBrgb(52, 29, 106)
HSLhsl(258, 57%, 26%)
HSVhsv(258, 73%, 42%)
CMYKcmyk(50.9%, 72.6%, 0%, 58.4%)
CIE-LABlab(18.58, 31.24, -41.11)
CIE-LCHlch(18.58, 51.63, 307.24°)
OKLaboklab(31.18% 0.0451 -0.1178)
OKLCHoklch(31.18% 0.126 291)
XYZxyz(4.4563, 2.6492, 13.9094)
Luminance0.0265 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341D6A #536A1D
analogous
#1D2D6A #341D6A #5B1D6A
triadic
#341D6A #6A341D #1D6A34
tetradic
#341D6A #6A1D2D #536A1D #1D6A5B
square
#341D6A #6A1D2D #536A1D #1D6A5B
split-complementary
#341D6A #6A5B1D #2D6A1D
monochromatic
#0C0718 #1C103A #341D6A #4C2A9A #6439C9

Accessibility & contrast

On white

13.73
#341D6A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#341D6A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #341D6A
13.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341D6A#FFFFFF#000000##FFFFFF
##341D6A1.0013.731.5313.73
#FFFFFF13.731.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F6C
Deuteranopia (green-blind)
#002C68
Tritanopia (blue-blind)
#233041
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #341d6a;
/* rgb */ color: rgb(52, 29, 106);
/* oklch */ color: oklch(31.2% 0.126 291.0);
Tailwind
colors: {
  custom: {
    50: '#715b95',
    500: '#341d6a',
    950: '#000000',
  },
}
SCSS
$custom: #341d6a;
$custom-light: #715b95;
$custom-dark: #000000;
JSON
{
  "hex": "#341d6a",
  "rgb": {
    "r": 52,
    "g": 29,
    "b": 106
  },
  "hsl": {
    "h": 257.922,
    "s": 57.037,
    "l": 26.471
  },
  "oklch": {
    "l": 0.31178,
    "c": 0.12619,
    "h": 291
  },
  "luminance": 0.02649
}

Semantic roles & 50–950 ramp

primary
#341D6A
secondary
#849F44
accent
#E048B3
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08040D
muted
#7B797E

Preview Lab

Preview with #341D6A

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

Preview Lab → · Contrast checker → · Palette generator →

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