#341A4A#341A4A

#341A4A is a dark, moderate violet. Relative luminance 0.020; OKLCH L 28.0% C 0.088 H 306.6°. Best body text is #FFFFFF at 15.08:1 contrast (WCAG AA passes).

Color values

HEX#341A4A
RGBrgb(52, 26, 74)
HSLhsl(273, 48%, 20%)
HSVhsv(273, 65%, 29%)
CMYKcmyk(29.7%, 64.9%, 0%, 71%)
CIE-LABlab(15.29, 23.50, -24.99)
CIE-LCHlch(15.29, 34.31, 313.24°)
OKLaboklab(27.98% 0.0523 -0.0705)
OKLCHoklch(27.98% 0.088 306.6)
XYZxyz(3.0213, 1.9633, 6.6970)
Luminance0.0196 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341A4A #304A1A
analogous
#1C1A4A #341A4A #4A1A48
triadic
#341A4A #4A341A #1A4A34
tetradic
#341A4A #4A1C1A #304A1A #1A484A
square
#341A4A #4A1C1A #304A1A #1A484A
split-complementary
#341A4A #484A1A #1A4A1C
monochromatic
#100817 #140A1D #341A4A #542A77 #743AA5

Accessibility & contrast

On white

15.08
#341A4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#341A4A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #341A4A
15.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341A4A#FFFFFF#000000##FFFFFF
##341A4A1.0015.081.3915.08
#FFFFFF15.081.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#07254C
Deuteranopia (green-blind)
#122649
Tritanopia (blue-blind)
#30232F
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #341a4a;
/* rgb */ color: rgb(52, 26, 74);
/* oklch */ color: oklch(28.0% 0.088 306.6);
Tailwind
colors: {
  custom: {
    50: '#6d587d',
    500: '#341a4a',
    950: '#000000',
  },
}
SCSS
$custom: #341a4a;
$custom-light: #6d587d;
$custom-dark: #000000;
JSON
{
  "hex": "#341a4a",
  "rgb": {
    "r": 52,
    "g": 26,
    "b": 74
  },
  "hsl": {
    "h": 272.5,
    "s": 48,
    "l": 19.608
  },
  "oklch": {
    "l": 0.27978,
    "c": 0.08776,
    "h": 306.6
  },
  "luminance": 0.01963
}

Semantic roles & 50–950 ramp

primary
#341A4A
secondary
#5D8040
accent
#D8508E
background
#F6F5F7
surface
#ECE9EE
border
#C7C5C9
text
#070309
muted
#7A787B

Preview Lab

Preview with #341A4A

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

Preview Lab → · Contrast checker → · Palette generator →

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