#4E2191#4E2191

#4E2191 is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.3% C 0.170 H 295.4°. Best body text is #FFFFFF at 10.77:1 contrast (WCAG AA passes).

Color values

HEX#4E2191
RGBrgb(78, 33, 145)
HSLhsl(264, 63%, 35%)
HSVhsv(264, 77%, 57%)
CMYKcmyk(46.2%, 77.2%, 0%, 43.1%)
CIE-LABlab(26.01, 45.06, -53.58)
CIE-LCHlch(26.01, 70.00, 310.06°)
OKLaboklab(38.25% 0.0729 -0.1535)
OKLCHoklch(38.25% 0.17 295.4)
XYZxyz(8.7952, 4.7515, 27.2363)
Luminance0.0475 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2191 #649121
analogous
#212C91 #4E2191 #862191
triadic
#4E2191 #914E21 #21914E
tetradic
#4E2191 #91212C #649121 #219186
square
#4E2191 #91212C #649121 #219186
split-complementary
#4E2191 #918621 #2C9121
monochromatic
#180A2D #33165F #4E2191 #692CC3 #8954D8

Accessibility & contrast

On white

10.77
#4E2191 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#4E2191 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2191
10.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2191#FFFFFF#000000##FFFFFF
##4E21911.0010.771.9510.77
#FFFFFF10.771.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E94
Deuteranopia (green-blind)
#003C8F
Tritanopia (blue-blind)
#3B3F58
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #4e2191;
/* rgb */ color: rgb(78, 33, 145);
/* oklch */ color: oklch(38.3% 0.170 295.4);
Tailwind
colors: {
  custom: {
    50: '#8761b2',
    500: '#4e2191',
    950: '#000000',
  },
}
SCSS
$custom: #4e2191;
$custom-light: #8761b2;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2191",
  "rgb": {
    "r": 78,
    "g": 33,
    "b": 145
  },
  "hsl": {
    "h": 264.107,
    "s": 62.921,
    "l": 34.902
  },
  "oklch": {
    "l": 0.38253,
    "c": 0.16994,
    "h": 295.4
  },
  "luminance": 0.04752
}

Semantic roles & 50–950 ramp

primary
#4E2191
secondary
#91BC52
accent
#E642A4
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #4E2191

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

Preview Lab → · Contrast checker → · Palette generator →

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