#341241#341241

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

Color values

HEX#341241
RGBrgb(52, 18, 65)
HSLhsl(283, 57%, 16%)
HSVhsv(283, 72%, 25%)
CMYKcmyk(20%, 72.3%, 0%, 74.5%)
CIE-LABlab(12.89, 25.88, -22.58)
CIE-LCHlch(12.89, 34.34, 318.89°)
OKLaboklab(26.02% 0.0642 -0.0634)
OKLCHoklch(26.02% 0.09 315.4)
XYZxyz(2.5865, 1.5444, 5.1619)
Luminance0.0154 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341241 #1F4112
analogous
#1D1241 #341241 #411237
triadic
#341241 #413412 #124134
tetradic
#341241 #411D12 #1F4112 #123741
square
#341241 #411D12 #1F4112 #123741
split-complementary
#341241 #374112 #12411D
monochromatic
#130718 #130718 #341241 #5A1F71 #812DA1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##341241#FFFFFF#000000##FFFFFF
##3412411.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)
#031F42
Deuteranopia (green-blind)
#112240
Tritanopia (blue-blind)
#331B27
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #341241;
/* rgb */ color: rgb(52, 18, 65);
/* oklch */ color: oklch(26.0% 0.090 315.4);
Tailwind
colors: {
  custom: {
    50: '#6d5276',
    500: '#341241',
    950: '#000000',
  },
}
SCSS
$custom: #341241;
$custom-light: #6d5276;
$custom-dark: #000000;
JSON
{
  "hex": "#341241",
  "rgb": {
    "r": 52,
    "g": 18,
    "b": 65
  },
  "hsl": {
    "h": 283.404,
    "s": 56.627,
    "l": 16.275
  },
  "oklch": {
    "l": 0.26022,
    "c": 0.09019,
    "h": 315.4
  },
  "luminance": 0.01544
}

Semantic roles & 50–950 ramp

primary
#341241
secondary
#487A35
accent
#E04872
background
#F6F4F7
surface
#ECE7ED
border
#C7C3C8
text
#070208
muted
#7A787B

Preview Lab

Preview with #341241

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

Preview Lab → · Contrast checker → · Palette generator →

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