#4C1E73#4C1E73

#4C1E73 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.0% C 0.139 H 304.9°. Best body text is #FFFFFF at 12.06:1 contrast (WCAG AA passes).

Color values

HEX#4C1E73
RGBrgb(76, 30, 115)
HSLhsl(272, 59%, 28%)
HSVhsv(272, 74%, 45%)
CMYKcmyk(33.9%, 73.9%, 0%, 54.9%)
CIE-LABlab(22.66, 38.22, -40.15)
CIE-LCHlch(22.66, 55.43, 313.59°)
OKLaboklab(35.03% 0.0796 -0.1141)
OKLCHoklch(35.03% 0.139 304.9)
XYZxyz(6.5386, 3.7029, 16.5866)
Luminance0.0370 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C1E73 #45731E
analogous
#211E73 #4C1E73 #731E6F
triadic
#4C1E73 #734C1E #1E734C
tetradic
#4C1E73 #73211E #45731E #1E6F73
square
#4C1E73 #73211E #45731E #1E6F73
split-complementary
#4C1E73 #6F731E #1E7321
monochromatic
#100618 #2C1142 #4C1E73 #6C2BA4 #8C3FCD

Accessibility & contrast

On white

12.06
#4C1E73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#4C1E73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C1E73
12.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C1E73#FFFFFF#000000##FFFFFF
##4C1E731.0012.061.7412.06
#FFFFFF12.061.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003575
Deuteranopia (green-blind)
#003671
Tritanopia (blue-blind)
#453246
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #4c1e73;
/* rgb */ color: rgb(76, 30, 115);
/* oklch */ color: oklch(35.0% 0.139 304.9);
Tailwind
colors: {
  custom: {
    50: '#825e9c',
    500: '#4c1e73',
    950: '#000000',
  },
}
SCSS
$custom: #4c1e73;
$custom-light: #825e9c;
$custom-dark: #000000;
JSON
{
  "hex": "#4c1e73",
  "rgb": {
    "r": 76,
    "g": 30,
    "b": 115
  },
  "hsl": {
    "h": 272.471,
    "s": 58.621,
    "l": 28.431
  },
  "oklch": {
    "l": 0.35027,
    "c": 0.13916,
    "h": 304.9
  },
  "luminance": 0.03703
}

Semantic roles & 50–950 ramp

primary
#4C1E73
secondary
#72A746
accent
#E2468D
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B050E
muted
#7C797E

Preview Lab

Preview with #4C1E73

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

Preview Lab → · Contrast checker → · Palette generator →

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