#4C0F43#4C0F43

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

Color values

HEX#4C0F43
RGBrgb(76, 15, 67)
HSLhsl(309, 67%, 18%)
HSVhsv(309, 80%, 30%)
CMYKcmyk(0%, 80.3%, 11.8%, 70.2%)
CIE-LABlab(16.91, 34.41, -17.33)
CIE-LCHlch(16.91, 38.53, 333.28°)
OKLaboklab(29.84% 0.1002 -0.0474)
OKLCHoklch(29.84% 0.111 334.7)
XYZxyz(4.1645, 2.2838, 5.5306)
Luminance0.0228 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C0F43 #0F4C18
analogous
#360F4C #4C0F43 #4C0F25
triadic
#4C0F43 #434C0F #0F434C
tetradic
#4C0F43 #4C360F #0F4C18 #0F254C
square
#4C0F43 #4C360F #0F4C18 #0F254C
split-complementary
#4C0F43 #254C0F #0F4C36
monochromatic
#1A0517 #1A0517 #4C0F43 #7F1970 #B2239D

Accessibility & contrast

On white

14.42
#4C0F43 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#4C0F43 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C0F43
14.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C0F43#FFFFFF#000000##FFFFFF
##4C0F431.0014.421.4614.42
#FFFFFF14.421.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E2444
Deuteranopia (green-blind)
#242D42
Tritanopia (blue-blind)
#501427
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #4c0f43;
/* rgb */ color: rgb(76, 15, 67);
/* oklch */ color: oklch(29.8% 0.111 334.7);
Tailwind
colors: {
  custom: {
    50: '#815577',
    500: '#4c0f43',
    950: '#000000',
  },
}
SCSS
$custom: #4c0f43;
$custom-light: #815577;
$custom-dark: #000000;
JSON
{
  "hex": "#4c0f43",
  "rgb": {
    "r": 76,
    "g": 15,
    "b": 67
  },
  "hsl": {
    "h": 308.852,
    "s": 67.033,
    "l": 17.843
  },
  "oklch": {
    "l": 0.29836,
    "c": 0.11084,
    "h": 334.7
  },
  "luminance": 0.02283
}

Semantic roles & 50–950 ramp

primary
#4C0F43
secondary
#31863D
accent
#EA573E
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0308
muted
#7C787B

Preview Lab

Preview with #4C0F43

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

Preview Lab → · Contrast checker → · Palette generator →

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