#4C1E83#4C1E83

#4C1E83 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.4% C 0.157 H 299.0°. Best body text is #FFFFFF at 11.53:1 contrast (WCAG AA passes).

Color values

HEX#4C1E83
RGBrgb(76, 30, 131)
HSLhsl(267, 63%, 32%)
HSVhsv(267, 77%, 51%)
CMYKcmyk(42%, 77.1%, 0%, 48.6%)
CIE-LABlab(24.01, 42.38, -48.13)
CIE-LCHlch(24.01, 64.13, 311.37°)
OKLaboklab(36.4% 0.0762 -0.1376)
OKLCHoklch(36.4% 0.157 299)
XYZxyz(7.5405, 4.1036, 21.8631)
Luminance0.0410 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C1E83 #55831E
analogous
#1E2283 #4C1E83 #7F1E83
triadic
#4C1E83 #834C1E #1E834C
tetradic
#4C1E83 #831E22 #55831E #1E837F
square
#4C1E83 #831E22 #55831E #1E837F
split-complementary
#4C1E83 #837F1E #22831E
monochromatic
#12071F #2F1351 #4C1E83 #6929B5 #8747D5

Accessibility & contrast

On white

11.53
#4C1E83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#4C1E83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C1E83
11.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C1E83#FFFFFF#000000##FFFFFF
##4C1E831.0011.531.8211.53
#FFFFFF11.531.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003986
Deuteranopia (green-blind)
#003881
Tritanopia (blue-blind)
#3F384F
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #4c1e83;
/* rgb */ color: rgb(76, 30, 131);
/* oklch */ color: oklch(36.4% 0.157 299.0);
Tailwind
colors: {
  custom: {
    50: '#845fa8',
    500: '#4c1e83',
    950: '#000000',
  },
}
SCSS
$custom: #4c1e83;
$custom-light: #845fa8;
$custom-dark: #000000;
JSON
{
  "hex": "#4c1e83",
  "rgb": {
    "r": 76,
    "g": 30,
    "b": 131
  },
  "hsl": {
    "h": 267.327,
    "s": 62.733,
    "l": 31.569
  },
  "oklch": {
    "l": 0.36401,
    "c": 0.15726,
    "h": 299
  },
  "luminance": 0.04104
}

Semantic roles & 50–950 ramp

primary
#4C1E83
secondary
#83B647
accent
#E6429B
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #4C1E83

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

Preview Lab → · Contrast checker → · Palette generator →

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