#4B0D48#4B0D48

#4B0D48 is a dark, moderate purple. Relative luminance 0.023; OKLCH L 29.8% C 0.117 H 330.2°. Best body text is #FFFFFF at 14.48:1 contrast (WCAG AA passes).

Color values

HEX#4B0D48
RGBrgb(75, 13, 72)
HSLhsl(303, 70%, 17%)
HSVhsv(303, 83%, 29%)
CMYKcmyk(0%, 82.7%, 4%, 70.6%)
CIE-LABlab(16.76, 35.79, -21.05)
CIE-LCHlch(16.76, 41.52, 329.54°)
OKLaboklab(29.79% 0.1015 -0.0581)
OKLCHoklch(29.79% 0.117 330.2)
XYZxyz(4.2153, 2.2519, 6.3423)
Luminance0.0225 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B0D48 #0D4B10
analogous
#2F0D4B #4B0D48 #4B0D29
triadic
#4B0D48 #484B0D #0D484B
tetradic
#4B0D48 #4B2F0D #0D4B10 #0D294B
square
#4B0D48 #4B2F0D #0D4B10 #0D294B
split-complementary
#4B0D48 #294B0D #0D4B2F
monochromatic
#1A0519 #1A0519 #4B0D48 #7F167A #B31FAC

Accessibility & contrast

On white

14.48
#4B0D48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#4B0D48 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B0D48
14.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B0D48#FFFFFF#000000##FFFFFF
##4B0D481.0014.481.4514.48
#FFFFFF14.481.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#06244A
Deuteranopia (green-blind)
#202C47
Tritanopia (blue-blind)
#4E162A
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #4b0d48;
/* rgb */ color: rgb(75, 13, 72);
/* oklch */ color: oklch(29.8% 0.117 330.2);
Tailwind
colors: {
  custom: {
    50: '#80547b',
    500: '#4b0d48',
    950: '#000000',
  },
}
SCSS
$custom: #4b0d48;
$custom-light: #80547b;
$custom-dark: #000000;
JSON
{
  "hex": "#4b0d48",
  "rgb": {
    "r": 75,
    "g": 13,
    "b": 72
  },
  "hsl": {
    "h": 302.903,
    "s": 70.455,
    "l": 17.255
  },
  "oklch": {
    "l": 0.29787,
    "c": 0.11692,
    "h": 330.2
  },
  "luminance": 0.02252
}

Semantic roles & 50–950 ramp

primary
#4B0D48
secondary
#2E8632
accent
#ED433B
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0A0309
muted
#7C787B

Preview Lab

Preview with #4B0D48

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

Preview Lab → · Contrast checker → · Palette generator →

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