#4E2B90#4E2B90

#4E2B90 is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.4% C 0.157 H 293.9°. Best body text is #FFFFFF at 10.13:1 contrast (WCAG AA passes).

Color values

HEX#4E2B90
RGBrgb(78, 43, 144)
HSLhsl(261, 54%, 37%)
HSVhsv(261, 70%, 56%)
CMYKcmyk(45.8%, 70.1%, 0%, 43.5%)
CIE-LABlab(27.74, 39.69, -50.14)
CIE-LCHlch(27.74, 63.95, 308.36°)
OKLaboklab(39.45% 0.0635 -0.1435)
OKLCHoklch(39.45% 0.157 293.9)
XYZxyz(9.0384, 5.3608, 26.9387)
Luminance0.0536 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2B90 #6D902B
analogous
#2B3B90 #4E2B90 #812B90
triadic
#4E2B90 #904E2B #2B904E
tetradic
#4E2B90 #902B3B #6D902B #2B9081
square
#4E2B90 #902B3B #6D902B #2B9081
split-complementary
#4E2B90 #90812B #3B902B
monochromatic
#1B0F32 #341D61 #4E2B90 #6839BF #8A65D1

Accessibility & contrast

On white

10.13
#4E2B90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#4E2B90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2B90
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2B90#FFFFFF#000000##FFFFFF
##4E2B901.0010.132.0710.13
#FFFFFF10.131.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004393
Deuteranopia (green-blind)
#00408E
Tritanopia (blue-blind)
#3B445A
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4e2b90;
/* rgb */ color: rgb(78, 43, 144);
/* oklch */ color: oklch(39.4% 0.157 293.9);
Tailwind
colors: {
  custom: {
    50: '#8667b1',
    500: '#4e2b90',
    950: '#000000',
  },
}
SCSS
$custom: #4e2b90;
$custom-light: #8667b1;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2b90",
  "rgb": {
    "r": 78,
    "g": 43,
    "b": 144
  },
  "hsl": {
    "h": 260.792,
    "s": 54.011,
    "l": 36.667
  },
  "oklch": {
    "l": 0.39447,
    "c": 0.1569,
    "h": 293.9
  },
  "luminance": 0.05361
}

Semantic roles & 50–950 ramp

primary
#4E2B90
secondary
#99B760
accent
#DD4AAA
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #4E2B90

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

Preview Lab → · Contrast checker → · Palette generator →

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