#4A0B48#4A0B48

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

Color values

HEX#4A0B48
RGBrgb(74, 11, 72)
HSLhsl(302, 74%, 17%)
HSVhsv(302, 85%, 29%)
CMYKcmyk(0%, 85.1%, 2.7%, 71%)
CIE-LABlab(16.32, 36.23, -21.75)
CIE-LCHlch(16.32, 42.25, 329.02°)
OKLaboklab(29.44% 0.1022 -0.0602)
OKLCHoklch(29.44% 0.119 329.5)
XYZxyz(4.1134, 2.1634, 6.3306)
Luminance0.0216 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A0B48 #0B4A0D
analogous
#2D0B4A #4A0B48 #4A0B29
triadic
#4A0B48 #484A0B #0B484A
tetradic
#4A0B48 #4A2D0B #0B4A0D #0B294A
square
#4A0B48 #4A2D0B #0B4A0D #0B294A
split-complementary
#4A0B48 #294A0B #0B4A2D
monochromatic
#1B041A #1B041A #4A0B48 #7F137C #B51BB0

Accessibility & contrast

On white

14.66
#4A0B48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#4A0B48 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A0B48
14.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A0B48#FFFFFF#000000##FFFFFF
##4A0B481.0014.661.4314.66
#FFFFFF14.661.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.661.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4a0b48;
/* rgb */ color: rgb(74, 11, 72);
/* oklch */ color: oklch(29.4% 0.119 329.5);
Tailwind
colors: {
  custom: {
    50: '#7f537b',
    500: '#4a0b48',
    950: '#000000',
  },
}
SCSS
$custom: #4a0b48;
$custom-light: #7f537b;
$custom-dark: #000000;
JSON
{
  "hex": "#4a0b48",
  "rgb": {
    "r": 74,
    "g": 11,
    "b": 72
  },
  "hsl": {
    "h": 301.905,
    "s": 74.118,
    "l": 16.667
  },
  "oklch": {
    "l": 0.29438,
    "c": 0.1186,
    "h": 329.5
  },
  "luminance": 0.02163
}

Semantic roles & 50–950 ramp

primary
#4A0B48
secondary
#2B862D
accent
#F13D37
background
#F8F5F7
surface
#EFE8EE
border
#CAC4C9
text
#0A0309
muted
#7C787B

Preview Lab

Preview with #4A0B48

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

Preview Lab → · Contrast checker → · Palette generator →

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