#4B0C4A#4B0C4A

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

Color values

HEX#4B0C4A
RGBrgb(75, 12, 74)
HSLhsl(301, 72%, 17%)
HSVhsv(301, 84%, 29%)
CMYKcmyk(0%, 84%, 1.3%, 70.6%)
CIE-LABlab(16.77, 36.50, -22.42)
CIE-LCHlch(16.77, 42.84, 328.45°)
OKLaboklab(29.83% 0.1024 -0.0621)
OKLCHoklch(29.83% 0.12 328.8)
XYZxyz(4.2691, 2.2535, 6.6874)
Luminance0.0225 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B0C4A #0C4B0D
analogous
#2D0C4B #4B0C4A #4B0C2B
triadic
#4B0C4A #4A4B0C #0C4A4B
tetradic
#4B0C4A #4B2D0C #0C4B0D #0C2B4B
square
#4B0C4A #4B2D0C #0C4B0D #0C2B4B
split-complementary
#4B0C4A #2B4B0C #0C4B2D
monochromatic
#1A041A #1A041A #4B0C4A #80147E #B51DB2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4B0C4A#FFFFFF#000000##FFFFFF
##4B0C4A1.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)
#02244C
Deuteranopia (green-blind)
#1F2C48
Tritanopia (blue-blind)
#4E162B
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #4b0c4a;
/* rgb */ color: rgb(75, 12, 74);
/* oklch */ color: oklch(29.8% 0.120 328.8);
Tailwind
colors: {
  custom: {
    50: '#80547d',
    500: '#4b0c4a',
    950: '#000000',
  },
}
SCSS
$custom: #4b0c4a;
$custom-light: #80547d;
$custom-dark: #000000;
JSON
{
  "hex": "#4b0c4a",
  "rgb": {
    "r": 75,
    "g": 12,
    "b": 74
  },
  "hsl": {
    "h": 300.952,
    "s": 72.414,
    "l": 17.059
  },
  "oklch": {
    "l": 0.29834,
    "c": 0.11978,
    "h": 328.8
  },
  "luminance": 0.02253
}

Semantic roles & 50–950 ramp

primary
#4B0C4A
secondary
#2C872E
accent
#EF3C39
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0A0309
muted
#7C787B

Preview Lab

Preview with #4B0C4A

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

Preview Lab → · Contrast checker → · Palette generator →

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