#4C0E4F#4C0E4F

#4C0E4F is a dark, vivid purple. Relative luminance 0.024; OKLCH L 30.5% C 0.122 H 326.0°. Best body text is #FFFFFF at 14.16:1 contrast (WCAG AA passes).

Color values

HEX#4C0E4F
RGBrgb(76, 14, 79)
HSLhsl(297, 70%, 18%)
HSVhsv(297, 82%, 31%)
CMYKcmyk(3.8%, 82.3%, 0%, 69%)
CIE-LABlab(17.53, 37.00, -24.61)
CIE-LCHlch(17.53, 44.44, 326.37°)
OKLaboklab(30.52% 0.1016 -0.0685)
OKLCHoklch(30.52% 0.122 326)
XYZxyz(4.5487, 2.4154, 7.6223)
Luminance0.0242 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C0E4F #114F0E
analogous
#2B0E4F #4C0E4F #4F0E31
triadic
#4C0E4F #4F4C0E #0E4F4C
tetradic
#4C0E4F #4F2B0E #114F0E #0E314F
square
#4C0E4F #4F2B0E #114F0E #0E314F
split-complementary
#4C0E4F #314F0E #0E4F2B
monochromatic
#19051A #1A051B #4C0E4F #7E1783 #B020B7

Accessibility & contrast

On white

14.16
#4C0E4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#4C0E4F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C0E4F
14.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C0E4F#FFFFFF#000000##FFFFFF
##4C0E4F1.0014.161.4814.16
#FFFFFF14.161.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002651
Deuteranopia (green-blind)
#1D2E4D
Tritanopia (blue-blind)
#4E192E
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #4c0e4f;
/* rgb */ color: rgb(76, 14, 79);
/* oklch */ color: oklch(30.5% 0.122 326.0);
Tailwind
colors: {
  custom: {
    50: '#815581',
    500: '#4c0e4f',
    950: '#000000',
  },
}
SCSS
$custom: #4c0e4f;
$custom-light: #815581;
$custom-dark: #000000;
JSON
{
  "hex": "#4c0e4f",
  "rgb": {
    "r": 76,
    "g": 14,
    "b": 79
  },
  "hsl": {
    "h": 297.231,
    "s": 69.892,
    "l": 18.235
  },
  "oklch": {
    "l": 0.30524,
    "c": 0.12247,
    "h": 326
  },
  "luminance": 0.02415
}

Semantic roles & 50–950 ramp

primary
#4C0E4F
secondary
#338A2F
accent
#ED3B43
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B030A
muted
#7C787C

Preview Lab

Preview with #4C0E4F

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

Preview Lab → · Contrast checker → · Palette generator →

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