#341349#341349

#341349 is a dark, moderate violet. Relative luminance 0.017; OKLCH L 26.8% C 0.098 H 309.3°. Best body text is #FFFFFF at 15.73:1 contrast (WCAG AA passes).

Color values

HEX#341349
RGBrgb(52, 19, 73)
HSLhsl(277, 59%, 18%)
HSVhsv(277, 74%, 29%)
CMYKcmyk(28.8%, 74%, 0%, 71.4%)
CIE-LABlab(13.69, 27.38, -26.88)
CIE-LCHlch(13.69, 38.37, 315.54°)
OKLaboklab(26.79% 0.0623 -0.076)
OKLCHoklch(26.79% 0.098 309.3)
XYZxyz(2.8514, 1.6769, 6.4755)
Luminance0.0168 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341349 #284913
analogous
#191349 #341349 #491343
triadic
#341349 #493413 #134934
tetradic
#341349 #491913 #284913 #134349
square
#341349 #491913 #284913 #134349
split-complementary
#341349 #434913 #134919
monochromatic
#110618 #110618 #341349 #57207A #792CAA

Accessibility & contrast

On white

15.73
#341349 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#341349 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #341349
15.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341349#FFFFFF#000000##FFFFFF
##3413491.0015.731.3415.73
#FFFFFF15.731.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00224B
Deuteranopia (green-blind)
#0A2348
Tritanopia (blue-blind)
#311E2C
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #341349;
/* rgb */ color: rgb(52, 19, 73);
/* oklch */ color: oklch(26.8% 0.098 309.3);
Tailwind
colors: {
  custom: {
    50: '#6e537c',
    500: '#341349',
    950: '#000000',
  },
}
SCSS
$custom: #341349;
$custom-light: #6e537c;
$custom-dark: #000000;
JSON
{
  "hex": "#341349",
  "rgb": {
    "r": 52,
    "g": 19,
    "b": 73
  },
  "hsl": {
    "h": 276.667,
    "s": 58.696,
    "l": 18.039
  },
  "oklch": {
    "l": 0.26793,
    "c": 0.09824,
    "h": 309.3
  },
  "luminance": 0.01677
}

Semantic roles & 50–950 ramp

primary
#341349
secondary
#548236
accent
#E24683
background
#F6F4F7
surface
#ECE7EE
border
#C7C3C9
text
#070209
muted
#7A787B

Preview Lab

Preview with #341349

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

Preview Lab → · Contrast checker → · Palette generator →

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