#341A50#341A50

#341A50 is a dark, moderate violet. Relative luminance 0.020; OKLCH L 28.4% C 0.096 H 302.9°. Best body text is #FFFFFF at 14.90:1 contrast (WCAG AA passes).

Color values

HEX#341A50
RGBrgb(52, 26, 80)
HSLhsl(269, 51%, 21%)
HSVhsv(269, 68%, 31%)
CMYKcmyk(35%, 67.5%, 0%, 68.6%)
CIE-LABlab(15.74, 25.21, -28.39)
CIE-LCHlch(15.74, 37.97, 311.60°)
OKLaboklab(28.44% 0.0521 -0.0804)
OKLCHoklch(28.44% 0.096 302.9)
XYZxyz(3.2332, 2.0480, 7.8128)
Luminance0.0205 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341A50 #36501A
analogous
#1A1B50 #341A50 #4F1A50
triadic
#341A50 #50341A #1A5034
tetradic
#341A50 #501A1B #36501A #1A504F
square
#341A50 #501A1B #36501A #1A504F
split-complementary
#341A50 #504F1A #1B501A
monochromatic
#0F0817 #160B22 #341A50 #52297E #7038AC

Accessibility & contrast

On white

14.90
#341A50 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#341A50 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #341A50
14.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341A50#FFFFFF#000000##FFFFFF
##341A501.0014.901.4114.90
#FFFFFF14.901.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002752
Deuteranopia (green-blind)
#0B274F
Tritanopia (blue-blind)
#2F2532
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #341a50;
/* rgb */ color: rgb(52, 26, 80);
/* oklch */ color: oklch(28.4% 0.096 302.9);
Tailwind
colors: {
  custom: {
    50: '#6e5881',
    500: '#341a50',
    950: '#000000',
  },
}
SCSS
$custom: #341a50;
$custom-light: #6e5881;
$custom-dark: #000000;
JSON
{
  "hex": "#341a50",
  "rgb": {
    "r": 52,
    "g": 26,
    "b": 80
  },
  "hsl": {
    "h": 268.889,
    "s": 50.943,
    "l": 20.784
  },
  "oklch": {
    "l": 0.28444,
    "c": 0.09586,
    "h": 302.9
  },
  "luminance": 0.02048
}

Semantic roles & 50–950 ramp

primary
#341A50
secondary
#648640
accent
#DA4D97
background
#F6F5F7
surface
#ECE9EE
border
#C7C5C9
text
#07030A
muted
#7A787C

Preview Lab

Preview with #341A50

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

Preview Lab → · Contrast checker → · Palette generator →

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