#4C3E91#4C3E91

#4C3E91 is a dark, vivid violet. Relative luminance 0.070; OKLCH L 42.4% C 0.132 H 287.1°. Best body text is #FFFFFF at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#4C3E91
RGBrgb(76, 62, 145)
HSLhsl(250, 40%, 41%)
HSVhsv(250, 57%, 57%)
CMYKcmyk(47.6%, 57.2%, 0%, 43.1%)
CIE-LABlab(31.87, 28.24, -44.08)
CIE-LCHlch(31.87, 52.35, 302.65°)
OKLaboklab(42.43% 0.0388 -0.1257)
OKLCHoklch(42.43% 0.132 287.1)
XYZxyz(9.8125, 7.0257, 27.6216)
Luminance0.0703 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C3E91 #83913E
analogous
#3E5A91 #4C3E91 #753E91
triadic
#4C3E91 #914C3E #3E914C
tetradic
#4C3E91 #913E5A #83913E #3E9175
square
#4C3E91 #913E5A #83913E #3E9175
split-complementary
#4C3E91 #91753E #5A913E
monochromatic
#1F193B #362C66 #4C3E91 #6656B7 #8D80C9

Accessibility & contrast

On white

8.73
#4C3E91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#4C3E91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C3E91
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C3E91#FFFFFF#000000##FFFFFF
##4C3E911.008.732.418.73
#FFFFFF8.731.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C4D94
Deuteranopia (green-blind)
#0B498F
Tritanopia (blue-blind)
#365061
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4c3e91;
/* rgb */ color: rgb(76, 62, 145);
/* oklch */ color: oklch(42.4% 0.132 287.1);
Tailwind
colors: {
  custom: {
    50: '#8373b2',
    500: '#4c3e91',
    950: '#000000',
  },
}
SCSS
$custom: #4c3e91;
$custom-light: #8373b2;
$custom-dark: #000000;
JSON
{
  "hex": "#4c3e91",
  "rgb": {
    "r": 76,
    "g": 62,
    "b": 145
  },
  "hsl": {
    "h": 250.12,
    "s": 40.097,
    "l": 40.588
  },
  "oklch": {
    "l": 0.42427,
    "c": 0.13158,
    "h": 287.1
  },
  "luminance": 0.07026
}

Semantic roles & 50–950 ramp

primary
#4C3E91
secondary
#A9B378
accent
#D058BC
background
#F8F7FB
surface
#EFEDF6
border
#CAC8D0
text
#0B0811
muted
#7C7B80

Preview Lab

Preview with #4C3E91

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

Preview Lab → · Contrast checker → · Palette generator →

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