#4C1E9F#4C1E9F

#4C1E9F is a dark, vivid violet. Relative luminance 0.050; OKLCH L 39.0% C 0.188 H 291.1°. Best body text is #FFFFFF at 10.53:1 contrast (WCAG AA passes).

Color values

HEX#4C1E9F
RGBrgb(76, 30, 159)
HSLhsl(261, 68%, 37%)
HSVhsv(261, 81%, 62%)
CMYKcmyk(52.2%, 81.1%, 0%, 37.6%)
CIE-LABlab(26.64, 49.86, -61.15)
CIE-LCHlch(26.64, 78.90, 309.19°)
OKLaboklab(39.04% 0.0678 -0.1757)
OKLCHoklch(39.04% 0.188 291.1)
XYZxyz(9.7010, 4.9678, 33.2419)
Luminance0.0497 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C1E9F #719F1E
analogous
#1E319F #4C1E9F #8C1E9F
triadic
#4C1E9F #9F4C1E #1E9F4C
tetradic
#4C1E9F #9F1E31 #719F1E #1E9F8C
square
#4C1E9F #9F1E31 #719F1E #1E9F8C
split-complementary
#4C1E9F #9F8C1E #319F1E
monochromatic
#1B0B38 #33146C #4C1E9F #6528D2 #8858DF

Accessibility & contrast

On white

10.53
#4C1E9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#4C1E9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C1E9F
10.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C1E9F#FFFFFF#000000##FFFFFF
##4C1E9F1.0010.531.9910.53
#FFFFFF10.531.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A3
Deuteranopia (green-blind)
#003C9D
Tritanopia (blue-blind)
#2E445F
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #4c1e9f;
/* rgb */ color: rgb(76, 30, 159);
/* oklch */ color: oklch(39.0% 0.188 291.1);
Tailwind
colors: {
  custom: {
    50: '#8861bd',
    500: '#4c1e9f',
    950: '#000000',
  },
}
SCSS
$custom: #4c1e9f;
$custom-light: #8861bd;
$custom-dark: #000000;
JSON
{
  "hex": "#4c1e9f",
  "rgb": {
    "r": 76,
    "g": 30,
    "b": 159
  },
  "hsl": {
    "h": 261.395,
    "s": 68.254,
    "l": 37.059
  },
  "oklch": {
    "l": 0.39041,
    "c": 0.18836,
    "h": 291.1
  },
  "luminance": 0.04968
}

Semantic roles & 50–950 ramp

primary
#4C1E9F
secondary
#9CC356
accent
#EB3DAD
background
#F8F5FB
surface
#F0EAF7
border
#CBC6D0
text
#0C0512
muted
#7D7981

Preview Lab

Preview with #4C1E9F

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

Preview Lab → · Contrast checker → · Palette generator →

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