#4E2C91#4E2C91

#4E2C91 is a dark, vivid violet. Relative luminance 0.055; OKLCH L 39.7% C 0.157 H 293.4°. Best body text is #FFFFFF at 10.03:1 contrast (WCAG AA passes).

Color values

HEX#4E2C91
RGBrgb(78, 44, 145)
HSLhsl(260, 53%, 37%)
HSVhsv(260, 70%, 57%)
CMYKcmyk(46.2%, 69.7%, 0%, 43.1%)
CIE-LABlab(28.02, 39.43, -50.30)
CIE-LCHlch(28.02, 63.91, 308.09°)
OKLaboklab(39.67% 0.0623 -0.144)
OKLCHoklch(39.67% 0.157 293.4)
XYZxyz(9.1520, 5.4651, 27.3552)
Luminance0.0546 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2C91 #6F912C
analogous
#2C3D91 #4E2C91 #812C91
triadic
#4E2C91 #914E2C #2C914E
tetradic
#4E2C91 #912C3D #6F912C #2C9181
square
#4E2C91 #912C3D #6F912C #2C9181
split-complementary
#4E2C91 #91812C #3D912C
monochromatic
#1B1033 #351E62 #4E2C91 #673AC0 #8A67D1

Accessibility & contrast

On white

10.03
#4E2C91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#4E2C91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2C91
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2C91#FFFFFF#000000##FFFFFF
##4E2C911.0010.032.0910.03
#FFFFFF10.031.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004394
Deuteranopia (green-blind)
#00408F
Tritanopia (blue-blind)
#3B455B
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4e2c91;
/* rgb */ color: rgb(78, 44, 145);
/* oklch */ color: oklch(39.7% 0.157 293.4);
Tailwind
colors: {
  custom: {
    50: '#8668b2',
    500: '#4e2c91',
    950: '#000000',
  },
}
SCSS
$custom: #4e2c91;
$custom-light: #8668b2;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2c91",
  "rgb": {
    "r": 78,
    "g": 44,
    "b": 145
  },
  "hsl": {
    "h": 260.198,
    "s": 53.439,
    "l": 37.059
  },
  "oklch": {
    "l": 0.39675,
    "c": 0.15684,
    "h": 293.4
  },
  "luminance": 0.05465
}

Semantic roles & 50–950 ramp

primary
#4E2C91
secondary
#9AB762
accent
#DD4BAC
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #4E2C91

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

Preview Lab → · Contrast checker → · Palette generator →

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