#4C1947#4C1947

#4C1947 is a dark, moderate purple. Relative luminance 0.027; OKLCH L 31.2% C 0.099 H 331.7°. Best body text is #FFFFFF at 13.66:1 contrast (WCAG AA passes).

Color values

HEX#4C1947
RGBrgb(76, 25, 71)
HSLhsl(306, 50%, 20%)
HSVhsv(306, 67%, 30%)
CMYKcmyk(0%, 67.1%, 6.6%, 70.2%)
CIE-LABlab(18.74, 30.66, -17.22)
CIE-LCHlch(18.74, 35.16, 330.68°)
OKLaboklab(31.24% 0.0876 -0.0472)
OKLCHoklch(31.24% 0.099 331.7)
XYZxyz(4.4654, 2.6870, 6.2435)
Luminance0.0269 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C1947 #194C1E
analogous
#37194C #4C1947 #4C192E
triadic
#4C1947 #474C19 #19474C
tetradic
#4C1947 #4C3719 #194C1E #192E4C
square
#4C1947 #4C3719 #194C1E #192E4C
split-complementary
#4C1947 #2E4C19 #194C37
monochromatic
#170816 #1E0A1C #4C1947 #7A2872 #A8379D

Accessibility & contrast

On white

13.66
#4C1947 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#4C1947 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C1947
13.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C1947#FFFFFF#000000##FFFFFF
##4C19471.0013.661.5413.66
#FFFFFF13.661.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#172948
Deuteranopia (green-blind)
#273046
Tritanopia (blue-blind)
#4F1E2D
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #4c1947;
/* rgb */ color: rgb(76, 25, 71);
/* oklch */ color: oklch(31.2% 0.099 331.7);
Tailwind
colors: {
  custom: {
    50: '#805a7a',
    500: '#4c1947',
    950: '#000000',
  },
}
SCSS
$custom: #4c1947;
$custom-light: #805a7a;
$custom-dark: #000000;
JSON
{
  "hex": "#4c1947",
  "rgb": {
    "r": 76,
    "g": 25,
    "b": 71
  },
  "hsl": {
    "h": 305.882,
    "s": 50.495,
    "l": 19.804
  },
  "oklch": {
    "l": 0.3124,
    "c": 0.09946,
    "h": 331.7
  },
  "luminance": 0.02687
}

Semantic roles & 50–950 ramp

primary
#4C1947
secondary
#3E8245
accent
#DA5C4E
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0A0409
muted
#7C797B

Preview Lab

Preview with #4C1947

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

Preview Lab → · Contrast checker → · Palette generator →

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