#4A1245#4A1245

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

Color values

HEX#4A1245
RGBrgb(74, 18, 69)
HSLhsl(305, 61%, 18%)
HSVhsv(305, 76%, 29%)
CMYKcmyk(0%, 75.7%, 6.8%, 71%)
CIE-LABlab(17.08, 32.99, -18.48)
CIE-LCHlch(17.08, 37.81, 330.74°)
OKLaboklab(29.92% 0.0944 -0.0508)
OKLCHoklch(29.92% 0.107 331.7)
XYZxyz(4.1145, 2.3185, 5.8599)
Luminance0.0232 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A1245 #124A17
analogous
#33124A #4A1245 #4A1229
triadic
#4A1245 #454A12 #12454A
tetradic
#4A1245 #4A3312 #124A17 #12294A
square
#4A1245 #4A3312 #124A17 #12294A
split-complementary
#4A1245 #294A12 #124A33
monochromatic
#190617 #190617 #4A1245 #7B1E73 #AC2AA1

Accessibility & contrast

On white

14.35
#4A1245 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4A1245
14.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A1245#FFFFFF#000000##FFFFFF
##4A12451.0014.351.4614.35
#FFFFFF14.351.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F2546
Deuteranopia (green-blind)
#232D44
Tritanopia (blue-blind)
#4D1829
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #4a1245;
/* rgb */ color: rgb(74, 18, 69);
/* oklch */ color: oklch(29.9% 0.107 331.7);
Tailwind
colors: {
  custom: {
    50: '#7f5679',
    500: '#4a1245',
    950: '#000000',
  },
}
SCSS
$custom: #4a1245;
$custom-light: #7f5679;
$custom-dark: #000000;
JSON
{
  "hex": "#4a1245",
  "rgb": {
    "r": 74,
    "g": 18,
    "b": 69
  },
  "hsl": {
    "h": 305.357,
    "s": 60.87,
    "l": 18.039
  },
  "oklch": {
    "l": 0.2992,
    "c": 0.10717,
    "h": 331.7
  },
  "luminance": 0.02318
}

Semantic roles & 50–950 ramp

primary
#4A1245
secondary
#35833C
accent
#E45244
background
#F7F5F7
surface
#EEE9ED
border
#C9C5C8
text
#0A0309
muted
#7C787B

Preview Lab

Preview with #4A1245

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

Preview Lab → · Contrast checker → · Palette generator →

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