#4E2AB0#4E2AB0

#4E2AB0 is a dark, vivid violet. Relative luminance 0.064; OKLCH L 42.2% C 0.196 H 286.9°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#4E2AB0
RGBrgb(78, 42, 176)
HSLhsl(256, 61%, 43%)
HSVhsv(256, 76%, 69%)
CMYKcmyk(55.7%, 76.1%, 0%, 31%)
CIE-LABlab(30.42, 49.36, -65.18)
CIE-LCHlch(30.42, 81.76, 307.14°)
OKLaboklab(42.23% 0.0571 -0.1876)
OKLCHoklch(42.23% 0.196 286.9)
XYZxyz(11.8040, 6.4096, 41.6811)
Luminance0.0641 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2AB0 #8CB02A
analogous
#2A49B0 #4E2AB0 #912AB0
triadic
#4E2AB0 #B04E2A #2AB04E
tetradic
#4E2AB0 #B02A49 #8CB02A #2AB091
square
#4E2AB0 #B02A49 #8CB02A #2AB091
split-complementary
#4E2AB0 #B0912A #49B02A
monochromatic
#22124D #381E7F #4E2AB0 #6B45D3 #9276DE

Accessibility & contrast

On white

9.20
#4E2AB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#4E2AB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2AB0
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2AB0#FFFFFF#000000##FFFFFF
##4E2AB01.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB4
Deuteranopia (green-blind)
#0044AE
Tritanopia (blue-blind)
#22506B
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #4e2ab0;
/* rgb */ color: rgb(78, 42, 176);
/* oklch */ color: oklch(42.2% 0.196 286.9);
Tailwind
colors: {
  custom: {
    50: '#8a68c9',
    500: '#4e2ab0',
    950: '#000000',
  },
}
SCSS
$custom: #4e2ab0;
$custom-light: #8a68c9;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2ab0",
  "rgb": {
    "r": 78,
    "g": 42,
    "b": 176
  },
  "hsl": {
    "h": 256.119,
    "s": 61.468,
    "l": 42.745
  },
  "oklch": {
    "l": 0.42229,
    "c": 0.19609,
    "h": 286.9
  },
  "luminance": 0.0641
}

Semantic roles & 50–950 ramp

primary
#4E2AB0
secondary
#AFC670
accent
#E543B9
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #4E2AB0

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

Preview Lab → · Contrast checker → · Palette generator →

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