#4C2091#4C2091

#4C2091 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.9% C 0.171 H 294.4°. Best body text is #FFFFFF at 10.92:1 contrast (WCAG AA passes).

Color values

HEX#4C2091
RGBrgb(76, 32, 145)
HSLhsl(263, 64%, 35%)
HSVhsv(263, 78%, 57%)
CMYKcmyk(47.6%, 77.9%, 0%, 43.1%)
CIE-LABlab(25.60, 45.20, -54.26)
CIE-LCHlch(25.60, 70.62, 309.79°)
OKLaboklab(37.91% 0.0706 -0.1556)
OKLCHoklch(37.91% 0.171 294.4)
XYZxyz(8.6064, 4.6136, 27.2196)
Luminance0.0461 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C2091 #659120
analogous
#202C91 #4C2091 #852091
triadic
#4C2091 #914C20 #20914C
tetradic
#4C2091 #91202C #659120 #209185
square
#4C2091 #91202C #659120 #209185
split-complementary
#4C2091 #918520 #2C9120
monochromatic
#170A2D #32155F #4C2091 #662BC3 #8752D9

Accessibility & contrast

On white

10.92
#4C2091 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#4C2091 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C2091
10.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C2091#FFFFFF#000000##FFFFFF
##4C20911.0010.921.9210.92
#FFFFFF10.921.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E94
Deuteranopia (green-blind)
#003B8F
Tritanopia (blue-blind)
#383F57
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #4c2091;
/* rgb */ color: rgb(76, 32, 145);
/* oklch */ color: oklch(37.9% 0.171 294.4);
Tailwind
colors: {
  custom: {
    50: '#8561b2',
    500: '#4c2091',
    950: '#000000',
  },
}
SCSS
$custom: #4c2091;
$custom-light: #8561b2;
$custom-dark: #000000;
JSON
{
  "hex": "#4c2091",
  "rgb": {
    "r": 76,
    "g": 32,
    "b": 145
  },
  "hsl": {
    "h": 263.363,
    "s": 63.842,
    "l": 34.706
  },
  "oklch": {
    "l": 0.37909,
    "c": 0.17085,
    "h": 294.4
  },
  "luminance": 0.04614
}

Semantic roles & 50–950 ramp

primary
#4C2091
secondary
#92BC51
accent
#E741A6
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #4C2091

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

Preview Lab → · Contrast checker → · Palette generator →

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