#341B6D#341B6D

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

Color values

HEX#341B6D
RGBrgb(52, 27, 109)
HSLhsl(258, 60%, 27%)
HSVhsv(258, 75%, 43%)
CMYKcmyk(52.3%, 75.2%, 0%, 57.3%)
CIE-LABlab(18.44, 33.32, -43.28)
CIE-LCHlch(18.44, 54.62, 307.59°)
OKLaboklab(31.17% 0.0466 -0.1242)
OKLCHoklch(31.17% 0.133 290.5)
XYZxyz(4.5676, 2.6179, 14.7297)
Luminance0.0262 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341B6D #546D1B
analogous
#1B2B6D #341B6D #5D1B6D
triadic
#341B6D #6D341B #1B6D34
tetradic
#341B6D #6D1B2B #546D1B #1B6D5D
square
#341B6D #6D1B2B #546D1B #1B6D5D
split-complementary
#341B6D #6D5D1B #2B6D1B
monochromatic
#0C0619 #1D0F3C #341B6D #4B279E #6435CD

Accessibility & contrast

On white

13.78
#341B6D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #341B6D
13.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341B6D#FFFFFF#000000##FFFFFF
##341B6D1.0013.781.5213.78
#FFFFFF13.781.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E6F
Deuteranopia (green-blind)
#002B6B
Tritanopia (blue-blind)
#213042
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #341b6d;
/* rgb */ color: rgb(52, 27, 109);
/* oklch */ color: oklch(31.2% 0.133 290.5);
Tailwind
colors: {
  custom: {
    50: '#725a98',
    500: '#341b6d',
    950: '#000000',
  },
}
SCSS
$custom: #341b6d;
$custom-light: #725a98;
$custom-dark: #000000;
JSON
{
  "hex": "#341b6d",
  "rgb": {
    "r": 52,
    "g": 27,
    "b": 109
  },
  "hsl": {
    "h": 258.293,
    "s": 60.294,
    "l": 26.667
  },
  "oklch": {
    "l": 0.31166,
    "c": 0.13266,
    "h": 290.5
  },
  "luminance": 0.02618
}

Semantic roles & 50–950 ramp

primary
#341B6D
secondary
#85A242
accent
#E344B3
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08040E
muted
#7B797E

Preview Lab

Preview with #341B6D

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

Preview Lab → · Contrast checker → · Palette generator →

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