#341046#341046

#341046 is a dark, moderate purple. Relative luminance 0.015; OKLCH L 26.1% C 0.099 H 312.1°. Best body text is #FFFFFF at 16.05:1 contrast (WCAG AA passes).

Color values

HEX#341046
RGBrgb(52, 16, 70)
HSLhsl(280, 63%, 17%)
HSVhsv(280, 77%, 27%)
CMYKcmyk(25.7%, 77.1%, 0%, 72.5%)
CIE-LABlab(12.88, 28.21, -26.10)
CIE-LCHlch(12.88, 38.43, 317.23°)
OKLaboklab(26.14% 0.0665 -0.0737)
OKLCHoklch(26.14% 0.099 312.1)
XYZxyz(2.7068, 1.5429, 5.9484)
Luminance0.0154 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341046 #224610
analogous
#191046 #341046 #46103D
triadic
#341046 #463410 #104634
tetradic
#341046 #461910 #224610 #103D46
square
#341046 #461910 #224610 #103D46
split-complementary
#341046 #3D4610 #104619
monochromatic
#130619 #130619 #341046 #591B78 #7E27AA

Accessibility & contrast

On white

16.05
#341046 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#341046 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #341046
16.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341046#FFFFFF#000000##FFFFFF
##3410461.0016.051.3116.05
#FFFFFF16.051.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002048
Deuteranopia (green-blind)
#0A2245
Tritanopia (blue-blind)
#321B29
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #341046;
/* rgb */ color: rgb(52, 16, 70);
/* oklch */ color: oklch(26.1% 0.099 312.1);
Tailwind
colors: {
  custom: {
    50: '#6e527a',
    500: '#341046',
    950: '#000000',
  },
}
SCSS
$custom: #341046;
$custom-light: #6e527a;
$custom-dark: #000000;
JSON
{
  "hex": "#341046",
  "rgb": {
    "r": 52,
    "g": 16,
    "b": 70
  },
  "hsl": {
    "h": 280,
    "s": 62.791,
    "l": 16.863
  },
  "oklch": {
    "l": 0.26136,
    "c": 0.09926,
    "h": 312.1
  },
  "luminance": 0.01543
}

Semantic roles & 50–950 ramp

primary
#341046
secondary
#4C8032
accent
#E64279
background
#F6F4F7
surface
#ECE7ED
border
#C7C3C8
text
#070209
muted
#7A787B

Preview Lab

Preview with #341046

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

Preview Lab → · Contrast checker → · Palette generator →

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