#4A0948#4A0948

#4A0948 is a dark, vivid purple. Relative luminance 0.021; OKLCH L 29.3% C 0.121 H 329.5°. Best body text is #FFFFFF at 14.75:1 contrast (WCAG AA passes).

Color values

HEX#4A0948
RGBrgb(74, 9, 72)
HSLhsl(302, 78%, 16%)
HSVhsv(302, 88%, 29%)
CMYKcmyk(0%, 87.8%, 2.7%, 71%)
CIE-LABlab(16.10, 36.86, -22.10)
CIE-LCHlch(16.10, 42.98, 329.05°)
OKLaboklab(29.28% 0.104 -0.0612)
OKLCHoklch(29.28% 0.121 329.5)
XYZxyz(4.0914, 2.1194, 6.3232)
Luminance0.0212 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A0948 #094A0B
analogous
#2C094A #4A0948 #4A0928
triadic
#4A0948 #484A09 #09484A
tetradic
#4A0948 #4A2C09 #094A0B #09284A
square
#4A0948 #4A2C09 #094A0B #09284A
split-complementary
#4A0948 #284A09 #094A2C
monochromatic
#1B031B #1B031B #4A0948 #81107D #B716B2

Accessibility & contrast

On white

14.75
#4A0948 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#4A0948 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A0948
14.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A0948#FFFFFF#000000##FFFFFF
##4A09481.0014.751.4214.75
#FFFFFF14.751.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00234A
Deuteranopia (green-blind)
#1E2B46
Tritanopia (blue-blind)
#4D1329
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #4a0948;
/* rgb */ color: rgb(74, 9, 72);
/* oklch */ color: oklch(29.3% 0.121 329.5);
Tailwind
colors: {
  custom: {
    50: '#7f527b',
    500: '#4a0948',
    950: '#000000',
  },
}
SCSS
$custom: #4a0948;
$custom-light: #7f527b;
$custom-dark: #000000;
JSON
{
  "hex": "#4a0948",
  "rgb": {
    "r": 74,
    "g": 9,
    "b": 72
  },
  "hsl": {
    "h": 301.846,
    "s": 78.313,
    "l": 16.275
  },
  "oklch": {
    "l": 0.29281,
    "c": 0.12069,
    "h": 329.5
  },
  "luminance": 0.02119
}

Semantic roles & 50–950 ramp

primary
#4A0948
secondary
#27872A
accent
#F53933
background
#F8F4F7
surface
#EFE7EE
border
#CAC3C9
text
#0A0309
muted
#7C787B

Preview Lab

Preview with #4A0948

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

Preview Lab → · Contrast checker → · Palette generator →

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