#4A1048#4A1048

#4A1048 is a dark, moderate purple. Relative luminance 0.023; OKLCH L 29.9% C 0.113 H 329.4°. Best body text is #FFFFFF at 14.40:1 contrast (WCAG AA passes).

Color values

HEX#4A1048
RGBrgb(74, 16, 72)
HSLhsl(302, 64%, 18%)
HSVhsv(302, 78%, 29%)
CMYKcmyk(0%, 78.4%, 2.7%, 71%)
CIE-LABlab(16.96, 34.39, -20.74)
CIE-LCHlch(16.96, 40.16, 328.91°)
OKLaboklab(29.9% 0.097 -0.0573)
OKLCHoklch(29.9% 0.113 329.4)
XYZxyz(4.1790, 2.2946, 6.3524)
Luminance0.0229 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A1048 #104A12
analogous
#2F104A #4A1048 #4A102B
triadic
#4A1048 #484A10 #10484A
tetradic
#4A1048 #4A2F10 #104A12 #102B4A
square
#4A1048 #4A2F10 #104A12 #102B4A
split-complementary
#4A1048 #2B4A10 #104A2F
monochromatic
#190518 #190518 #4A1048 #7C1B79 #AF26AA

Accessibility & contrast

On white

14.40
#4A1048 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4A1048
14.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A1048#FFFFFF#000000##FFFFFF
##4A10481.0014.401.4614.40
#FFFFFF14.401.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#09254A
Deuteranopia (green-blind)
#212D47
Tritanopia (blue-blind)
#4D182A
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #4a1048;
/* rgb */ color: rgb(74, 16, 72);
/* oklch */ color: oklch(29.9% 0.113 329.4);
Tailwind
colors: {
  custom: {
    50: '#7f557b',
    500: '#4a1048',
    950: '#000000',
  },
}
SCSS
$custom: #4a1048;
$custom-light: #7f557b;
$custom-dark: #000000;
JSON
{
  "hex": "#4a1048",
  "rgb": {
    "r": 74,
    "g": 16,
    "b": 72
  },
  "hsl": {
    "h": 302.069,
    "s": 64.444,
    "l": 17.647
  },
  "oklch": {
    "l": 0.29897,
    "c": 0.11261,
    "h": 329.4
  },
  "luminance": 0.02294
}

Semantic roles & 50–950 ramp

primary
#4A1048
secondary
#328435
accent
#E74640
background
#F7F5F7
surface
#EEE9EE
border
#C9C5C9
text
#0A0309
muted
#7C787B

Preview Lab

Preview with #4A1048

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

Preview Lab → · Contrast checker → · Palette generator →

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