#4A1341#4A1341

#4A1341 is a dark, moderate purple. Relative luminance 0.023; OKLCH L 29.8% C 0.102 H 335.0°. Best body text is #FFFFFF at 14.38:1 contrast (WCAG AA passes).

Color values

HEX#4A1341
RGBrgb(74, 19, 65)
HSLhsl(310, 59%, 18%)
HSVhsv(310, 74%, 29%)
CMYKcmyk(0%, 74.3%, 12.2%, 71%)
CIE-LABlab(17.01, 31.81, -15.81)
CIE-LCHlch(17.01, 35.52, 333.57°)
OKLaboklab(29.79% 0.0926 -0.0431)
OKLCHoklch(29.79% 0.102 335)
XYZxyz(4.0111, 2.3036, 5.2334)
Luminance0.0230 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A1341 #134A1C
analogous
#37134A #4A1341 #4A1325
triadic
#4A1341 #414A13 #13414A
tetradic
#4A1341 #4A3713 #134A1C #13254A
square
#4A1341 #4A3713 #134A1C #13254A
split-complementary
#4A1341 #254A13 #134A37
monochromatic
#180615 #190616 #4A1341 #7B206C #AB2C97

Accessibility & contrast

On white

14.38
#4A1341 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#4A1341 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A1341
14.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A1341#FFFFFF#000000##FFFFFF
##4A13411.0014.381.4614.38
#FFFFFF14.381.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#132542
Deuteranopia (green-blind)
#252D40
Tritanopia (blue-blind)
#4E1728
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #4a1341;
/* rgb */ color: rgb(74, 19, 65);
/* oklch */ color: oklch(29.8% 0.102 335.0);
Tailwind
colors: {
  custom: {
    50: '#7f5675',
    500: '#4a1341',
    950: '#000000',
  },
}
SCSS
$custom: #4a1341;
$custom-light: #7f5675;
$custom-dark: #000000;
JSON
{
  "hex": "#4a1341",
  "rgb": {
    "r": 74,
    "g": 19,
    "b": 65
  },
  "hsl": {
    "h": 309.818,
    "s": 59.14,
    "l": 18.235
  },
  "oklch": {
    "l": 0.29794,
    "c": 0.10218,
    "h": 335
  },
  "luminance": 0.02303
}

Semantic roles & 50–950 ramp

primary
#4A1341
secondary
#368343
accent
#E25F45
background
#F7F5F7
surface
#EEE9ED
border
#C9C5C8
text
#0A0308
muted
#7C787B

Preview Lab

Preview with #4A1341

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

Preview Lab → · Contrast checker → · Palette generator →

#4A1341 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva