#4A0B49#4A0B49

#4A0B49 is a dark, moderate purple. Relative luminance 0.022; OKLCH L 29.5% C 0.119 H 328.8°. Best body text is #FFFFFF at 14.63:1 contrast (WCAG AA passes).

Color values

HEX#4A0B49
RGBrgb(74, 11, 73)
HSLhsl(301, 74%, 17%)
HSVhsv(301, 85%, 29%)
CMYKcmyk(0%, 85.1%, 1.4%, 71%)
CIE-LABlab(16.39, 36.41, -22.34)
CIE-LCHlch(16.39, 42.72, 328.47°)
OKLaboklab(29.51% 0.1022 -0.0619)
OKLCHoklch(29.51% 0.119 328.8)
XYZxyz(4.1463, 2.1765, 6.5038)
Luminance0.0218 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A0B49 #0B4A0C
analogous
#2C0B4A #4A0B49 #4A0B2A
triadic
#4A0B49 #494A0B #0B494A
tetradic
#4A0B49 #4A2C0B #0B4A0C #0B2A4A
square
#4A0B49 #4A2C0B #0B4A0C #0B2A4A
split-complementary
#4A0B49 #2A4A0B #0B4A2C
monochromatic
#1B041A #1B041A #4A0B49 #7F137E #B51BB2

Accessibility & contrast

On white

14.63
#4A0B49 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#4A0B49 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A0B49
14.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A0B49#FFFFFF#000000##FFFFFF
##4A0B491.0014.631.4414.63
#FFFFFF14.631.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#01234B
Deuteranopia (green-blind)
#1E2B47
Tritanopia (blue-blind)
#4D152A
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #4a0b49;
/* rgb */ color: rgb(74, 11, 73);
/* oklch */ color: oklch(29.5% 0.119 328.8);
Tailwind
colors: {
  custom: {
    50: '#7f537c',
    500: '#4a0b49',
    950: '#000000',
  },
}
SCSS
$custom: #4a0b49;
$custom-light: #7f537c;
$custom-dark: #000000;
JSON
{
  "hex": "#4a0b49",
  "rgb": {
    "r": 74,
    "g": 11,
    "b": 73
  },
  "hsl": {
    "h": 300.952,
    "s": 74.118,
    "l": 16.667
  },
  "oklch": {
    "l": 0.29506,
    "c": 0.11947,
    "h": 328.8
  },
  "luminance": 0.02176
}

Semantic roles & 50–950 ramp

primary
#4A0B49
secondary
#2B862C
accent
#F13A37
background
#F8F5F7
surface
#EFE8EE
border
#CAC4C9
text
#0A0309
muted
#7C787B

Preview Lab

Preview with #4A0B49

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

Preview Lab → · Contrast checker → · Palette generator →

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