#4E1BB4#4E1BB4

#4E1BB4 is a dark, highly saturated violet. Relative luminance 0.057; OKLCH L 41.1% C 0.213 H 287.8°. Best body text is #FFFFFF at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#4E1BB4
RGBrgb(78, 27, 180)
HSLhsl(260, 74%, 41%)
HSVhsv(260, 85%, 71%)
CMYKcmyk(56.7%, 85%, 0%, 29.4%)
CIE-LABlab(28.64, 56.81, -70.51)
CIE-LCHlch(28.64, 90.55, 308.86°)
OKLaboklab(41.11% 0.0652 -0.203)
OKLCHoklch(41.11% 0.213 287.8)
XYZxyz(11.7696, 5.6982, 43.6509)
Luminance0.0570 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1BB4 #81B41B
analogous
#1B34B4 #4E1BB4 #9A1BB4
triadic
#4E1BB4 #B44E1B #1BB44E
tetradic
#4E1BB4 #B41B34 #81B41B #1BB49A
square
#4E1BB4 #B41B34 #81B41B #1BB49A
split-complementary
#4E1BB4 #B49A1B #34B41B
monochromatic
#200B4A #37137F #4E1BB4 #682DDF #8E62E7

Accessibility & contrast

On white

9.81
#4E1BB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#4E1BB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1BB4
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1BB4#FFFFFF#000000##FFFFFF
##4E1BB41.009.812.149.81
#FFFFFF9.811.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047B8
Deuteranopia (green-blind)
#003FB1
Tritanopia (blue-blind)
#1E4C6B
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #4e1bb4;
/* rgb */ color: rgb(78, 27, 180);
/* oklch */ color: oklch(41.1% 0.213 287.8);
Tailwind
colors: {
  custom: {
    50: '#8c61cc',
    500: '#4e1bb4',
    950: '#000000',
  },
}
SCSS
$custom: #4e1bb4;
$custom-light: #8c61cc;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1bb4",
  "rgb": {
    "r": 78,
    "g": 27,
    "b": 180
  },
  "hsl": {
    "h": 260,
    "s": 73.913,
    "l": 40.588
  },
  "oklch": {
    "l": 0.41113,
    "c": 0.21319,
    "h": 287.8
  },
  "luminance": 0.05699
}

Semantic roles & 50–950 ramp

primary
#4E1BB4
secondary
#A8CC5F
accent
#F137B3
background
#F9F6FC
surface
#F2EBF9
border
#CCC6D2
text
#0D0514
muted
#7E7A82

Preview Lab

Preview with #4E1BB4

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

Preview Lab → · Contrast checker → · Palette generator →

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