#4C0B47#4C0B47

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

Color values

HEX#4C0B47
RGBrgb(76, 11, 71)
HSLhsl(305, 75%, 17%)
HSVhsv(305, 86%, 30%)
CMYKcmyk(0%, 85.5%, 6.6%, 70.2%)
CIE-LABlab(16.66, 36.53, -20.51)
CIE-LCHlch(16.66, 41.90, 330.70°)
OKLaboklab(29.73% 0.1046 -0.0565)
OKLCHoklch(29.73% 0.119 331.6)
XYZxyz(4.2375, 2.2311, 6.1675)
Luminance0.0223 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C0B47 #0B4C10
analogous
#310B4C #4C0B47 #4C0B27
triadic
#4C0B47 #474C0B #0B474C
tetradic
#4C0B47 #4C310B #0B4C10 #0B274C
square
#4C0B47 #4C310B #0B4C10 #0B274C
split-complementary
#4C0B47 #274C0B #0B4C31
monochromatic
#1B0419 #1B0419 #4C0B47 #811379 #B71AAB

Accessibility & contrast

On white

14.52
#4C0B47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4C0B47
14.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C0B47#FFFFFF#000000##FFFFFF
##4C0B471.0014.521.4514.52
#FFFFFF14.521.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#052349
Deuteranopia (green-blind)
#212C45
Tritanopia (blue-blind)
#501329
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #4c0b47;
/* rgb */ color: rgb(76, 11, 71);
/* oklch */ color: oklch(29.7% 0.119 331.6);
Tailwind
colors: {
  custom: {
    50: '#81537a',
    500: '#4c0b47',
    950: '#000000',
  },
}
SCSS
$custom: #4c0b47;
$custom-light: #81537a;
$custom-dark: #000000;
JSON
{
  "hex": "#4c0b47",
  "rgb": {
    "r": 76,
    "g": 11,
    "b": 71
  },
  "hsl": {
    "h": 304.615,
    "s": 74.713,
    "l": 17.059
  },
  "oklch": {
    "l": 0.29732,
    "c": 0.11887,
    "h": 331.6
  },
  "luminance": 0.02231
}

Semantic roles & 50–950 ramp

primary
#4C0B47
secondary
#2B8832
accent
#F14536
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0309
muted
#7C787B

Preview Lab

Preview with #4C0B47

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

Preview Lab → · Contrast checker → · Palette generator →

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