#4A1050#4A1050

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

Color values

HEX#4A1050
RGBrgb(74, 16, 80)
HSLhsl(294, 67%, 19%)
HSVhsv(294, 80%, 31%)
CMYKcmyk(7.5%, 80%, 0%, 68.6%)
CIE-LABlab(17.49, 35.96, -25.39)
CIE-LCHlch(17.49, 44.02, 324.78°)
OKLaboklab(30.44% 0.0969 -0.0708)
OKLCHoklch(30.44% 0.12 323.8)
XYZxyz(4.4572, 2.4059, 7.8175)
Luminance0.0241 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A1050 #165010
analogous
#2A1050 #4A1050 #501036
triadic
#4A1050 #504A10 #10504A
tetradic
#4A1050 #502A10 #165010 #103650
square
#4A1050 #502A10 #165010 #103650
split-complementary
#4A1050 #365010 #10502A
monochromatic
#18051A #1B061D #4A1050 #791A83 #A824B6

Accessibility & contrast

On white

14.18
#4A1050 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4A1050
14.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A1050#FFFFFF#000000##FFFFFF
##4A10501.0014.181.4814.18
#FFFFFF14.181.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002752
Deuteranopia (green-blind)
#1C2D4E
Tritanopia (blue-blind)
#4B1C2F
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #4a1050;
/* rgb */ color: rgb(74, 16, 80);
/* oklch */ color: oklch(30.4% 0.120 323.8);
Tailwind
colors: {
  custom: {
    50: '#7f5581',
    500: '#4a1050',
    950: '#000000',
  },
}
SCSS
$custom: #4a1050;
$custom-light: #7f5581;
$custom-dark: #000000;
JSON
{
  "hex": "#4a1050",
  "rgb": {
    "r": 74,
    "g": 16,
    "b": 80
  },
  "hsl": {
    "h": 294.375,
    "s": 66.667,
    "l": 18.824
  },
  "oklch": {
    "l": 0.30441,
    "c": 0.11998,
    "h": 323.8
  },
  "luminance": 0.02406
}

Semantic roles & 50–950 ramp

primary
#4A1050
secondary
#3A8A32
accent
#EA3E4E
background
#F7F5F7
surface
#EEE9EE
border
#C9C5C9
text
#0A030A
muted
#7C787C

Preview Lab

Preview with #4A1050

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

Preview Lab → · Contrast checker → · Palette generator →

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