#4C0F46#4C0F46

#4C0F46 is a dark, moderate purple. Relative luminance 0.023; OKLCH L 30.0% C 0.113 H 332.4°. Best body text is #FFFFFF at 14.34:1 contrast (WCAG AA passes).

Color values

HEX#4C0F46
RGBrgb(76, 15, 70)
HSLhsl(306, 67%, 18%)
HSVhsv(306, 80%, 30%)
CMYKcmyk(0%, 80.3%, 7.9%, 70.2%)
CIE-LABlab(17.09, 34.94, -19.13)
CIE-LCHlch(17.09, 39.84, 331.30°)
OKLaboklab(30.02% 0.1004 -0.0526)
OKLCHoklch(30.02% 0.113 332.4)
XYZxyz(4.2568, 2.3207, 6.0169)
Luminance0.0232 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C0F46 #0F4C15
analogous
#330F4C #4C0F46 #4C0F27
triadic
#4C0F46 #464C0F #0F464C
tetradic
#4C0F46 #4C330F #0F4C15 #0F274C
square
#4C0F46 #4C330F #0F4C15 #0F274C
split-complementary
#4C0F46 #274C0F #0F4C33
monochromatic
#1A0518 #1A0518 #4C0F46 #7F1975 #B223A4

Accessibility & contrast

On white

14.34
#4C0F46 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4C0F46
14.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C0F46#FFFFFF#000000##FFFFFF
##4C0F461.0014.341.4614.34
#FFFFFF14.341.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B2548
Deuteranopia (green-blind)
#232D45
Tritanopia (blue-blind)
#501629
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #4c0f46;
/* rgb */ color: rgb(76, 15, 70);
/* oklch */ color: oklch(30.0% 0.113 332.4);
Tailwind
colors: {
  custom: {
    50: '#815579',
    500: '#4c0f46',
    950: '#000000',
  },
}
SCSS
$custom: #4c0f46;
$custom-light: #815579;
$custom-dark: #000000;
JSON
{
  "hex": "#4c0f46",
  "rgb": {
    "r": 76,
    "g": 15,
    "b": 70
  },
  "hsl": {
    "h": 305.902,
    "s": 67.033,
    "l": 17.843
  },
  "oklch": {
    "l": 0.30021,
    "c": 0.11337,
    "h": 332.4
  },
  "luminance": 0.0232
}

Semantic roles & 50–950 ramp

primary
#4C0F46
secondary
#318639
accent
#EA4F3E
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0309
muted
#7C787B

Preview Lab

Preview with #4C0F46

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

Preview Lab → · Contrast checker → · Palette generator →

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