#4A1241#4A1241

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

Color values

HEX#4A1241
RGBrgb(74, 18, 65)
HSLhsl(310, 61%, 18%)
HSVhsv(310, 76%, 29%)
CMYKcmyk(0%, 75.7%, 12.2%, 71%)
CIE-LABlab(16.85, 32.26, -16.06)
CIE-LCHlch(16.85, 36.03, 333.53°)
OKLaboklab(29.68% 0.094 -0.0438)
OKLCHoklch(29.68% 0.104 335)
XYZxyz(3.9945, 2.2705, 5.2279)
Luminance0.0227 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A1241 #124A1B
analogous
#37124A #4A1241 #4A1225
triadic
#4A1241 #414A12 #12414A
tetradic
#4A1241 #4A3712 #124A1B #12254A
square
#4A1241 #4A3712 #124A1B #12254A
split-complementary
#4A1241 #254A12 #124A37
monochromatic
#190616 #190616 #4A1241 #7B1E6C #AC2A97

Accessibility & contrast

On white

14.44
#4A1241 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#4A1241 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A1241
14.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A1241#FFFFFF#000000##FFFFFF
##4A12411.0014.441.4514.44
#FFFFFF14.441.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.441.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4a1241;
/* rgb */ color: rgb(74, 18, 65);
/* oklch */ color: oklch(29.7% 0.104 335.0);
Tailwind
colors: {
  custom: {
    50: '#7f5575',
    500: '#4a1241',
    950: '#000000',
  },
}
SCSS
$custom: #4a1241;
$custom-light: #7f5575;
$custom-dark: #000000;
JSON
{
  "hex": "#4a1241",
  "rgb": {
    "r": 74,
    "g": 18,
    "b": 65
  },
  "hsl": {
    "h": 309.643,
    "s": 60.87,
    "l": 18.039
  },
  "oklch": {
    "l": 0.29679,
    "c": 0.10367,
    "h": 335
  },
  "luminance": 0.0227
}

Semantic roles & 50–950 ramp

primary
#4A1241
secondary
#358341
accent
#E45E44
background
#F7F5F7
surface
#EEE9ED
border
#C9C5C8
text
#0A0308
muted
#7C787B

Preview Lab

Preview with #4A1241

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

Preview Lab → · Contrast checker → · Palette generator →

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