#4C1850#4C1850

#4C1850 is a dark, moderate purple. Relative luminance 0.028; OKLCH L 31.7% C 0.110 H 324.8°. Best body text is #FFFFFF at 13.52:1 contrast (WCAG AA passes).

Color values

HEX#4C1850
RGBrgb(76, 24, 80)
HSLhsl(296, 54%, 20%)
HSVhsv(296, 70%, 31%)
CMYKcmyk(5%, 70%, 0%, 68.6%)
CIE-LABlab(19.09, 32.97, -22.81)
CIE-LCHlch(19.09, 40.09, 325.32°)
OKLaboklab(31.67% 0.0898 -0.0633)
OKLCHoklch(31.67% 0.11 324.8)
XYZxyz(4.7550, 2.7692, 7.8719)
Luminance0.0277 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C1850 #1C5018
analogous
#301850 #4C1850 #501838
triadic
#4C1850 #504C18 #18504C
tetradic
#4C1850 #503018 #1C5018 #183850
square
#4C1850 #503018 #1C5018 #183850
split-complementary
#4C1850 #385018 #185030
monochromatic
#160718 #1F0A21 #4C1850 #79267F #A534AE

Accessibility & contrast

On white

13.52
#4C1850 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#4C1850 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C1850
13.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C1850#FFFFFF#000000##FFFFFF
##4C18501.0013.521.5513.52
#FFFFFF13.521.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D2A52
Deuteranopia (green-blind)
#22314F
Tritanopia (blue-blind)
#4E2031
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #4c1850;
/* rgb */ color: rgb(76, 24, 80);
/* oklch */ color: oklch(31.7% 0.110 324.8);
Tailwind
colors: {
  custom: {
    50: '#805981',
    500: '#4c1850',
    950: '#000000',
  },
}
SCSS
$custom: #4c1850;
$custom-light: #805981;
$custom-dark: #000000;
JSON
{
  "hex": "#4c1850",
  "rgb": {
    "r": 76,
    "g": 24,
    "b": 80
  },
  "hsl": {
    "h": 295.714,
    "s": 53.846,
    "l": 20.392
  },
  "oklch": {
    "l": 0.31667,
    "c": 0.10985,
    "h": 324.8
  },
  "luminance": 0.02769
}

Semantic roles & 50–950 ramp

primary
#4C1850
secondary
#42873D
accent
#DD4B55
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0A040A
muted
#7C797C

Preview Lab

Preview with #4C1850

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

Preview Lab → · Contrast checker → · Palette generator →

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