#4E2B91#4E2B91

#4E2B91 is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.5% C 0.158 H 293.6°. Best body text is #FFFFFF at 10.10:1 contrast (WCAG AA passes).

Color values

HEX#4E2B91
RGBrgb(78, 43, 145)
HSLhsl(261, 54%, 37%)
HSVhsv(261, 70%, 57%)
CMYKcmyk(46.2%, 70.3%, 0%, 43.1%)
CIE-LABlab(27.82, 39.98, -50.62)
CIE-LCHlch(27.82, 64.51, 308.30°)
OKLaboklab(39.53% 0.0633 -0.1449)
OKLCHoklch(39.53% 0.158 293.6)
XYZxyz(9.1152, 5.3915, 27.3430)
Luminance0.0539 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2B91 #6E912B
analogous
#2B3B91 #4E2B91 #812B91
triadic
#4E2B91 #914E2B #2B914E
tetradic
#4E2B91 #912B3B #6E912B #2B9181
square
#4E2B91 #912B3B #6E912B #2B9181
split-complementary
#4E2B91 #91812B #3B912B
monochromatic
#1B0F33 #351D62 #4E2B91 #6739C0 #8A65D1

Accessibility & contrast

On white

10.10
#4E2B91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#4E2B91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2B91
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2B91#FFFFFF#000000##FFFFFF
##4E2B911.0010.102.0810.10
#FFFFFF10.101.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.101.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4e2b91;
/* rgb */ color: rgb(78, 43, 145);
/* oklch */ color: oklch(39.5% 0.158 293.6);
Tailwind
colors: {
  custom: {
    50: '#8667b2',
    500: '#4e2b91',
    950: '#000000',
  },
}
SCSS
$custom: #4e2b91;
$custom-light: #8667b2;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2b91",
  "rgb": {
    "r": 78,
    "g": 43,
    "b": 145
  },
  "hsl": {
    "h": 260.588,
    "s": 54.255,
    "l": 36.863
  },
  "oklch": {
    "l": 0.39533,
    "c": 0.15813,
    "h": 293.6
  },
  "luminance": 0.05392
}

Semantic roles & 50–950 ramp

primary
#4E2B91
secondary
#9AB860
accent
#DE4AAB
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #4E2B91

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

Preview Lab → · Contrast checker → · Palette generator →

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