#4A1249#4A1249

#4A1249 is a dark, moderate purple. Relative luminance 0.024; OKLCH L 30.2% C 0.111 H 328.6°. Best body text is #FFFFFF at 14.25:1 contrast (WCAG AA passes).

Color values

HEX#4A1249
RGBrgb(74, 18, 73)
HSLhsl(301, 61%, 18%)
HSVhsv(301, 76%, 29%)
CMYKcmyk(0%, 75.7%, 1.4%, 71%)
CIE-LABlab(17.32, 33.75, -20.86)
CIE-LCHlch(17.32, 39.68, 328.28°)
OKLaboklab(30.17% 0.0946 -0.0576)
OKLCHoklch(30.17% 0.111 328.6)
XYZxyz(4.2429, 2.3698, 6.5360)
Luminance0.0237 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A1249 #124A13
analogous
#2F124A #4A1249 #4A122D
triadic
#4A1249 #494A12 #12494A
tetradic
#4A1249 #4A2F12 #124A13 #122D4A
square
#4A1249 #4A2F12 #124A13 #122D4A
split-complementary
#4A1249 #2D4A12 #124A2F
monochromatic
#190618 #190618 #4A1249 #7B1E7A #AC2AAA

Accessibility & contrast

On white

14.25
#4A1249 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#4A1249 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A1249
14.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A1249#FFFFFF#000000##FFFFFF
##4A12491.0014.251.4714.25
#FFFFFF14.251.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A264B
Deuteranopia (green-blind)
#212D48
Tritanopia (blue-blind)
#4D1A2C
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #4a1249;
/* rgb */ color: rgb(74, 18, 73);
/* oklch */ color: oklch(30.2% 0.111 328.6);
Tailwind
colors: {
  custom: {
    50: '#7f567c',
    500: '#4a1249',
    950: '#000000',
  },
}
SCSS
$custom: #4a1249;
$custom-light: #7f567c;
$custom-dark: #000000;
JSON
{
  "hex": "#4a1249",
  "rgb": {
    "r": 74,
    "g": 18,
    "b": 73
  },
  "hsl": {
    "h": 301.071,
    "s": 60.87,
    "l": 18.039
  },
  "oklch": {
    "l": 0.30173,
    "c": 0.11081,
    "h": 328.6
  },
  "luminance": 0.02369
}

Semantic roles & 50–950 ramp

primary
#4A1249
secondary
#358336
accent
#E44744
background
#F7F5F7
surface
#EEE9EE
border
#C9C5C9
text
#0A0309
muted
#7C787B

Preview Lab

Preview with #4A1249

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

Preview Lab → · Contrast checker → · Palette generator →

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