#4A1045#4A1045

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

Color values

HEX#4A1045
RGBrgb(74, 16, 69)
HSLhsl(305, 64%, 18%)
HSVhsv(305, 78%, 29%)
CMYKcmyk(0%, 78.4%, 6.8%, 71%)
CIE-LABlab(16.78, 33.83, -18.95)
CIE-LCHlch(16.78, 38.78, 330.74°)
OKLaboklab(29.71% 0.0968 -0.0521)
OKLCHoklch(29.71% 0.11 331.7)
XYZxyz(4.0835, 2.2564, 5.8495)
Luminance0.0226 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A1045 #104A15
analogous
#32104A #4A1045 #4A1028
triadic
#4A1045 #454A10 #10454A
tetradic
#4A1045 #4A3210 #104A15 #10284A
square
#4A1045 #4A3210 #104A15 #10284A
split-complementary
#4A1045 #284A10 #104A32
monochromatic
#190517 #190517 #4A1045 #7C1B74 #AF26A3

Accessibility & contrast

On white

14.47
#4A1045 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4A1045
14.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A1045#FFFFFF#000000##FFFFFF
##4A10451.0014.471.4514.47
#FFFFFF14.471.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C2446
Deuteranopia (green-blind)
#222C44
Tritanopia (blue-blind)
#4D1629
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #4a1045;
/* rgb */ color: rgb(74, 16, 69);
/* oklch */ color: oklch(29.7% 0.110 331.7);
Tailwind
colors: {
  custom: {
    50: '#7f5579',
    500: '#4a1045',
    950: '#000000',
  },
}
SCSS
$custom: #4a1045;
$custom-light: #7f5579;
$custom-dark: #000000;
JSON
{
  "hex": "#4a1045",
  "rgb": {
    "r": 74,
    "g": 16,
    "b": 69
  },
  "hsl": {
    "h": 305.172,
    "s": 64.444,
    "l": 17.647
  },
  "oklch": {
    "l": 0.29705,
    "c": 0.10995,
    "h": 331.7
  },
  "luminance": 0.02256
}

Semantic roles & 50–950 ramp

primary
#4A1045
secondary
#328439
accent
#E74F40
background
#F7F5F7
surface
#EEE9ED
border
#C9C5C8
text
#0A0309
muted
#7C787B

Preview Lab

Preview with #4A1045

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

Preview Lab → · Contrast checker → · Palette generator →

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