#4E2B8E#4E2B8E

#4E2B8E is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.3% C 0.154 H 294.4°. Best body text is #FFFFFF at 10.19:1 contrast (WCAG AA passes).

Color values

HEX#4E2B8E
RGBrgb(78, 43, 142)
HSLhsl(261, 54%, 36%)
HSVhsv(261, 70%, 56%)
CMYKcmyk(45.1%, 69.7%, 0%, 44.3%)
CIE-LABlab(27.57, 39.12, -49.18)
CIE-LCHlch(27.57, 62.84, 308.50°)
OKLaboklab(39.28% 0.0638 -0.1406)
OKLCHoklch(39.28% 0.154 294.4)
XYZxyz(8.8869, 5.3002, 26.1408)
Luminance0.0530 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2B8E #6B8E2B
analogous
#2B3A8E #4E2B8E #802B8E
triadic
#4E2B8E #8E4E2B #2B8E4E
tetradic
#4E2B8E #8E2B3A #6B8E2B #2B8E80
square
#4E2B8E #8E2B3A #6B8E2B #2B8E80
split-complementary
#4E2B8E #8E802B #3A8E2B
monochromatic
#1A0F30 #341D5F #4E2B8E #6839BD #8A63D0

Accessibility & contrast

On white

10.19
#4E2B8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#4E2B8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2B8E
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2B8E#FFFFFF#000000##FFFFFF
##4E2B8E1.0010.192.0610.19
#FFFFFF10.191.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004291
Deuteranopia (green-blind)
#003F8C
Tritanopia (blue-blind)
#3C4359
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4e2b8e;
/* rgb */ color: rgb(78, 43, 142);
/* oklch */ color: oklch(39.3% 0.154 294.4);
Tailwind
colors: {
  custom: {
    50: '#8567b0',
    500: '#4e2b8e',
    950: '#000000',
  },
}
SCSS
$custom: #4e2b8e;
$custom-light: #8567b0;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2b8e",
  "rgb": {
    "r": 78,
    "g": 43,
    "b": 142
  },
  "hsl": {
    "h": 261.212,
    "s": 53.514,
    "l": 36.275
  },
  "oklch": {
    "l": 0.39277,
    "c": 0.15444,
    "h": 294.4
  },
  "luminance": 0.053
}

Semantic roles & 50–950 ramp

primary
#4E2B8E
secondary
#97B65F
accent
#DD4BA9
background
#F8F6FA
surface
#F0EBF5
border
#CBC6CF
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #4E2B8E

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

Preview Lab → · Contrast checker → · Palette generator →

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