#4E1BA0#4E1BA0

#4E1BA0 is a dark, vivid violet. Relative luminance 0.049; OKLCH L 39.1% C 0.192 H 292.2°. Best body text is #FFFFFF at 10.56:1 contrast (WCAG AA passes).

Color values

HEX#4E1BA0
RGBrgb(78, 27, 160)
HSLhsl(263, 71%, 37%)
HSVhsv(263, 83%, 63%)
CMYKcmyk(51.2%, 83.1%, 0%, 37.3%)
CIE-LABlab(26.57, 51.59, -61.87)
CIE-LCHlch(26.57, 80.56, 309.82°)
OKLaboklab(39.07% 0.0726 -0.1778)
OKLCHoklch(39.07% 0.192 292.2)
XYZxyz(9.8772, 4.9413, 33.6842)
Luminance0.0494 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1BA0 #6DA01B
analogous
#1B2AA0 #4E1BA0 #911BA0
triadic
#4E1BA0 #A04E1B #1BA04E
tetradic
#4E1BA0 #A01B2A #6DA01B #1BA091
square
#4E1BA0 #A01B2A #6DA01B #1BA091
split-complementary
#4E1BA0 #A0911B #2AA01B
monochromatic
#1B0937 #34126C #4E1BA0 #6824D4 #8A53E2

Accessibility & contrast

On white

10.56
#4E1BA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#4E1BA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1BA0
10.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1BA0#FFFFFF#000000##FFFFFF
##4E1BA01.0010.561.9910.56
#FFFFFF10.561.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A4
Deuteranopia (green-blind)
#003C9E
Tritanopia (blue-blind)
#32435F
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #4e1ba0;
/* rgb */ color: rgb(78, 27, 160);
/* oklch */ color: oklch(39.1% 0.192 292.2);
Tailwind
colors: {
  custom: {
    50: '#895fbd',
    500: '#4e1ba0',
    950: '#000000',
  },
}
SCSS
$custom: #4e1ba0;
$custom-light: #895fbd;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1ba0",
  "rgb": {
    "r": 78,
    "g": 27,
    "b": 160
  },
  "hsl": {
    "h": 263.008,
    "s": 71.123,
    "l": 36.667
  },
  "oklch": {
    "l": 0.39073,
    "c": 0.19202,
    "h": 292.2
  },
  "luminance": 0.04942
}

Semantic roles & 50–950 ramp

primary
#4E1BA0
secondary
#99C552
accent
#EE3AA9
background
#F8F5FB
surface
#F0EAF7
border
#CBC6D0
text
#0D0512
muted
#7D7981

Preview Lab

Preview with #4E1BA0

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

Preview Lab → · Contrast checker → · Palette generator →

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