#4C1E95#4C1E95

#4C1E95 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 38.1% C 0.177 H 293.6°. Best body text is #FFFFFF at 10.90:1 contrast (WCAG AA passes).

Color values

HEX#4C1E95
RGBrgb(76, 30, 149)
HSLhsl(263, 66%, 35%)
HSVhsv(263, 80%, 58%)
CMYKcmyk(49%, 79.9%, 0%, 41.6%)
CIE-LABlab(25.67, 47.18, -56.62)
CIE-LCHlch(25.67, 73.70, 309.80°)
OKLaboklab(38.07% 0.071 -0.1625)
OKLCHoklch(38.07% 0.177 293.6)
XYZxyz(8.8681, 4.6347, 28.8553)
Luminance0.0464 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C1E95 #67951E
analogous
#1E2C95 #4C1E95 #871E95
triadic
#4C1E95 #954C1E #1E954C
tetradic
#4C1E95 #951E2C #67951E #1E9587
square
#4C1E95 #951E2C #67951E #1E9587
split-complementary
#4C1E95 #95871E #2C951E
monochromatic
#18092F #321462 #4C1E95 #6628C8 #8751DC

Accessibility & contrast

On white

10.90
#4C1E95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#4C1E95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C1E95
10.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C1E95#FFFFFF#000000##FFFFFF
##4C1E951.0010.901.9310.90
#FFFFFF10.901.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E98
Deuteranopia (green-blind)
#003B93
Tritanopia (blue-blind)
#354059
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #4c1e95;
/* rgb */ color: rgb(76, 30, 149);
/* oklch */ color: oklch(38.1% 0.177 293.6);
Tailwind
colors: {
  custom: {
    50: '#8660b5',
    500: '#4c1e95',
    950: '#000000',
  },
}
SCSS
$custom: #4c1e95;
$custom-light: #8660b5;
$custom-dark: #000000;
JSON
{
  "hex": "#4c1e95",
  "rgb": {
    "r": 76,
    "g": 30,
    "b": 149
  },
  "hsl": {
    "h": 263.193,
    "s": 66.48,
    "l": 35.098
  },
  "oklch": {
    "l": 0.38068,
    "c": 0.17735,
    "h": 293.6
  },
  "luminance": 0.04635
}

Semantic roles & 50–950 ramp

primary
#4C1E95
secondary
#94BF50
accent
#E93EA7
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #4C1E95

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

Preview Lab → · Contrast checker → · Palette generator →

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