#4C114F#4C114F

#4C114F is a dark, moderate purple. Relative luminance 0.025; OKLCH L 30.8% C 0.119 H 325.9°. Best body text is #FFFFFF at 14.00:1 contrast (WCAG AA passes).

Color values

HEX#4C114F
RGBrgb(76, 17, 79)
HSLhsl(297, 65%, 19%)
HSVhsv(297, 78%, 31%)
CMYKcmyk(3.8%, 78.5%, 0%, 69%)
CIE-LABlab(17.93, 35.86, -23.98)
CIE-LCHlch(17.93, 43.14, 326.23°)
OKLaboklab(30.81% 0.0984 -0.0666)
OKLCHoklch(30.81% 0.119 325.9)
XYZxyz(4.5921, 2.5022, 7.6367)
Luminance0.0250 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C114F #144F11
analogous
#2D114F #4C114F #4F1133
triadic
#4C114F #4F4C11 #114F4C
tetradic
#4C114F #4F2D11 #144F11 #11334F
square
#4C114F #4F2D11 #144F11 #11334F
split-complementary
#4C114F #334F11 #114F2D
monochromatic
#180519 #1C061D #4C114F #7C1C81 #AD27B4

Accessibility & contrast

On white

14.00
#4C114F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#4C114F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C114F
14.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C114F#FFFFFF#000000##FFFFFF
##4C114F1.0014.001.5014.00
#FFFFFF14.001.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#032751
Deuteranopia (green-blind)
#1F2E4D
Tritanopia (blue-blind)
#4E1B2F
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #4c114f;
/* rgb */ color: rgb(76, 17, 79);
/* oklch */ color: oklch(30.8% 0.119 325.9);
Tailwind
colors: {
  custom: {
    50: '#815680',
    500: '#4c114f',
    950: '#000000',
  },
}
SCSS
$custom: #4c114f;
$custom-light: #815680;
$custom-dark: #000000;
JSON
{
  "hex": "#4c114f",
  "rgb": {
    "r": 76,
    "g": 17,
    "b": 79
  },
  "hsl": {
    "h": 297.097,
    "s": 64.583,
    "l": 18.824
  },
  "oklch": {
    "l": 0.30807,
    "c": 0.11884,
    "h": 325.9
  },
  "luminance": 0.02502
}

Semantic roles & 50–950 ramp

primary
#4C114F
secondary
#388833
accent
#E84048
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B030A
muted
#7C787C

Preview Lab

Preview with #4C114F

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

Preview Lab → · Contrast checker → · Palette generator →

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