#4A124B#4A124B

#4A124B is a dark, moderate purple. Relative luminance 0.024; OKLCH L 30.3% C 0.113 H 327.2°. Best body text is #FFFFFF at 14.20:1 contrast (WCAG AA passes).

Color values

HEX#4A124B
RGBrgb(74, 18, 75)
HSLhsl(299, 61%, 18%)
HSVhsv(299, 76%, 29%)
CMYKcmyk(1.3%, 76%, 0%, 70.6%)
CIE-LABlab(17.45, 34.14, -22.04)
CIE-LCHlch(17.45, 40.64, 327.16°)
OKLaboklab(30.3% 0.0947 -0.0611)
OKLCHoklch(30.3% 0.113 327.2)
XYZxyz(4.3103, 2.3968, 6.8908)
Luminance0.0240 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A124B #134B12
analogous
#2D124B #4A124B #4B122F
triadic
#4A124B #4B4A12 #124B4A
tetradic
#4A124B #4B2D12 #134B12 #122F4B
square
#4A124B #4B2D12 #134B12 #122F4B
split-complementary
#4A124B #2F4B12 #124B2D
monochromatic
#180619 #19061A #4A124B #7B1E7C #AB2AAE

Accessibility & contrast

On white

14.20
#4A124B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#4A124B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A124B
14.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A124B#FFFFFF#000000##FFFFFF
##4A124B1.0014.201.4814.20
#FFFFFF14.201.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#08264D
Deuteranopia (green-blind)
#202D4A
Tritanopia (blue-blind)
#4C1B2D
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #4a124b;
/* rgb */ color: rgb(74, 18, 75);
/* oklch */ color: oklch(30.3% 0.113 327.2);
Tailwind
colors: {
  custom: {
    50: '#7f567d',
    500: '#4a124b',
    950: '#000000',
  },
}
SCSS
$custom: #4a124b;
$custom-light: #7f567d;
$custom-dark: #000000;
JSON
{
  "hex": "#4a124b",
  "rgb": {
    "r": 74,
    "g": 18,
    "b": 75
  },
  "hsl": {
    "h": 298.947,
    "s": 61.29,
    "l": 18.235
  },
  "oklch": {
    "l": 0.30304,
    "c": 0.11266,
    "h": 327.2
  },
  "luminance": 0.02396
}

Semantic roles & 50–950 ramp

primary
#4A124B
secondary
#368435
accent
#E44346
background
#F7F5F7
surface
#EEE9EE
border
#C9C5C9
text
#0A030A
muted
#7C787C

Preview Lab

Preview with #4A124B

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

Preview Lab → · Contrast checker → · Palette generator →

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