#4B0C48#4B0C48

#4B0C48 is a dark, moderate purple. Relative luminance 0.022; OKLCH L 29.7% C 0.118 H 330.2°. Best body text is #FFFFFF at 14.53:1 contrast (WCAG AA passes).

Color values

HEX#4B0C48
RGBrgb(75, 12, 72)
HSLhsl(303, 72%, 17%)
HSVhsv(303, 84%, 29%)
CMYKcmyk(0%, 84%, 4%, 70.6%)
CIE-LABlab(16.64, 36.14, -21.24)
CIE-LCHlch(16.64, 41.92, 329.55°)
OKLaboklab(29.7% 0.1025 -0.0587)
OKLCHoklch(29.7% 0.118 330.2)
XYZxyz(4.2028, 2.2270, 6.3381)
Luminance0.0223 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B0C48 #0C4B0F
analogous
#2F0C4B #4B0C48 #4B0C29
triadic
#4B0C48 #484B0C #0C484B
tetradic
#4B0C48 #4B2F0C #0C4B0F #0C294B
square
#4B0C48 #4B2F0C #0C4B0F #0C294B
split-complementary
#4B0C48 #294B0C #0C4B2F
monochromatic
#1A0419 #1A0419 #4B0C48 #80147B #B51DAD

Accessibility & contrast

On white

14.53
#4B0C48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4B0C48
14.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B0C48#FFFFFF#000000##FFFFFF
##4B0C481.0014.531.4514.53
#FFFFFF14.531.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#04244A
Deuteranopia (green-blind)
#202C46
Tritanopia (blue-blind)
#4E1529
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #4b0c48;
/* rgb */ color: rgb(75, 12, 72);
/* oklch */ color: oklch(29.7% 0.118 330.2);
Tailwind
colors: {
  custom: {
    50: '#80537b',
    500: '#4b0c48',
    950: '#000000',
  },
}
SCSS
$custom: #4b0c48;
$custom-light: #80537b;
$custom-dark: #000000;
JSON
{
  "hex": "#4b0c48",
  "rgb": {
    "r": 75,
    "g": 12,
    "b": 72
  },
  "hsl": {
    "h": 302.857,
    "s": 72.414,
    "l": 17.059
  },
  "oklch": {
    "l": 0.297,
    "c": 0.11806,
    "h": 330.2
  },
  "luminance": 0.02227
}

Semantic roles & 50–950 ramp

primary
#4B0C48
secondary
#2C8730
accent
#EF4139
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0A0309
muted
#7C787B

Preview Lab

Preview with #4B0C48

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

Preview Lab → · Contrast checker → · Palette generator →

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