#4E2D91#4E2D91

#4E2D91 is a dark, vivid violet. Relative luminance 0.055; OKLCH L 39.8% C 0.156 H 293.2°. Best body text is #FFFFFF at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#4E2D91
RGBrgb(78, 45, 145)
HSLhsl(260, 53%, 37%)
HSVhsv(260, 69%, 57%)
CMYKcmyk(46.2%, 69%, 0%, 43.1%)
CIE-LABlab(28.22, 38.87, -49.97)
CIE-LCHlch(28.22, 63.31, 307.88°)
OKLaboklab(39.82% 0.0612 -0.143)
OKLCHoklch(39.82% 0.156 293.2)
XYZxyz(9.1897, 5.5405, 27.3678)
Luminance0.0554 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2D91 #70912D
analogous
#2D3E91 #4E2D91 #802D91
triadic
#4E2D91 #914E2D #2D914E
tetradic
#4E2D91 #912D3E #70912D #2D9180
square
#4E2D91 #912D3E #70912D #2D9180
split-complementary
#4E2D91 #91802D #3E912D
monochromatic
#1C1034 #351F62 #4E2D91 #673BC0 #8B68D0

Accessibility & contrast

On white

9.96
#4E2D91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#4E2D91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2D91
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2D91#FFFFFF#000000##FFFFFF
##4E2D911.009.962.119.96
#FFFFFF9.961.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004494
Deuteranopia (green-blind)
#00418F
Tritanopia (blue-blind)
#3A455B
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #4e2d91;
/* rgb */ color: rgb(78, 45, 145);
/* oklch */ color: oklch(39.8% 0.156 293.2);
Tailwind
colors: {
  custom: {
    50: '#8668b2',
    500: '#4e2d91',
    950: '#000000',
  },
}
SCSS
$custom: #4e2d91;
$custom-light: #8668b2;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2d91",
  "rgb": {
    "r": 78,
    "g": 45,
    "b": 145
  },
  "hsl": {
    "h": 259.8,
    "s": 52.632,
    "l": 37.255
  },
  "oklch": {
    "l": 0.39819,
    "c": 0.15555,
    "h": 293.2
  },
  "luminance": 0.05541
}

Semantic roles & 50–950 ramp

primary
#4E2D91
secondary
#9BB763
accent
#DC4CAC
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #4E2D91

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

Preview Lab → · Contrast checker → · Palette generator →

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