#341041#341041

#341041 is a dark, moderate purple. Relative luminance 0.015; OKLCH L 25.7% C 0.093 H 315.8°. Best body text is #FFFFFF at 16.20:1 contrast (WCAG AA passes).

Color values

HEX#341041
RGBrgb(52, 16, 65)
HSLhsl(284, 60%, 16%)
HSVhsv(284, 75%, 25%)
CMYKcmyk(20%, 75.4%, 0%, 74.5%)
CIE-LABlab(12.50, 26.96, -23.21)
CIE-LCHlch(12.50, 35.57, 319.28°)
OKLaboklab(25.74% 0.067 -0.0652)
OKLCHoklch(25.74% 0.093 315.8)
XYZxyz(2.5555, 1.4824, 5.1515)
Luminance0.0148 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341041 #1D4110
analogous
#1B1041 #341041 #411035
triadic
#341041 #413410 #104134
tetradic
#341041 #411B10 #1D4110 #103541
square
#341041 #411B10 #1D4110 #103541
split-complementary
#341041 #354110 #10411B
monochromatic
#140619 #140619 #341041 #5B1C72 #8328A3

Accessibility & contrast

On white

16.20
#341041 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#341041 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #341041
16.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341041#FFFFFF#000000##FFFFFF
##3410411.0016.201.3016.20
#FFFFFF16.201.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E42
Deuteranopia (green-blind)
#102240
Tritanopia (blue-blind)
#331926
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #341041;
/* rgb */ color: rgb(52, 16, 65);
/* oklch */ color: oklch(25.7% 0.093 315.8);
Tailwind
colors: {
  custom: {
    50: '#6d5176',
    500: '#341041',
    950: '#000000',
  },
}
SCSS
$custom: #341041;
$custom-light: #6d5176;
$custom-dark: #000000;
JSON
{
  "hex": "#341041",
  "rgb": {
    "r": 52,
    "g": 16,
    "b": 65
  },
  "hsl": {
    "h": 284.082,
    "s": 60.494,
    "l": 15.882
  },
  "oklch": {
    "l": 0.25739,
    "c": 0.09346,
    "h": 315.8
  },
  "luminance": 0.01482
}

Semantic roles & 50–950 ramp

primary
#341041
secondary
#457B32
accent
#E4446E
background
#F6F4F7
surface
#ECE7ED
border
#C7C3C8
text
#070208
muted
#7A787B

Preview Lab

Preview with #341041

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

Preview Lab → · Contrast checker → · Palette generator →

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