#4C2591#4C2591

#4C2591 is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.5% C 0.165 H 293.6°. Best body text is #FFFFFF at 10.60:1 contrast (WCAG AA passes).

Color values

HEX#4C2591
RGBrgb(76, 37, 145)
HSLhsl(262, 59%, 36%)
HSVhsv(262, 74%, 57%)
CMYKcmyk(47.6%, 74.5%, 0%, 43.1%)
CIE-LABlab(26.46, 42.77, -52.86)
CIE-LCHlch(26.46, 68.00, 308.98°)
OKLaboklab(38.51% 0.0662 -0.1515)
OKLCHoklch(38.51% 0.165 293.6)
XYZxyz(8.7515, 4.9037, 27.2680)
Luminance0.0490 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C2591 #6A9125
analogous
#253491 #4C2591 #822591
triadic
#4C2591 #914C25 #25914C
tetradic
#4C2591 #912534 #6A9125 #259182
square
#4C2591 #912534 #6A9125 #259182
split-complementary
#4C2591 #918225 #349125
monochromatic
#190C2F #321960 #4C2591 #6631C2 #875BD5

Accessibility & contrast

On white

10.60
#4C2591 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#4C2591 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C2591
10.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C2591#FFFFFF#000000##FFFFFF
##4C25911.0010.601.9810.60
#FFFFFF10.601.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004094
Deuteranopia (green-blind)
#003D8F
Tritanopia (blue-blind)
#374159
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #4c2591;
/* rgb */ color: rgb(76, 37, 145);
/* oklch */ color: oklch(38.5% 0.165 293.6);
Tailwind
colors: {
  custom: {
    50: '#8563b2',
    500: '#4c2591',
    950: '#000000',
  },
}
SCSS
$custom: #4c2591;
$custom-light: #8563b2;
$custom-dark: #000000;
JSON
{
  "hex": "#4c2591",
  "rgb": {
    "r": 76,
    "g": 37,
    "b": 145
  },
  "hsl": {
    "h": 261.667,
    "s": 59.341,
    "l": 35.686
  },
  "oklch": {
    "l": 0.3851,
    "c": 0.16534,
    "h": 293.6
  },
  "luminance": 0.04904
}

Semantic roles & 50–950 ramp

primary
#4C2591
secondary
#97BA58
accent
#E345AA
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0511
muted
#7D7A80

Preview Lab

Preview with #4C2591

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

Preview Lab → · Contrast checker → · Palette generator →

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