#4A1243#4A1243

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

Color values

HEX#4A1243
RGBrgb(74, 18, 67)
HSLhsl(308, 61%, 18%)
HSVhsv(308, 76%, 29%)
CMYKcmyk(0%, 75.7%, 9.5%, 71%)
CIE-LABlab(16.96, 32.62, -17.28)
CIE-LCHlch(16.96, 36.91, 332.09°)
OKLaboklab(29.8% 0.0942 -0.0473)
OKLCHoklch(29.8% 0.105 333.3)
XYZxyz(4.0535, 2.2940, 5.5384)
Luminance0.0229 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A1243 #124A19
analogous
#35124A #4A1243 #4A1227
triadic
#4A1243 #434A12 #12434A
tetradic
#4A1243 #4A3512 #124A19 #12274A
square
#4A1243 #4A3512 #124A19 #12274A
split-complementary
#4A1243 #274A12 #124A35
monochromatic
#190616 #190616 #4A1243 #7B1E70 #AC2A9C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4A1243#FFFFFF#000000##FFFFFF
##4A12431.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)
#102544
Deuteranopia (green-blind)
#242D42
Tritanopia (blue-blind)
#4E1728
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #4a1243;
/* rgb */ color: rgb(74, 18, 67);
/* oklch */ color: oklch(29.8% 0.105 333.3);
Tailwind
colors: {
  custom: {
    50: '#7f5677',
    500: '#4a1243',
    950: '#000000',
  },
}
SCSS
$custom: #4a1243;
$custom-light: #7f5677;
$custom-dark: #000000;
JSON
{
  "hex": "#4a1243",
  "rgb": {
    "r": 74,
    "g": 18,
    "b": 67
  },
  "hsl": {
    "h": 307.5,
    "s": 60.87,
    "l": 18.039
  },
  "oklch": {
    "l": 0.29798,
    "c": 0.1054,
    "h": 333.3
  },
  "luminance": 0.02294
}

Semantic roles & 50–950 ramp

primary
#4A1243
secondary
#35833F
accent
#E45844
background
#F7F5F7
surface
#EEE9ED
border
#C9C5C8
text
#0A0308
muted
#7C787B

Preview Lab

Preview with #4A1243

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

Preview Lab → · Contrast checker → · Palette generator →

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