#4C1E89#4C1E89

#4C1E89 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 36.9% C 0.164 H 297.1°. Best body text is #FFFFFF at 11.33:1 contrast (WCAG AA passes).

Color values

HEX#4C1E89
RGBrgb(76, 30, 137)
HSLhsl(266, 64%, 33%)
HSVhsv(266, 78%, 54%)
CMYKcmyk(44.5%, 78.1%, 0%, 46.3%)
CIE-LABlab(24.55, 43.97, -51.02)
CIE-LCHlch(24.55, 67.35, 310.76°)
OKLaboklab(36.94% 0.0746 -0.1461)
OKLCHoklch(36.94% 0.164 297.1)
XYZxyz(7.9589, 4.2710, 24.0671)
Luminance0.0427 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C1E89 #5B891E
analogous
#1E2689 #4C1E89 #811E89
triadic
#4C1E89 #894C1E #1E894C
tetradic
#4C1E89 #891E26 #5B891E #1E8981
square
#4C1E89 #891E26 #5B891E #1E8981
split-complementary
#4C1E89 #89811E #26891E
monochromatic
#140825 #301357 #4C1E89 #6829BB #874AD7

Accessibility & contrast

On white

11.33
#4C1E89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#4C1E89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C1E89
11.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C1E89#FFFFFF#000000##FFFFFF
##4C1E891.0011.331.8511.33
#FFFFFF11.331.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B8C
Deuteranopia (green-blind)
#003987
Tritanopia (blue-blind)
#3C3B52
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #4c1e89;
/* rgb */ color: rgb(76, 30, 137);
/* oklch */ color: oklch(36.9% 0.164 297.1);
Tailwind
colors: {
  custom: {
    50: '#845fac',
    500: '#4c1e89',
    950: '#000000',
  },
}
SCSS
$custom: #4c1e89;
$custom-light: #845fac;
$custom-dark: #000000;
JSON
{
  "hex": "#4c1e89",
  "rgb": {
    "r": 76,
    "g": 30,
    "b": 137
  },
  "hsl": {
    "h": 265.794,
    "s": 64.072,
    "l": 32.745
  },
  "oklch": {
    "l": 0.36944,
    "c": 0.16399,
    "h": 297.1
  },
  "luminance": 0.04271
}

Semantic roles & 50–950 ramp

primary
#4C1E89
secondary
#89BA49
accent
#E741A0
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #4C1E89

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

Preview Lab → · Contrast checker → · Palette generator →

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