#341049#341049

#341049 is a dark, moderate violet. Relative luminance 0.016; OKLCH L 26.4% C 0.103 H 310.1°. Best body text is #FFFFFF at 15.95:1 contrast (WCAG AA passes).

Color values

HEX#341049
RGBrgb(52, 16, 73)
HSLhsl(278, 64%, 17%)
HSVhsv(278, 78%, 29%)
CMYKcmyk(28.8%, 78.1%, 0%, 71.4%)
CIE-LABlab(13.12, 28.98, -27.80)
CIE-LCHlch(13.12, 40.16, 316.19°)
OKLaboklab(26.38% 0.0661 -0.0787)
OKLCHoklch(26.38% 0.103 310.1)
XYZxyz(2.8038, 1.5817, 6.4596)
Luminance0.0158 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341049 #254910
analogous
#181049 #341049 #491041
triadic
#341049 #493410 #104934
tetradic
#341049 #491810 #254910 #104149
square
#341049 #491810 #254910 #104149
split-complementary
#341049 #414910 #104918
monochromatic
#120619 #120619 #341049 #581B7B #7C26AD

Accessibility & contrast

On white

15.95
#341049 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#341049 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #341049
15.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341049#FFFFFF#000000##FFFFFF
##3410491.0015.951.3215.95
#FFFFFF15.951.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00204B
Deuteranopia (green-blind)
#062248
Tritanopia (blue-blind)
#311D2B
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #341049;
/* rgb */ color: rgb(52, 16, 73);
/* oklch */ color: oklch(26.4% 0.103 310.1);
Tailwind
colors: {
  custom: {
    50: '#6e527c',
    500: '#341049',
    950: '#000000',
  },
}
SCSS
$custom: #341049;
$custom-light: #6e527c;
$custom-dark: #000000;
JSON
{
  "hex": "#341049",
  "rgb": {
    "r": 52,
    "g": 16,
    "b": 73
  },
  "hsl": {
    "h": 277.895,
    "s": 64.045,
    "l": 17.451
  },
  "oklch": {
    "l": 0.26383,
    "c": 0.10277,
    "h": 310.1
  },
  "luminance": 0.01582
}

Semantic roles & 50–950 ramp

primary
#341049
secondary
#508332
accent
#E7417E
background
#F6F4F7
surface
#ECE7EE
border
#C7C3C9
text
#070209
muted
#7A787B

Preview Lab

Preview with #341049

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

Preview Lab → · Contrast checker → · Palette generator →

#341049 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva