#341544#341544

#341544 is a dark, moderate violet. Relative luminance 0.017; OKLCH L 26.7% C 0.089 H 312.3°. Best body text is #FFFFFF at 15.71:1 contrast (WCAG AA passes).

Color values

HEX#341544
RGBrgb(52, 21, 68)
HSLhsl(280, 53%, 17%)
HSVhsv(280, 69%, 27%)
CMYKcmyk(23.5%, 69.1%, 0%, 73.3%)
CIE-LABlab(13.73, 24.92, -23.33)
CIE-LCHlch(13.73, 34.14, 316.89°)
OKLaboklab(26.7% 0.0598 -0.0656)
OKLCHoklch(26.7% 0.089 312.3)
XYZxyz(2.7275, 1.6838, 5.6490)
Luminance0.0168 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341544 #254415
analogous
#1C1544 #341544 #44153D
triadic
#341544 #443415 #154434
tetradic
#341544 #441C15 #254415 #153D44
square
#341544 #441C15 #254415 #153D44
split-complementary
#341544 #3D4415 #15441C
monochromatic
#120717 #120717 #341544 #582373 #7C32A2

Accessibility & contrast

On white

15.71
#341544 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #341544
15.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341544#FFFFFF#000000##FFFFFF
##3415441.0015.711.3415.71
#FFFFFF15.711.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#042145
Deuteranopia (green-blind)
#122443
Tritanopia (blue-blind)
#321E2A
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #341544;
/* rgb */ color: rgb(52, 21, 68);
/* oklch */ color: oklch(26.7% 0.089 312.3);
Tailwind
colors: {
  custom: {
    50: '#6d5478',
    500: '#341544',
    950: '#000000',
  },
}
SCSS
$custom: #341544;
$custom-light: #6d5478;
$custom-dark: #000000;
JSON
{
  "hex": "#341544",
  "rgb": {
    "r": 52,
    "g": 21,
    "b": 68
  },
  "hsl": {
    "h": 279.574,
    "s": 52.809,
    "l": 17.451
  },
  "oklch": {
    "l": 0.26702,
    "c": 0.08873,
    "h": 312.3
  },
  "luminance": 0.01684
}

Semantic roles & 50–950 ramp

primary
#341544
secondary
#507C39
accent
#DC4C7D
background
#F6F4F7
surface
#ECE8ED
border
#C7C4C8
text
#070309
muted
#7A787B

Preview Lab

Preview with #341544

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

Preview Lab → · Contrast checker → · Palette generator →

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