#341B6A#341B6A

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

Color values

HEX#341B6A
RGBrgb(52, 27, 106)
HSLhsl(259, 59%, 26%)
HSVhsv(259, 75%, 42%)
CMYKcmyk(50.9%, 74.5%, 0%, 58.4%)
CIE-LABlab(18.16, 32.40, -41.79)
CIE-LCHlch(18.16, 52.88, 307.79°)
OKLaboklab(30.88% 0.0472 -0.1198)
OKLCHoklch(30.88% 0.129 291.5)
XYZxyz(4.4089, 2.5544, 13.8936)
Luminance0.0255 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341B6A #516A1B
analogous
#1B296A #341B6A #5B1B6A
triadic
#341B6A #6A341B #1B6A34
tetradic
#341B6A #6A1B29 #516A1B #1B6A5B
square
#341B6A #6A1B29 #516A1B #1B6A5B
split-complementary
#341B6A #6A5B1B #296A1B
monochromatic
#0C0618 #1C0F39 #341B6A #4C279B #6434CB

Accessibility & contrast

On white

13.90
#341B6A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #341B6A
13.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341B6A#FFFFFF#000000##FFFFFF
##341B6A1.0013.901.5113.90
#FFFFFF13.901.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E6C
Deuteranopia (green-blind)
#002B68
Tritanopia (blue-blind)
#232F40
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #341b6a;
/* rgb */ color: rgb(52, 27, 106);
/* oklch */ color: oklch(30.9% 0.129 291.5);
Tailwind
colors: {
  custom: {
    50: '#715a95',
    500: '#341b6a',
    950: '#000000',
  },
}
SCSS
$custom: #341b6a;
$custom-light: #715a95;
$custom-dark: #000000;
JSON
{
  "hex": "#341b6a",
  "rgb": {
    "r": 52,
    "g": 27,
    "b": 106
  },
  "hsl": {
    "h": 258.987,
    "s": 59.398,
    "l": 26.078
  },
  "oklch": {
    "l": 0.3088,
    "c": 0.12881,
    "h": 291.5
  },
  "luminance": 0.02555
}

Semantic roles & 50–950 ramp

primary
#341B6A
secondary
#829F42
accent
#E345B1
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08040D
muted
#7B797E

Preview Lab

Preview with #341B6A

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

Preview Lab → · Contrast checker → · Palette generator →

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