#4A124D#4A124D

#4A124D is a dark, moderate purple. Relative luminance 0.024; OKLCH L 30.4% C 0.115 H 325.8°. Best body text is #FFFFFF at 14.14:1 contrast (WCAG AA passes).

Color values

HEX#4A124D
RGBrgb(74, 18, 77)
HSLhsl(297, 62%, 19%)
HSVhsv(297, 77%, 30%)
CMYKcmyk(3.9%, 76.6%, 0%, 69.8%)
CIE-LABlab(17.57, 34.54, -23.20)
CIE-LCHlch(17.57, 41.61, 326.11°)
OKLaboklab(30.44% 0.0947 -0.0644)
OKLCHoklch(30.44% 0.115 325.8)
XYZxyz(4.3798, 2.4246, 7.2570)
Luminance0.0242 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A124D #154D12
analogous
#2C124D #4A124D #4D1232
triadic
#4A124D #4D4A12 #124D4A
tetradic
#4A124D #4D2C12 #154D12 #12324D
square
#4A124D #4D2C12 #154D12 #12324D
split-complementary
#4A124D #324D12 #124D2C
monochromatic
#180619 #1A061B #4A124D #7A1E7F #A929B0

Accessibility & contrast

On white

14.14
#4A124D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4A124D
14.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A124D#FFFFFF#000000##FFFFFF
##4A124D1.0014.141.4814.14
#FFFFFF14.141.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#05274F
Deuteranopia (green-blind)
#1F2D4C
Tritanopia (blue-blind)
#4C1B2E
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #4a124d;
/* rgb */ color: rgb(74, 18, 77);
/* oklch */ color: oklch(30.4% 0.115 325.8);
Tailwind
colors: {
  custom: {
    50: '#7f567f',
    500: '#4a124d',
    950: '#000000',
  },
}
SCSS
$custom: #4a124d;
$custom-light: #7f567f;
$custom-dark: #000000;
JSON
{
  "hex": "#4a124d",
  "rgb": {
    "r": 74,
    "g": 18,
    "b": 77
  },
  "hsl": {
    "h": 296.949,
    "s": 62.105,
    "l": 18.627
  },
  "oklch": {
    "l": 0.30439,
    "c": 0.11454,
    "h": 325.8
  },
  "luminance": 0.02424
}

Semantic roles & 50–950 ramp

primary
#4A124D
secondary
#398635
accent
#E5434B
background
#F7F5F7
surface
#EEE9EE
border
#C9C5C9
text
#0A030A
muted
#7C787C

Preview Lab

Preview with #4A124D

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

Preview Lab → · Contrast checker → · Palette generator →

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